java.lang.IllegalArgumentException: Crop rectangle does not fit within image data.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by YY007H
, 1 year ago
Crop rectangle does not fit within image data.
via GitHub by neruja
, 2 years ago
Crop rectangle does not fit within image data.
via GitHub by rkistner
, 2 years ago
Crop rectangle does not fit within image data.
via GitHub by alexbuijs
, 11 months ago
Crop rectangle does not fit within image data.
via GitHub by YY007H
, 11 months ago
Crop rectangle does not fit within image data.
java.lang.IllegalArgumentException: Crop rectangle does not fit within image data.
at com.google.zxing.PlanarYUVLuminanceSource.(PlanarYUVLuminanceSource.java:50)
at com.sunwayworld.zxing.camera.CameraManager.buildLuminanceSource(CameraManager.java:346)
at com.sunwayworld.zxing.decoding.DecodeHandler.decode(DecodeHandler.java:97)
at com.sunwayworld.zxing.decoding.DecodeHandler.handleMessage(DecodeHandler.java:64)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at com.sunwayworld.zxing.decoding.DecodeThread.run(DecodeThread.java:123)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.