Skip to content
New issue

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

java.lang.IllegalArgumentException: x must be >= 0 ? #9

Open
hoverhollydev opened this issue May 29, 2020 · 0 comments
Open

java.lang.IllegalArgumentException: x must be >= 0 ? #9

hoverhollydev opened this issue May 29, 2020 · 0 comments

Comments

@hoverhollydev
Copy link

don't workin I have this error

FATAL EXCEPTION: pool-4-thread-1
E/AndroidRuntime(22892): Process: com.d4d.cryfile, PID: 22892
E/AndroidRuntime(22892): java.lang.IllegalArgumentException: x must be >= 0
E/AndroidRuntime(22892): at android.graphics.Bitmap.checkXYSign(Bitmap.java:413)
E/AndroidRuntime(22892): at android.graphics.Bitmap.createBitmap(Bitmap.java:801)
E/AndroidRuntime(22892): at android.graphics.Bitmap.createBitmap(Bitmap.java:770)
E/AndroidRuntime(22892): at io.github.olexale.flutter_mrz_scanner.FotoapparatCamera.calculateCutoutRect(FotoapparatCamera.kt:169)
E/AndroidRuntime(22892): at io.github.olexale.flutter_mrz_scanner.FotoapparatCamera.processFrame(FotoapparatCamera.kt:96)
E/AndroidRuntime(22892): at io.github.olexale.flutter_mrz_scanner.FotoapparatCamera.access$processFrame(FotoapparatCamera.kt:22)
E/AndroidRuntime(22892): at io.github.olexale.flutter_mrz_scanner.FotoapparatCamera$configuration$1.invoke(FotoapparatCamera.kt:30)
E/AndroidRuntime(22892): at io.github.olexale.flutter_mrz_scanner.FotoapparatCamera$configuration$1.invoke(FotoapparatCamera.kt:22)
E/AndroidRuntime(22892): at io.fotoapparat.preview.PreviewStream.dispatchFrame(PreviewStream.kt:107)
E/AndroidRuntime(22892): at io.fotoapparat.preview.PreviewStream.access$dispatchFrame(PreviewStream.kt:16)
E/AndroidRuntime(22892): at io.fotoapparat.preview.PreviewStream$dispatchFrameOnBackgroundThread$1.run(PreviewStream.kt:92)
E/AndroidRuntime(22892): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime(22892): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime(22892): at java.lang.Thread.run(Thread.java:764)
W/OPDiagnose(22892): getService:OPDiagnoseService NULL
D/OSTracker(22892): OS Event: crash
D/AbstractTracker(22892): Event success
I/Process (22892): Sending signal. PID: 22892 SIG: 9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant