-
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
RLMGetSwiftPropertyString(obj, key) #7941
Comments
also how about : Fatal Exception: RLMException |
@mr-grey we will investigate the |
|
What is the objective-c exception that it is throwing? Can you send the complete stack trace which would show this? |
|
also found some crash report from users @persisted var phoneNumber |
This may be related to #8463 |
How frequently does the bug occur?
Sometimes
Description
I think in old data there was set object NSNULL
from crash logs discovered:
public static func rlmGetPropertyOptional( obj: ObjectBase, _ key: PropertyKey) -> String? {
return RLMGetSwiftPropertyString(obj, key) <--- crash
}
Fatal Exception: NSInvalidArgumentException
-[NSNull _fastCStringContents:]: unrecognized selector sent to instance 0x1e19bd120
in old model was String as optional
used library UNRealm
after update to clear realm we discovered some crashes like:
Crashed: serial-queue
0 libobjc.A.dylib 0x5bd0 class_getSuperclass + 4
1 Realm 0x5cf84 RLMIsObjectSubclass + 76
2 Realm 0x13a3a0 RLMRegisterClassLocalNames(objc_class**, unsigned long) + 128
3 Realm 0x13ac08 +[RLMSchema sharedSchema] + 104
4 Realm 0x12cb90 +[RLMRealm realmWithConfiguration:queue:error:] + 1580
Stacktrace & log output
No response
Can you reproduce the bug?
Not yet
Reproduction Steps
No response
Version
10.28.2
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
iOS
Build environment
Xcode Version 13.3.1 (13E500a)
The text was updated successfully, but these errors were encountered: