Skip to content
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

NPE on handoverQueryPointer #4086

Closed
ppamorim opened this issue Jan 20, 2017 · 3 comments
Closed

NPE on handoverQueryPointer #4086

ppamorim opened this issue Jan 20, 2017 · 3 comments
Assignees
Milestone

Comments

@ppamorim
Copy link

New random bug happended, this problem can be related with the #2021.

java.lang.NullPointerException: Attempt to invoke virtual method 'long io.realm.RealmQuery.handoverQueryPointer()' on a null object reference
  at io.realm.HandlerController.completedAsyncRealmObject(HandlerController.java:653)
  at io.realm.HandlerController.handleMessage(HandlerController.java:132)
  at android.os.Handler.dispatchMessage(Handler.java:98)
  at android.os.Looper.loop(Looper.java:135)
  at android.app.ActivityThread.main(ActivityThread.java:5343)
  at java.lang.reflect.Method.invoke(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:372)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
  • Realm 2.3.0
  • Kotlin 1.0.4
  • Gradle 2.14.1
@Zhuinden
Copy link
Contributor

Sounds related yes, I still think the temporary workaround would be to use the synchronous query api and wait for the results integration for async queries to work reliably again

@beeender
Copy link
Contributor

Should be fixed by #3834

@beeender
Copy link
Contributor

#3834 is merged to master. will be fixed in v2.4.0.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants