zxing-android-embedded icon indicating copy to clipboard operation
zxing-android-embedded copied to clipboard

java.lang.IllegalArgumentException

Open Zabei opened this issue 6 years ago • 0 comments

Description of the problem:

When app launch for the first time on the some devices, this exception is happen.

Which library version are you using? E.g. 3.2.0. 3.6.0

Which phone/tablet are you using, and which Android version does it run? (e.g. Samsung Galaxy S5, Android 5.0) Samsung Galaxy S9+ (star2lte), Android 9

Does the same happen on other devices or an emulator? Yes. On Huawei honor 10 Lite (HWHRY-H), Android 9

Can you reproduce the issue in the sample project included with the library? If not, can you provide your own sample project or sample code that produces this error?

In the case of an error do you have a stack trace or adb logs? java.lang.IllegalArgumentException: at com.google.zxing.PlanarYUVLuminanceSource. (PlanarYUVLuminanceSource.java:50) at com.journeyapps.barcodescanner.SourceData.createSource (SourceData.java:107) at com.journeyapps.barcodescanner.DecoderThread.createSource (DecoderThread.java:135) at com.journeyapps.barcodescanner.DecoderThread.decode (DecoderThread.java:143) at com.journeyapps.barcodescanner.DecoderThread.access$000 (DecoderThread.java:22) at com.journeyapps.barcodescanner.DecoderThread$1.handleMessage (DecoderThread.java:38) at android.os.Handler.dispatchMessage (Handler.java:102) at android.os.Looper.loop (Looper.java:216) at android.os.HandlerThread.run (HandlerThread.java:65)

Zabei avatar Oct 02 '19 08:10 Zabei