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

NullPointerException: Attempt to invoke interface method 'boolean android.database.Cursor.isClosed()' on a null object reference #161

Open
bviebahn opened this issue May 9, 2022 · 2 comments

Comments

@bviebahn
Copy link

bviebahn commented May 9, 2022

I'm seeing this error in Crashlytics, but haven't been able to reproduce it. So far it only happened once, but it might still be worth fixing.

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.database.Cursor.isClosed()' on a null object reference
       at com.vonovak.AddCalendarEventModule.onLoadFinished(AddCalendarEventModule.java:196)
       at android.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:497)
       at android.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:465)
       at android.content.Loader.deliverResult(Loader.java:157)
       at android.content.CursorLoader.deliverResult(CursorLoader.java:116)
       at android.content.CursorLoader.deliverResult(CursorLoader.java:46)
       at android.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:274)
       at android.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:97)
       at android.os.AsyncTask.finish(AsyncTask.java:771)
       at android.os.AsyncTask.access$900(AsyncTask.java:199)
       at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:223)
       at android.app.ActivityThread.main(ActivityThread.java:7701)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)

Device: Nokia 7.2
Android Version: 11

@m00gl3
Copy link

m00gl3 commented Aug 30, 2024

Also getting this on Crashlytics (and also for me a single Crash event)

Using react-native-add-calendar-event 4.2.2
react-native 0.72.3

@talhatsk
Copy link

talhatsk commented Dec 3, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants