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

Android: parse() method generates "Uncaught Java Exception occurred" #106

Open
sandrolain opened this issue Mar 15, 2019 · 0 comments
Open

Comments

@sandrolain
Copy link

Ti SDK 7.5.1
ti.barcode module version: 4.0.3
Device with Android 8.1

Example code:

var qrreader = require("ti.barcode");

qrreader.parse({
    image: blob
});

Error log:

[ERROR] TiExceptionHandler: (main) [33,222257] /Apollo/Barcodes.js:33
[ERROR] TiExceptionHandler: qrreader.parse({
[ERROR] TiExceptionHandler:          ^
[ERROR] TiExceptionHandler: Uncaught Java Exception occurred
[ERROR] TiExceptionHandler:     at loadFile(/Apollo/Barcodes.js:33:10)
[ERROR] TiExceptionHandler:     at success(:155:28)
[ERROR] TiExceptionHandler:     at success(/Apollo/Media.js:20:20)
[ERROR] TiExceptionHandler:
[ERROR] TiExceptionHandler:
[ERROR] TiExceptionHandler:     org.appcelerator.kroll.runtime.v8.V8Function.nativeInvoke(Native Method)
[ERROR] TiExceptionHandler:     org.appcelerator.kroll.runtime.v8.V8Function.callSync(V8Function.java:55)
[ERROR] TiExceptionHandler:     org.appcelerator.kroll.runtime.v8.V8Function.call(V8Function.java:41)
[ERROR] TiExceptionHandler:     org.appcelerator.kroll.runtime.v8.V8Function$1.run(V8Function.java:68)
[ERROR] TiExceptionHandler:     android.os.Handler.handleCallback(Handler.java:790)
[ERROR] TiExceptionHandler:     android.os.Handler.dispatchMessage(Handler.java:99)
[ERROR] TiExceptionHandler:     android.os.Looper.loop(Looper.java:175)
[ERROR] TiExceptionHandler:     android.app.ActivityThread.main(ActivityThread.java:6722)
[ERROR] TiExceptionHandler:     java.lang.reflect.Method.invoke(Native Method)
[ERROR] TiExceptionHandler:     com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
[ERROR] V8Exception: Exception occurred at /Apollo/Barcodes.js:33: Uncaught Java Exception occurred
[ERROR] V8Exception: Java Exception occurred
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