java.lang.RuntimeException: Camera is being used after Camera.release() was called

GitHub | alhdo | 4 months ago
  1. 0

    GitHub comment 6#238335716

    GitHub | 4 months ago | alhdo
    java.lang.RuntimeException: Camera is being used after Camera.release() was called
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Autofocus problem

    GitHub | 2 years ago | milgner
    java.lang.RuntimeException: Method called after release()

    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.RuntimeException

      Camera is being used after Camera.release() was called

      at android.hardware.Camera.native_autoFocus()
    2. Android Platform
      Camera.autoFocus
      1. android.hardware.Camera.native_autoFocus(Native Method)
      2. android.hardware.Camera.autoFocus(Camera.java:1323)
      2 frames
    3. com.google.zxing
      AutoFocusManager$AutoFocusTask.doInBackground
      1. com.google.zxing.client.android.camera.open.AutoFocusManager.start(AutoFocusManager.java:72)
      2. com.google.zxing.client.android.camera.open.AutoFocusManager$AutoFocusTask.doInBackground(AutoFocusManager.java:106)
      2 frames
    4. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:292)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      4. java.lang.Thread.run(Thread.java:818)
      4 frames