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 consuming products #688

Open
VNRARA opened this issue May 7, 2023 · 1 comment
Open

Crash when consuming products #688

VNRARA opened this issue May 7, 2023 · 1 comment
Labels
bug Something isn't working missing info More information is needed to fix this issue

Comments

@VNRARA
Copy link

VNRARA commented May 7, 2023

Grocy crashes when consuming products.

--------- beginning of crash
05-07 22:57:58.463 9814 9814 E AndroidRuntime: FATAL EXCEPTION: main
05-07 22:57:58.463 9814 9814 E AndroidRuntime: Process: xyz.zedler.patrick.grocy, PID: 9814
05-07 22:57:58.463 9814 9814 E AndroidRuntime: java.lang.IllegalArgumentException: The detector does not exist
05-07 22:57:58.463 9814 9814 E AndroidRuntime: at com.google.android.gms.common.internal.Preconditions.checkArgument(com.google.android.gms:play-services-basement@@18.1.0:6)
05-07 22:57:58.463 9814 9814 E AndroidRuntime: at xyz.zedler.patrick.grocy.scanner.EmbeddedFragmentScannerMLKit$$ExternalSyntheticLambda0.accept(R8$$SyntheticClass:31)
05-07 22:57:58.463 9814 9814 E AndroidRuntime: at androidx.camera.mlkit.vision.MlKitAnalyzer$$ExternalSyntheticLambda0.run(R8$$SyntheticClass:26)
05-07 22:57:58.463 9814 9814 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:942)
05-07 22:57:58.463 9814 9814 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
05-07 22:57:58.463 9814 9814 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:226)
05-07 22:57:58.463 9814 9814 E AndroidRuntime: at android.os.Looper.loop(Looper.java:313)
05-07 22:57:58.463 9814 9814 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8757)
05-07 22:57:58.463 9814 9814 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-07 22:57:58.463 9814 9814 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
05-07 22:57:58.463 9814 9814 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
--------- beginning of main
05-07 22:57:59.844 12711 12711 E r.patrick.grocy: Not starting debugger since process cannot load the jdwp agent.

@dominiczedler dominiczedler self-assigned this May 8, 2023
@dominiczedler dominiczedler added the bug Something isn't working label May 8, 2023
@VNRARA
Copy link
Author

VNRARA commented May 15, 2023

Quick sidenote: logs disappear really fast from the logscreen. Is it available elsewhere?

I was consuming some product again. One after each after scrolling my stock and consuming from the popup window that shows:

--------- beginning of crash
05-15 19:53:05.672 23633 23633 E AndroidRuntime: FATAL EXCEPTION: main
05-15 19:53:05.672 23633 23633 E AndroidRuntime: Process: xyz.zedler.patrick.grocy, PID: 23633
05-15 19:53:05.672 23633 23633 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'android.widget.LinearLayout xyz.zedler.patrick.grocy.databinding.ViewListItemBinding.linearContainer' on a null object reference in method 'void xyz.zedler.patrick.grocy.view.ListItem.setText(java.lang.String, java.lang.String, java.lang.String)'
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at xyz.zedler.patrick.grocy.view.ListItem.setText(ListItem.java:25)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at androidx.camera.camera2.internal.CaptureSession$$ExternalSyntheticLambda2.onResponse(R8$$SyntheticClass:23)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at xyz.zedler.patrick.grocy.helper.DownloadHelper$21$$ExternalSyntheticLambda0.onResponse(R8$$SyntheticClass:42)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at xyz.zedler.patrick.grocy.helper.DownloadHelper$$ExternalSyntheticLambda4.onResponse(R8$$SyntheticClass:1)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at xyz.zedler.patrick.grocy.web.CustomStringRequest$$ExternalSyntheticLambda0.onResponse(R8$$SyntheticClass:25)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:11)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:32)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:942)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:226)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at android.os.Looper.loop(Looper.java:313)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8757)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
05-15 19:53:05.672 23633 23633 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
--------- beginning of main
05-15 19:53:07.745 3577 3577 E r.patrick.grocy: Not starting debugger since process cannot load the jdwp agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working missing info More information is needed to fix this issue
Projects
None yet
Development

No branches or pull requests

2 participants