Page MenuHomeGitPull.it

Fix NULL pointer in UserDB.java:253 caused by Cursor.getColumnIndex() in version 1.16.2
Closed, DuplicatePublic

Description

Dear Developers of the amazing Free/Libre and Open Source app Libre BusTO ,
Please triage my crash happening in this situation:

Ogni volta che scelgo Preferiti si chiude l'app

version code:
38

version name:
1.16.2

android version:
10

phone:
SM-A600FN

brand:
samsung

stack:
java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getColumnIndex(java.lang.String)' on a null object reference
	at it.reyboz.bustorino.data.UserDB.getFavoritesFromCursor(UserDB.java:253)
	at it.reyboz.bustorino.data.FavoritesLiveData.onQueryComplete(FavoritesLiveData.java:136)
	at it.reyboz.bustorino.data.CustomAsyncQueryHandler.onQueryComplete(CustomAsyncQueryHandler.java:39)
	at android.content.AsyncQueryHandler.handleMessage(AsyncQueryHandler.java:344)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:237)
	at android.app.ActivityThread.main(ActivityThread.java:7948)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)

Thank you! :) by Chiara G.

Generated with https://lab.reyboz.it/libre-busto/crash-report/ (P15)