WKInterfaceSlider action sent to table row controller results in uncaught exception

Originator:ejvaughan
Number:rdar://19153417 Date Originated:05-Dec-2014 00:01 AM
Status:Open Resolved:
Product:WatchKit Product Version:Xcode Version 6.2 (6C86e), iPhone Simulator 8.2 (12D436)
Classification: Reproducible:Always
 
In a WatchKit app that I am developing, I am embedding a WKInterfaceSlider in a table row controller and wiring the slider's action to the row controller.  However, at runtime, an uncaught exception is thrown when pressing the up/down buttons of the slider.  Here is the output from the console:

2014-12-04 23:40:23.414 SliderTest WatchKit Extension[16245:1054236] -[__NSCFNumber lengthOfBytesUsingEncoding:]: unrecognized selector sent to instance 0x7a753950
2014-12-04 23:40:23.415 SliderTest WatchKit Extension[16245:1054236] <NSXPCConnection: 0x7c551eb0> connection from pid 16209: Warning: Exception caught during invocation of received message, dropping incoming message and invalidating the connection.
Exception: -[__NSCFNumber lengthOfBytesUsingEncoding:]: unrecognized selector sent to instance 0x7a753950
2014-12-04 23:40:23.415 SliderTest WatchKit Extension[16245:1054236] host connection <NSXPCConnection: 0x7c551eb0> connection from pid 16209 invalidated

Note that I have only tested this on the iPhone Simulator.

Comments


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!