kinverarity1 / librarything-browser

Android app for browsing and searching your LT books offline
MIT License
6 stars 1 forks source link

App crashed when barcode scanner was opened #13

Open kinverarity1 opened 10 years ago

kinverarity1 commented 10 years ago
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=49374, result=0, data=null} to activity {com.nietky.librarythingbrowser/com.nietky.librarythingbrowser.BookListActivity}: java.lang.NullPointerException
at android.app.ActivityThread.deliverResults(ActivityThread.java:3660)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3710)
at android.app.ActivityThread.access$1100(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1378)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:155)
at android.app.ActivityThread.main(ActivityThread.java:5536)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1074)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:841)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.nietky.librarythingbrowser.BookListActivity.onActivityResult(BookListActivity.java:453)
at android.app.Activity.dispatchActivityResult(Activity.java:5275)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3656)
... 11 more
vadz commented 10 years ago

FWIW I can reliably reproduce this by choosing "Scan barcode" from the menu and cancelling scanning.