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

JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal start byte 0x90 #221

Open
tester9789 opened this issue Apr 27, 2017 · 3 comments
Labels

Comments

@tester9789
Copy link

tester9789 commented Apr 27, 2017

Hi everyone, thanks for the Vision API here in Android.
We at my team are having some issues reading some 2d codes in the ID Documents for Colombia, some codes are reading well but some others are throwing native crashes when parsing the codes to strings.
Attached is the stack trace of the crash we are facing, it seems to be a crash at the very beginning of the string parsing...

We are using 'com.google.android.gms:play-services-vision:10.2.1'

Any help here would be greatly apprecited

Thanks

@xoif
Copy link

xoif commented May 10, 2017

This bug seems to be similiar to previously known bugs above Lolipop http://stackoverflow.com/questions/34066498/csipsimple-throwing-exception-jni-detected-error-in-application-input-is-not-val http://stackoverflow.com/questions/12127817/android-ics-4-0-ndk-newstringutf-is-crashing-down-the-app Furthermore it isn't limited to scanning 2D Codes, the Vision Api will crash as soon as some unexpected characters, like the Registered Sign ®, are within the parsed String.
To reconstruct this error, simply scan this code containing the Registred Sign:

barcode

@VynceCook
Copy link

Hi,
Same problem, it crashes on my Samsung GS5 as soon as the CameraSource call start(). Is there any update ?
Thanks for your help.

@NasH5169
Copy link

NasH5169 commented Jun 18, 2018

Hi all,

Like @VynceCook the crash is on call start method, not while scanning a qrcode containing special chars.

Same on Galaxy S5 klte.

And no crash on Sony Xperia D2203 but the scanner did not find qrcode / barcode.

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

No branches or pull requests

5 participants