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

Crash when try to "Edit Photo Autoprocessing" #204

Open
Terrible-Tornado opened this issue Jan 2, 2023 · 0 comments
Open

Crash when try to "Edit Photo Autoprocessing" #204

Terrible-Tornado opened this issue Jan 2, 2023 · 0 comments

Comments

@Terrible-Tornado
Copy link

Describe the bug
In the scanning page, when long click one item and try to "Edit Photo Autoprocessing", the app crashed.

To Reproduce
Steps to reproduce the behavior:

  1. Open the app
  2. Click "More options"
  3. Click "More ..."
  4. Click "Media scanner"
  5. Long click a item
  6. Click "Edit Photo Autoprocessing"
    Then the app crashes.

Expected behavior
Normal operation.

Smartphone (please complete the following information):

Screen Record

test.mp4

Crash Report
FATAL EXCEPTION: main
Process: de.k3b.android.androFotoFinder.debug, PID: 22571
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.k3b.android.androFotoFinder.debug/de.k3b.android.androFotoFinder.PhotoAutoprocessingEditActivity}: java.lang.NullPointerException: Attempt to get length of null array
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
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:1808)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
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:858)
Caused by: java.lang.NullPointerException: Attempt to get length of null array
at de.k3b.media.PhotoPropertiesUtil.inferAutoprocessingExifDefaults(PhotoPropertiesUtil.java:386)
at de.k3b.media.PhotoPropertiesUtil.inferAutoprocessingExifDefaults(PhotoPropertiesUtil.java:374)
at de.k3b.android.androFotoFinder.PhotoAutoprocessingEditActivity.onCreate(PhotoAutoprocessingEditActivity.java:218)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Activity.performCreate(Activity.java:7127)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048) 
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) 
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:1808) 
at android.os.Handler.dispatchMessage(Handler.java:106) 
at android.os.Looper.loop(Looper.java:193) 
at android.app.ActivityThread.main(ActivityThread.java:6669) 
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:858) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant