flutterfire
flutterfire copied to clipboard
🐛 [firebase_database] No implementation found for method cancel
Firebase Crashlytics shows non-fatal issue
Non-fatal Exception: FlutterError
MissingPluginException(No implementation found for method cancel on channel clients/123456/-MSgn_H8m8_-IV05zNnC-[DEFAULT]-null-DatabaseEventType.value-[]#1). Error thrown Instance of 'faa'.
Non-fatal Exception: FlutterError
0 ??? 0x0 (null). #00 abs 0 _kDartIsolateSnapshotInstructions+0x670cb
1 ??? 0x0 (null). #01 abs 0 _kDartIsolateSnapshotInstructions+0x1f933b
Non-fatal Exception: FlutterError
MissingPluginException(No implementation found for method cancel on channel appointments/123456-[DEFAULT]-null-DatabaseEventType.value-[{type: orderBy, name: orderByChild, path: type_date}, {type: cursor, name: startAt, value: 0_}, {type: cursor, name: endAt, value: 0_202201042359}, {type: limit, name: limitToLast, limit: 1}]#1). Error thrown while de-activating platform stream on channel appointments/123456-[DEFAULT]-null-DatabaseEventType.value-[{type: orderBy, name: orderByChild, path: type_date}, {type: cursor, name: startAt, value: 0_}, {type: cursor, name: endAt, value: 0_202201042359}, {type: limit, name: limitToLast, limit: 1}]#1.
Non-fatal Exception: FlutterError
0 ??? 0x0 MethodChannel._invokeMethod + 165 (platform_channel.dart:165)
1 ??? 0x0 EventChannel.receiveBroadcastStream.<fn> + 518 (platform_channel.dart:518)
I don't know the steps to reproduce this issue.
I think this issue is similar to https://github.com/FirebaseExtended/flutterfire/issues/7618
@deepak786 Can you provide the entire crash log ? Also is there a way for you to symbolicate the log that'll be helpful to debug further, otherwise it would be a bit tough to verify the issue.
@darshankawar Crashlytics shows only the above crash logs. There are no other logs.
In the above one crash log is from the released build and the other is from debugging build. I have also created a reproducible sample about the same https://github.com/FirebaseExtended/flutterfire/issues/7556#issuecomment-1006927425
Labeling it for further input from the team.
@deepak786 just to be clear, is this happening on all platforms?
@russellwheatley yes, it's happening on both android and ios. I haven't tested it on the web.
There is also another exception:
======== Exception caught by services library ======================================================
The following PlatformException was thrown while de-activating platform stream on channel clients/123456/-Mtbh5BnpmZzAmSr-EgZ-[DEFAULT]-null-DatabaseEventType.value-[]#3:
PlatformException(error, No active stream to cancel, null, null)
When the exception was thrown, this was the stack:
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
<asynchronous suspension>
#2 EventChannel.receiveBroadcastStream.<anonymous closure> (package:flutter/src/services/platform_channel.dart:518:9)
<asynchronous suspension>
====================================================================================================
With PR #7859, the above exception is also resolved.
I am having the same issue, apparently it is not yet fixed, I am using the latest firebase plugins, but still having random crashes. there is no reliable way to reproduce the issue.
sdk: '>=2.12.0 <3.0.0'
firebase_core: ^1.12.0 firebase_auth: ^3.3.6 firebase_database: ^9.0.6 firebase_storage: ^10.2.6 firebase_remote_config: ^2.0.0 firebase_analytics: ^9.1.0 firebase_crashlytics: ^2.5.0 firebase_app_check: ^0.0.6+5
======== Exception caught by services library ====================================================== The following MissingPluginException was thrown while de-activating platform stream on channel elements/German/tables/-MV_kxHs0GdvgoEWXK1--[DEFAULT]-null-DatabaseEventType.value-[]#35: MissingPluginException(No implementation found for method cancel on channel elements/German/tables/-MV_kxHs0GdvgoEWXK1--[DEFAULT]-null-DatabaseEventType.value-[]#35)
When the exception was thrown, this was the stack:
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:175:7)
Getting the same with firebase_performance
:
No implementation found for method Trace#stop on channel plugins.flutter.io/firebase_performance
MissingPluginException (MissingPluginException(No implementation found for method Trace#stop on channel plugins.flutter.io/firebase_performance))
Any which version this issue was introduced in?
@russellwheatley Still has the same issue. The Crashlytics shows the exception with firebase_database: 9.0.6
Non-fatal Exception: FlutterError
MissingPluginException(No implementation found for method cancel on channel jobs/123456/-MurQCirGd7FZcXCLvSL-[DEFAULT]-null-DatabaseEventType.value-[]#8). Error thrown Instance of 'Waa'.
Non-fatal Exception: FlutterError
0 ??? 0x0 (null). #00 abs 0 _kDartIsolateSnapshotInstructions+0x68573
1 ??? 0x0 (null). #01 abs 0 _kDartIsolateSnapshotInstructions+0x2d57c7
The above exception is from iOS.
Device
Model:iPhone 7
Orientation: Portrait
RAM free: 0 B
Disk free: 0 B
Operating System
Version:15.2.1
Orientation: Portrait
Jailbroken:No
Hey @deepak786, thanks for the report. Out of curiosity, does your app use firebase_database
in any further isolates (i.e. other than the main isolate)?
@russellwheatley no
@deepak786 Is the previous reproducible sample still able to reliably produce this bug?
@russellwheatley no. I don't have the reproducible steps now. This issue just appeared in Crashlytics again.
@deepak786 Ok, if you are able to provide a reproducible sample, please post here and I'll be happy to look into it.
sure
@russellwheatley please check the similar issue https://github.com/FirebaseExtended/flutterfire/issues/8015
Hey @deepak786. 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!
Facing the same issue.
MissingPluginException(No implementation found for method cancel on channel state-[DEFAULT]-null-DatabaseEventType.childChanged-[]#4)
Hey @deepak786. 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.
@deepak786 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.
The issue is not fixed yet.
@deepak786 - if you have a repro, that would be great! Thanks.
Also still facing the issue. I have around 5% of users facing this issue.
Since there haven't been any recent updates here, I am going to close this issue.
@deepak786 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.
Since there haven't been any recent updates here, I am going to close this issue.
@deepak786 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.
is this issue fixed yet ?
Reopening this issue based on above couple of comments and also per this recent issue reported to reopen this as OP of that issue intermittently facing the same error as originally reported here.
There doesn't seem to be a concrete reproducible code sample to properly claim that issue is consistent.
/cc @russellwheatley
I ran into this issue today on firebase_database: 9.0.18
also on 9.0.19 - 9.0.20