You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2019. It is now read-only.
Long click a photo and go into multiple selection mode
Rotate the phone and crash
Actual behaviour
Crash after rotation.
Expected behaviour
No crash.
Logs
2019-08-11 15:14:16.502 24592-24592/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: us.koller.cameraroll, PID: 24592
java.lang.RuntimeException: Unable to start activity ComponentInfo{us.koller.cameraroll/us.koller.cameraroll.ui.AlbumActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.MenuItem android.view.Menu.findItem(int)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3430)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3614)
at android.app.ActivityThread.handleRelaunchActivityInner(ActivityThread.java:5527)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5418)
at android.app.servertransaction.ActivityRelaunchItem.execute(ActivityRelaunchItem.java:69)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2199)
at android.os.Handler.dispatchMessage(Handler.java:112)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.MenuItem android.view.Menu.findItem(int)' on a null object reference
at us.koller.cameraroll.ui.AlbumActivity.g_(SourceFile:787)
at us.koller.cameraroll.a.b.a(SourceFile:163)
at us.koller.cameraroll.ui.AlbumActivity.a(SourceFile:391)
at us.koller.cameraroll.ui.AlbumActivity.a(SourceFile:74)
at us.koller.cameraroll.ui.AlbumActivity$17.a(SourceFile:371)
at us.koller.cameraroll.data.b.b$6.run(SourceFile:246)
at android.app.Activity.runOnUiThread(Activity.java:6595)
at us.koller.cameraroll.data.b.b.a(SourceFile:243)
at us.koller.cameraroll.ui.AlbumActivity.onCreate(SourceFile:366)
at android.app.Activity.performCreate(Activity.java:7458)
at android.app.Activity.performCreate(Activity.java:7448)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1286)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3409)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3614)
at android.app.ActivityThread.handleRelaunchActivityInner(ActivityThread.java:5527)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5418)
at android.app.servertransaction.ActivityRelaunchItem.execute(ActivityRelaunchItem.java:69)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2199)
at android.os.Handler.dispatchMessage(Handler.java:112)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Crash after rotation in grid multiple selection
Versions and device
Steps to Reproduce
Actual behaviour
Crash after rotation.
Expected behaviour
No crash.
Logs
The text was updated successfully, but these errors were encountered: