java.lang.RuntimeException: An error occurred while executing doInBackground()

issuehub.io | 4 months ago
  1. 0

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

    GitHub | 4 months ago | yanpeipan
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  2. 0

    issuehub.io

    issuehub.io | 4 months ago
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  3. 0

    Android occured

    GitHub | 4 months ago | yanpeipan
    java.lang.RuntimeException: An error occured while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 229#204926130

    GitHub | 8 months ago | ahstro
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  6. 0

    GitHub comment 154#214219378

    GitHub | 7 months ago | scic
    java.lang.RuntimeException: Camera is being used after Camera.release() was called

  1. Bardh 3 times, last 7 months ago
2 unregistered visitors
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.setHasPreviewCallback()
  2. Android Platform
    Camera.setOneShotPreviewCallback
    1. android.hardware.Camera.setHasPreviewCallback(Native Method)
    2. android.hardware.Camera.setOneShotPreviewCallback(Camera.java:953)
    2 frames
  3. com.lwansbrough.RCTCamera
    BarcodeReader$ReaderAsyncTask.doInBackground
    1. com.lwansbrough.RCTCamera.RCTCameraViewFinder.onResult(RCTCameraViewFinder.java:166)
    2. com.lwansbrough.RCTCamera.BarcodeReader$ReaderAsyncTask.doInBackground(BarcodeReader.java:62)
    3. com.lwansbrough.RCTCamera.BarcodeReader$ReaderAsyncTask.doInBackground(BarcodeReader.java:40)
    3 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:295)
    1 frame
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame