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

stop() on a null object reference :NullPointerException #87

Open
LiuDongCai opened this issue Jan 29, 2024 · 1 comment
Open

stop() on a null object reference :NullPointerException #87

LiuDongCai opened this issue Jan 29, 2024 · 1 comment

Comments

@LiuDongCai
Copy link

PlatformException(error, Attempt to invoke virtual method 'void com.flutter.moum.screenshot_callback.ScreenshotDetector.stop()' on a null object reference, null, java.lang.NullPointerException: Attempt to invoke virtual method 'void com.flutter.moum.screenshot_callback.ScreenshotDetector.stop()' on a null object reference
at com.flutter.moum.screenshot_callback.ScreenshotCallbackPlugin.onMethodCall(SourceFile:7)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(SourceFile:2)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(SourceFile:2)
at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0(SourceFile:3)
at io.flutter.embedding.engine.dart.DartMessenger.a(Unknown Source:0)
at io.flutter.embedding.engine.dart.a.run(Unknown Source:12)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
)
image

@LiuDongCai
Copy link
Author

LiuDongCai commented Jan 29, 2024

version:
flutter 3.13.9
Dart 3.1.5
screenshot_callback 3.0.1

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