Skip to content

Crash on all scanning attempts #820

@Akron

Description

@Akron

Thank you for this software!
I guess this is specific to my phone, or is there anything I do obviously wrong or is missing (permission, service ...), that no scanning works for me? It crashes with the following error:

01-07 11:15:41.959   792   792 E AndroidRuntime: FATAL EXCEPTION: main
01-07 11:15:41.959   792   792 E AndroidRuntime: Process: xyz.zedler.patrick.grocy, PID: 792
01-07 11:15:41.959   792   792 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'android.view.View xyz.zedler.patrick.grocy.databinding.FragmentPurchaseBinding.dummyFocusView' on a null object reference in method 'void androidx.activity.ComponentDialog$$ExternalSyntheticLambda1.run()'
01-07 11:15:41.959   792   792 E AndroidRuntime: at androidx.activity.ComponentDialog$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:23)
01-07 11:15:41.959   792   792 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:942)
01-07 11:15:41.959   792   792 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
01-07 11:15:41.959   792   792 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
01-07 11:15:41.959   792   792 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
01-07 11:15:41.959   792   792 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7937)
01-07 11:15:41.959   792   792 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-07 11:15:41.959   792   792 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
01-07 11:15:41.959   792   792 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1019)

Running Grocy Android v3.5.0 on Android 13

Tested both with

  • Grocy-Server v4.0.3 (HomeAssistant AddOn - no https)
  • Demo-Server

Crashes with any bar code.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions