-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught exception because NSNumber sent unrecognised selector #1759
Comments
@mightyleader could you share the entire stack trace that led to that exception? Even better, do you have a project on hand that consistently causes the issue that we could take a look at? Thanks! |
Hi, Incident Identifier: D38D8CFC-6585-4A67-8943-E3DA523FCD0B Date/Time: 2015-04-13T18:29:03Z Exception Type: SIGABRT Application Specific Information: Last Exception Backtrace: Thread 0: Thread 1: Thread 2: Thread 3: Thread 4: Thread 5: Thread 6: Thread 7: Thread 8: Thread 9: Thread 10: Thread 11 Crashed: Thread 12: Thread 11 crashed with ARM-64 Thread State: Link Register Analysis: Binary Images: |
@mightyleader it looks like you're setting a string property on your realm model to an NSNumber object, which is causing it to call an unknown selector on the NSNumber ( Maybe you're deserializing JSON containing a number which you're expecting to be a string into an NSDictionary? |
@mightyleader were you ever able to confirm that you were indeed passing an NSNumber to an NSString property? We'll reopen if that's not the case. |
Hey, Rob
|
We are getting a persistent but intermittent crash caused by the selector
UTF8String
to an NSNumber.Here's the report....
RLMSetValue(RLMObjectBase*, unsigned long, NSString*)
, line 114*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber UTF8String]: unrecognized selector sent to instance 0xb000000000000053'
This is with the current shipping version 0.91, but has been happening on previous versions also.
Thanks!
The text was updated successfully, but these errors were encountered: