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

Attempt to invoke virtual method 'android.content.ContentResolver android.app.Activity.getContentResolver() #105

Open
DivaRamadha opened this issue Oct 13, 2021 · 0 comments

Comments

@DivaRamadha
Copy link

error detecting text after pick an image

I/flutter (16811): PlatformException(error, Attempt to invoke virtual method 'android.content.ContentResolver android.app.Activity.getContentResolver()' on a null object reference, null, java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ContentResolver android.app.Activity.getContentResolver()' on a null object reference
I/flutter (16811): at com.azihsoyn.flutter.mlkit.MlkitPlugin.onMethodCall(MlkitPlugin.java:140)
I/flutter (16811): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
I/flutter (16811): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:84)
I/flutter (16811): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:865)
I/flutter (16811): at android.os.MessageQueue.nativePollOnce(Native Method)
I/flutter (16811): at android.os.MessageQueue.next(MessageQueue.java:335)
I/flutter (16811): at android.os.Looper.loop(Looper.java:206)
I/flutter (16811): at android.app.ActivityThread.main(ActivityThread.java:8506)
I/flutter (16811): at java.lang.reflect.Method.invoke(Native Method)
I/flutter (16811): at com.android.internal.os.RuntimeInit$MethodAndArgs

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