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: Unable to start ReceiptViewActivity #204

Open
anlalalu opened this issue Jan 5, 2020 · 0 comments
Open

NullPointerException: Unable to start ReceiptViewActivity #204

anlalalu opened this issue Jan 5, 2020 · 0 comments
Labels

Comments

@anlalalu
Copy link

anlalalu commented Jan 5, 2020

Reproduction Steps

This crash is triggered with this shell instruction

adb shell am start -n protect.budgetwatch/protect.budgetwatch.ReceiptViewActivity

Stack Trace

E/AndroidRuntime( 4274): FATAL EXCEPTION: main
E/AndroidRuntime( 4274): Process: protect.budgetwatch, PID: 4274
E/AndroidRuntime( 4274): java.lang.RuntimeException: Unable to start activity ComponentInfo{protect.budgetwatch/protect.budgetwatch.ReceiptViewActivity}: java.lang.NullPointerException
E/AndroidRuntime( 4274): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
E/AndroidRuntime( 4274): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
E/AndroidRuntime( 4274): at android.app.ActivityThread.access$800(ActivityThread.java:135)
E/AndroidRuntime( 4274): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
E/AndroidRuntime( 4274): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4274): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 4274): at android.app.ActivityThread.main(ActivityThread.java:5001)
E/AndroidRuntime( 4274): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4274): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 4274): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/AndroidRuntime( 4274): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/AndroidRuntime( 4274): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4274): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4274): at protect.budgetwatch.ReceiptViewActivity.onCreate(ReceiptViewActivity.java:43)
E/AndroidRuntime( 4274): at android.app.Activity.performCreate(Activity.java:5231)
E/AndroidRuntime( 4274): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime( 4274): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
E/AndroidRuntime( 4274): ... 11 more

Debug info

App Version = 0.21.4

Android Version = 7.1.0

@brarcher brarcher added the bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants