-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Crash when accessing Realm ByteArray parameter multiple times #6987
Comments
Exactly how is it crashing, can you provide a full description or sample project? Also, do you have the full stack trace? The assertion is happening when trying to acquire the JNIEnv which is rather surprising. It should always be present, so some way of reproducing would be nice. |
There is no sample project to reproduce. The Application dose not crash when changing the parameter type from ByteArray to String. So I think the access to ByteArray is suspicious.
No stack trace when crashing... Only the logs described in the issue are output.
OK. I try to create sample project. |
Sorry. I couldn't make a simple sample program. |
Closing. Feel free to reopen if there is more information we can go after. |
Goal
Not crash
Actual Results
Steps & Code to Reproduce
The class is as follows.
After assigning this byteArrayParameter to a local variable and access it multiple times, Application crash.
Version of Realm and tooling
Realm version(s): 6.1.0
Realm Sync feature enabled: No
Android Studio version: 4.0
Android Build Tools version: 3.5.3
Gradle version: 6.2.1
Which Android version and device(s): Pixcel 3a - Android 10
The text was updated successfully, but these errors were encountered: