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

Exception switching to landscape orientation #17

Open
tblack2200 opened this issue Jun 18, 2014 · 1 comment
Open

Exception switching to landscape orientation #17

tblack2200 opened this issue Jun 18, 2014 · 1 comment

Comments

@tblack2200
Copy link

When I rotate my phone to landscape orientation I get the following exception:

06-18 10:18:21.798 3193-3344/com.welcu.android.zxingfragmentlibsample E/AndroidRuntime﹕ FATAL EXCEPTION: Thread-10361
Process: com.welcu.android.zxingfragmentlibsample, PID: 3193
java.lang.IllegalArgumentException: Crop rectangle does not fit within image data.
at com.google.zxing.PlanarYUVLuminanceSource.(PlanarYUVLuminanceSource.java:50)
at com.welcu.android.zxingfragmentlib.camera.CameraManager.buildLuminanceSource(CameraManager.java:360)
at com.welcu.android.zxingfragmentlib.DecodeHandler.decode(DecodeHandler.java:77)
at com.welcu.android.zxingfragmentlib.DecodeHandler.handleMessage(DecodeHandler.java:56)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at com.welcu.android.zxingfragmentlib.DecodeThread.run(DecodeThread.java:101)

@mitoyarzun mitoyarzun mentioned this issue Aug 21, 2014
@mitoyarzun
Copy link
Owner

Hi! Can you test the new code?

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

2 participants