Skip to content

Control crashing since latest Android updates (Android 15) #200

@oaktechnology

Description

@oaktechnology

Within the last few days an app that has been working on Android and IOS for years and now all of a sudden Android crashes when scanning a QR code. It seems to do the call back and populate the barcode information but then crashes out around 90% of the time.

This doesn't seem to be problem with older versions of Android so wondering if something new is upsetting the Camera control.

I also see this error message in the Debug Output (although not sure if this showed previously or whether its just since the Android updates.

FATAL EXCEPTION: pool-6-thread-1
[AndroidRuntime] Process: com.oaktechnology.evolutionfmscompanion, PID: 30041
[AndroidRuntime] java.util.concurrent.RejectedExecutionException: Task android.hardware.camera2.impl.CameraDeviceImpl$ClientStateCallback$1@be5e7ec rejected from java.util.concurrent.ThreadPoolExecutor@a15d7b5[Shutting down, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 4]
[AndroidRuntime] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2082)
[AndroidRuntime] at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:842)
[AndroidRuntime] at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1374)
[AndroidRuntime] at java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:678)
[AndroidRuntime] at android.hardware.camera2.impl.CameraDeviceImpl$ClientStateCallback.onClosed(CameraDeviceImpl.java:306)
[AndroidRuntime] at android.hardware.camera2.impl.CameraDeviceImpl$5.run(CameraDeviceImpl.java:259)
[AndroidRuntime] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[AndroidRuntime] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
[AndroidRuntime] at java.lang.Thread.run(Thread.java:1012)

Has there been any other reports as our IOS version still seems to be working fine.

Kind Regards
Simon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions