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: net.twisterrob.android.view.CameraPreview setParameters failed #332

Open
TWiStErRob opened this issue Sep 12, 2023 · 1 comment
Open
Labels
a:bug something isn't working as expected in:images Image display, image loading via:Console http://play.google.com/console/developers/7995455198986011414/app/4974852622245161228/vitals/crashes
Milestone

Comments

@TWiStErRob
Copy link
Owner

TWiStErRob commented Sep 12, 2023

1 occurrence in 60 days samsung dreamqltecan (Galaxy S8) Android 9 (SDK 28) Version: 11303191 (1.1.3#3191)

Exception java.lang.RuntimeException: setParameters failed
  at android.hardware.Camera.native_setParameters
  at android.hardware.Camera.setParameters (Camera.java:2118)
  at net.twisterrob.android.view.CameraPreview.updatePreview (CameraPreview.java:164)
  at net.twisterrob.android.view.CameraPreview.surfaceChanged (CameraPreview.java:95)
  at net.twisterrob.android.view.CameraPreview$MissedSurfaceEvents.replay (CameraPreview.java:504)
  at net.twisterrob.android.view.CameraPreview.started (CameraPreview.java:206)
  at net.twisterrob.android.view.CameraPreview.access$500 (CameraPreview.java:22)
  at net.twisterrob.android.view.CameraPreview$CameraHandlerThread$1$1.run (CameraPreview.java:401)
  at android.os.Handler.handleCallback (Handler.java:873)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:214)
  at android.app.ActivityThread.main (ActivityThread.java:7050)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:964)

https://play.google.com/console/u/0/developers/7995455198986011414/app/4974852622245161228/vitals/crashes/a7b91da280597708329fcd387b296d31/details?days=60

@TWiStErRob TWiStErRob added a:bug something isn't working as expected in:images Image display, image loading labels Sep 12, 2023
@TWiStErRob TWiStErRob added this to the vNext milestone Sep 12, 2023
@TWiStErRob TWiStErRob changed the title Crash: net.twisterrob.android.view.CameraPreview.updatePreview Crash: net.twisterrob.android.view.CameraPreview setParameters failed Sep 12, 2023
@TWiStErRob
Copy link
Owner Author

TWiStErRob commented Sep 12, 2023

Similar issue with 1 occurrence: samsung greatlte (Galaxy Note8) Android 9 (SDK 28) Version: 11303191 (1.1.3#3191)

Exception java.lang.RuntimeException: setParameters failed
  at android.hardware.Camera.native_setParameters
  at android.hardware.Camera.setParameters (Camera.java:2118)
  at net.twisterrob.android.view.CameraPreview.setFlash (CameraPreview.java:335)
  at net.twisterrob.android.activity.CaptureImage$2.onCheckedChanged (CaptureImage.java:202)
  at android.widget.CompoundButton.setChecked (CompoundButton.java:182)
  at android.widget.ToggleButton.setChecked (ToggleButton.java:71)
  at net.twisterrob.android.activity.CaptureImage$1.onCreate (CaptureImage.java:155)
  at net.twisterrob.android.view.CameraPreview$CameraPreviewListeners.onCreate (CameraPreview.java:523)
  at net.twisterrob.android.view.CameraPreview.started (CameraPreview.java:207)
  at net.twisterrob.android.view.CameraPreview.access$500 (CameraPreview.java:22)
  at net.twisterrob.android.view.CameraPreview$CameraHandlerThread$1$1.run (CameraPreview.java:401)
  at android.os.Handler.handleCallback (Handler.java:873)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:214)
  at android.app.ActivityThread.main (ActivityThread.java:7073)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)

This one is extremely curious, since this is caught in these commits since 1.1.3:

@TWiStErRob TWiStErRob added the via:Console http://play.google.com/console/developers/7995455198986011414/app/4974852622245161228/vitals/crashes label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug something isn't working as expected in:images Image display, image loading via:Console http://play.google.com/console/developers/7995455198986011414/app/4974852622245161228/vitals/crashes
Projects
None yet
Development

No branches or pull requests

1 participant