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
Got this error in Firebase on: Micromax Micromax Q334,5.1:
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'void android.hardware.Camera.setErrorCallback([REDACTED_DOMAIN_NAME]$ErrorCallback)' on a null object reference io.fotoapparat.routine.StartCameraRoutine.run (StartCameraRoutine.java) java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1112) java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587) java.lang.Thread.run (Thread.java:818)
I'm using Fotoapparat 1.3.0. with the given configuration: fotoapparat = Fotoapparat.with(this) .into(cameraView) .previewScaleType(ScaleType.CENTER_CROP) .photoSize(biggestSize()) .lensPosition(back()) .focusMode(firstAvailable( continuousFocus(), autoFocus(), fixed() )) .frameProcessor(frameProcessor) .cameraErrorCallback(cameraErrorCallback) .build();
fotoapparat = Fotoapparat.with(this) .into(cameraView) .previewScaleType(ScaleType.CENTER_CROP) .photoSize(biggestSize()) .lensPosition(back()) .focusMode(firstAvailable( continuousFocus(), autoFocus(), fixed() )) .frameProcessor(frameProcessor) .cameraErrorCallback(cameraErrorCallback) .build();
The text was updated successfully, but these errors were encountered:
If happens in v2 as well, feel free to comment
Sorry, something went wrong.
No branches or pull requests
Got this error in Firebase on: Micromax Micromax Q334,5.1:
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'void android.hardware.Camera.setErrorCallback([REDACTED_DOMAIN_NAME]$ErrorCallback)' on a null object reference io.fotoapparat.routine.StartCameraRoutine.run (StartCameraRoutine.java) java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1112) java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587) java.lang.Thread.run (Thread.java:818)
I'm using Fotoapparat 1.3.0. with the given configuration:
fotoapparat = Fotoapparat.with(this) .into(cameraView) .previewScaleType(ScaleType.CENTER_CROP) .photoSize(biggestSize()) .lensPosition(back()) .focusMode(firstAvailable( continuousFocus(), autoFocus(), fixed() )) .frameProcessor(frameProcessor) .cameraErrorCallback(cameraErrorCallback) .build();
The text was updated successfully, but these errors were encountered: