We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Calling BarcodeCaptureActivity as startActivityForResult causing... NPE
Unable to destroy activity {....activities.BarcodeCapture.BarcodeCaptureActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Thread$State java.lang.Thread.getState()' on a null object reference. on CameraSource.java --->FrameProcessingRunnable @SuppressLint("Assert") void release() { assert (mProcessingThread.getState() == State.TERMINATED); mDetector.release(); mDetector = null; } mProcessingThread is null
@SuppressLint("Assert")
void release() {
assert (mProcessingThread.getState() == State.TERMINATED);
mDetector.release();
mDetector = null;
}
The text was updated successfully, but these errors were encountered:
https://stackoverflow.com/questions/64893524/android-gradle-plugin-update-4-1-0-causing-barcode-scanner-to-crash
Sorry, something went wrong.
No branches or pull requests
Calling BarcodeCaptureActivity as startActivityForResult causing... NPE
Unable to destroy activity {....activities.BarcodeCapture.BarcodeCaptureActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Thread$State java.lang.Thread.getState()' on a null object reference.
on CameraSource.java --->FrameProcessingRunnable
@SuppressLint("Assert")
void release() {
assert (mProcessingThread.getState() == State.TERMINATED);
mDetector.release();
mDetector = null;
}
mProcessingThread is null
The text was updated successfully, but these errors were encountered: