java.lang.IllegalStateException: Session has been closed; further changes are illegal.

GitHub | vanniktech | 3 months ago
  1. 0

    Camera2 always crashes after Permission Dialog

    GitHub | 3 months ago | andhie
    java.lang.IllegalStateException: Session has been closed; further changes are illegal.
  2. 0

    java.lang.IllegalStateException: Session has been closed; further changes are illegal.

    GitHub | 3 months ago | vanniktech
    java.lang.IllegalStateException: Session has been closed; further changes are illegal.
  3. 0

    GitHub comment 11#247780077

    GitHub | 3 months ago | ungesehn
    java.lang.IllegalStateException: Session has been closed; further changes are illegal.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Demo using Fragment

    GitHub | 2 months ago | skywaydave
    java.lang.IllegalStateException: Session has been closed; further changes are illegal.
  6. 0

    Cannot Flip between front and rear camera in still capture mode

    GitHub | 2 months ago | cpritchard
    java.lang.IllegalStateException: CameraDevice was already closed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Session has been closed; further changes are illegal.

      at android.hardware.camera2.impl.CameraCaptureSessionImpl.checkNotClosed()
    2. Android
      CameraCaptureSessionImpl.setRepeatingRequest
      1. android.hardware.camera2.impl.CameraCaptureSessionImpl.checkNotClosed(CameraCaptureSessionImpl.java:606)
      2. android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:227)
      2 frames
    3. com.google.android
      Camera2$3.onConfigured
      1. com.google.android.cameraview.Camera2$3.onConfigured(Camera2.java:132)
      1 frame
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. Android
      HandlerDispatcher$1.run
      1. android.hardware.camera2.dispatch.InvokeDispatcher.dispatch(InvokeDispatcher.java:39)
      2. android.hardware.camera2.dispatch.HandlerDispatcher$1.run(HandlerDispatcher.java:65)
      2 frames
    6. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:751)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:154)
      4. android.app.ActivityThread.main(ActivityThread.java:6077)
      4 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames