MSMessagesAppViewController.willSelect(message:conversation:) called with non-optional nil message

Originator:modalrealist
Number:rdar://27621557 Date Originated:29-Jul-2016
Status:Open Resolved:
Product:iPhone 5 Product Version:iOS 10 beta 3
Classification:Crash Reproducible:Always
 
Summary:
When a message is sent, an instance of MSMessagesAppViewController calls both willSelect(message:conversation:) and didSelect(message:conversation:) with a nil value for message, even though message is not an optional variable in this method. Attempting to access this variable crashes.

Steps to Reproduce:
1. Run IceCreamBuilder Messages app in debug mode (edited to print message from willSelect(message:conversation:)).
2. Build a new ice cream.
3. Send ice cream in a message.

Expected Results:
IceCreamBuilder Messages app continues functioning.

Actual Results:
IceCreamBuilder Messages app crashes.

Version:
iOS 10 beta 3

Notes:


Configuration:
iPhone 5

Attachments:
'IceCreamBuilderAsimpleMessagesappextension.zip' was successfully uploaded.

Comments

Marked Duplicate of 27581468 (Open)

By modalrealist at Sept. 1, 2016, 6:34 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!