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

Fatal Exception: java.lang.IllegalStateException #53

Closed
digvijayLogistic opened this issue Nov 24, 2023 · 4 comments
Closed

Fatal Exception: java.lang.IllegalStateException #53

digvijayLogistic opened this issue Nov 24, 2023 · 4 comments

Comments

@digvijayLogistic
Copy link

Hello @Dynamsoft-Henry

We are getting many errors on our Firebase console; some of the errors are mentioned here.
Can you please, once you look at this, let me know if you have any ideas to resolve it or fix it?

Fatal Exception: java.lang.IllegalStateException: Session has been closed; further changes are illegal.
at android.hardware.camera2.impl.CameraCaptureSessionImpl.checkNotClosed(CameraCaptureSessionImpl.java:887)
at android.hardware.camera2.impl.CameraCaptureSessionImpl.stopRepeating(CameraCaptureSessionImpl.java:418)
at com.dynamsoft.dce.CameraEnhancer$9.run(CameraEnhancer.java:1442)
at java.lang.Thread.run(Thread.java:1012)

image

@Dynamsoft-Henry
Copy link
Collaborator

Hi @digvijayLogistic

We are now looking at these issues. Would you like to share the following information with us?

  1. The version number of your dynamsoft-capture-vision-cordova
  2. The detailed crash info.
  3. How to reproduce the crash (if you know)
  4. The detailed info of your phone which reproduces the crash.

@digvijayLogistic
Copy link
Author

Hello @Dynamsoft-Henry

Thank you for response.

1) version number of 'dynamsoft-capture-vision-cordova' : "^1.0.4"

2)

> Fatal Exception: java.lang.IllegalStateException: Session has been closed; further changes are illegal.
>        at android.hardware.camera2.impl.CameraCaptureSessionImpl.checkNotClosed(CameraCaptureSessionImpl.java:887)
>        at android.hardware.camera2.impl.CameraCaptureSessionImpl.stopRepeating(CameraCaptureSessionImpl.java:418)
>        at com.dynamsoft.dce.CameraEnhancer$9.run(CameraEnhancer.java:1442)
>        at java.lang.Thread.run(Thread.java:1012)

3) We also don't know how to reproduce the crash, but when working with the scanner, many users are facing this crash.

4) Galaxy S21 Ultra 5G (Android 14), Pixel 6 (Android 14), Galaxy S23 Ultra (Android 13), Galaxy S22 Ultra (Android 13), Galaxy Z Flip3 5G (Android 13), Moto G 5G - 2023 (Android 13), Moto G Stylus 5G-2022 (Android 13), Pixel 3a (Android 12)

image

If you have any more questions on this, then please let me know.

@Dynamsoft-Henry
Copy link
Collaborator

Hi @digvijayLogistic
We fixed the bug and released dynamsoft-capture-vision-cordova 1.0.5 on the NPM. Please check.

@digvijayLogistic
Copy link
Author

Thank you so much !! @Dynamsoft-Henry

I have released latest APK on play store and if further needs any help then open new ticket.

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

2 participants