wally icon indicating copy to clipboard operation
wally copied to clipboard

NPE in production app (versionName: 1.6.1, versionCode: 30)

Open jaredrummler opened this issue 9 years ago • 0 comments

On my Moto X Pure on the stock ROM running Android 5.1.1 I am getting the following crash:

E/AndroidRuntime(16348): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.d.a.b
(java.lang.CharSequence)' on a null object reference
E/AndroidRuntime(16348):        at com.musenkishi.wally.d.H.x(Unknown Source)
E/AndroidRuntime(16348):        at com.musenkishi.wally.d.H.a(Unknown Source)
E/AndroidRuntime(16348):        at com.musenkishi.wally.d.K.a(Unknown Source)
E/AndroidRuntime(16348):        at com.musenkishi.wally.a.p.onLongClick(Unknown Source)
E/AndroidRuntime(16348):        at android.view.View.performLongClick(View.java:4824)
E/AndroidRuntime(16348):        at android.view.View$CheckForLongPress.run(View.java:19858)
E/AndroidRuntime(16348):        at android.os.Handler.handleCallback(Handler.java:746)
E/AndroidRuntime(16348):        at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(16348):        at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(16348):        at android.app.ActivityThread.main(ActivityThread.java:5343)
E/AndroidRuntime(16348):        at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(16348):        at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(16348):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
E/AndroidRuntime(16348):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:702)
W/ActivityManager( 1177):   Force finishing activity 1 com.musenkishi.wally/.activities.MainActivity

I obviously don't have the mappings.txt to deobfuscate the stacktrace, but after briefly looking over the code it looks like it may be from SavedImagesFragment#toggleActionMode(). The crash occurs when I long click on any saved image.

I reported this crash and you should get a report on Crashlytics but I thought I would open an issue for a faster response. If you need any additional information let me know.

jaredrummler avatar Sep 18 '15 18:09 jaredrummler