-
Notifications
You must be signed in to change notification settings - Fork 4k
PID: 21144 java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.BinaryMessenger.setMessageHandler on a null object reference #3983
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
Comments
When i kill the application by that time this issue occurred. ` import io.flutter.app.FlutterApplication; public class Application extends FlutterApplication implements PluginRegistry.PluginRegistrantCallback {
} |
@saravananmnm |
Yes @darshankawar. C:\Saravanan\Flutter_Sdk\flutter\bin\flutter.bat doctor --verbose [√] Android toolchain - develop for Android devices (Android SDK version 30.0.0) [√] Android Studio (version 4.0) [√] Connected device (1 available) • No issues found! |
@saravananmnm Issue Template
PASTE OUTPUT INSIDE HERE
PASTE OUTPUT INSIDE HERE
|
Hey @saravananmnm. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @saravananmnm if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Uh oh!
There was an error while loading. Please reload this page.
2020-10-29 15:55:04.516 21144-21144/com.courieralliance.driverca.qa E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.courieralliance.driverca.qa, PID: 21144
java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.BinaryMessenger.setMessageHandler(java.lang.String, io.flutter.plugin.common.BinaryMessenger$BinaryMessageHandler)' on a null object reference
at io.flutter.plugin.common.MethodChannel.setMethodCallHandler(MethodChannel.java:116)
at io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin.onAttachedToEngine(FirebaseMessagingPlugin.java:60)
at io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin.registerWith(FirebaseMessagingPlugin.java:51)
at com.courieralliance.driverca.Application.registerWith(Application.java:29)
at com.transistorsoft.flutter.backgroundfetch.HeadlessTask.startBackgroundIsolate(HeadlessTask.java:150)
at com.transistorsoft.flutter.backgroundfetch.HeadlessTask.dispatch(HeadlessTask.java:101)
at com.transistorsoft.flutter.backgroundfetch.HeadlessTask.run(HeadlessTask.java:95)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
The text was updated successfully, but these errors were encountered: