-
Notifications
You must be signed in to change notification settings - Fork 54
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
App crash in debug mode when trying to open composer very quick in multiple times #2834
Labels
bug
Something isn't working
Comments
Please attach |
Potential causes Log 1══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following assertion was thrown while finalizing the widget tree:
Duplicate GlobalKey detected in widget tree.
The following GlobalKey was specified multiple times in the widget tree. This will lead to parts of
the widget tree being truncated unexpectedly, because the second time a key is seen, the previous
instance is moved to the new location. The key was:
- [LabeledGlobalKey<TagsEditorState<dynamic>>#6a551]
This was determined by noticing that after the widget with the above global key was moved out of its
previous parent, that previous parent never updated during this frame, meaning that it either did
not update at all or updated before the widget was moved, in either case implying that it still
thinks that it should have a child with that global key.
The specific parent that did not update after having one or more children forcibly removed due to
GlobalKey reparenting is:
- StatefulBuilder(state: _StatefulBuilderState#6b629)
A GlobalKey can only be specified on one widget at a time in the widget tree.
When the exception was thrown, this was the stack:
#0 BuildOwner.finalizeTree.<anonymous closure> (package:flutter/src/widgets/framework.dart:3225:15)
#1 BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:3250:8)
#2 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:987:19)
#3 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:457:5)
#4 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325:15)
#5 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1255:9)
#6 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113:5)
#10 _invoke (dart:ui/hooks.dart:314:10)
#11 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:383:5)
#12 _drawFrame (dart:ui/hooks.dart:283:31)
(elided 3 frames from dart:async)
════════════════════════════════════════════════════════════════════════════════════════════════════
[TwakeMail] [ERROR] AppLogger::initLogger::runZonedGuarded:FlutterError.onError:
#0 BuildOwner.finalizeTree.<anonymous closure> (package:flutter/src/widgets/framework.dart:3225:15)
#1 BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:3250:8)
#2 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:987:19)
#3 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:457:5)
#4 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325:15)
#5 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1255:9)
#6 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113:5)
#7 _rootRun (dart:async/zone.dart:1399:13)
#8 _CustomZone.run (dart:async/zone.dart:1301:19)
#9 _CustomZone.runGuarded (dart:async/zone.dart:1209:7)
#10 _invoke (dart:ui/hooks.dart:314:10)
#11 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dar Log 2[TwakeMail] [ERROR] AppLogger::initLogger::runZonedGuarded:onError: MissingPluginException
(No implementation found for method evaluateJavascript on channel com.pichillilorenzo/flutter_inappwebview_49) | stack:
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:320:7)
<asynchronous suspension>
#1 InAppWebViewController.evaluateJavascript (package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.dart:1979:16)
<asynchronous suspension>
#2 HtmlEditorState._buildEditor.<anonymous closure> (package:enough_html_editor/src/editor.dart:588:34)
<asynchronous suspension> Log 3[TwakeMail] [ERROR] AppLogger::initLogger::runZonedGuarded:onError: MissingPluginException
(No implementation found for method evaluateJavascript on channel com.pichillilorenzo/flutter_inappwebview_15) | stack:
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:320:7)
<asynchronous suspension>
#1 InAppWebViewController.evaluateJavascript (package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.dart:1979:16)
<asynchronous suspension>
#2 HtmlEditorApi._hasFocus (package:enough_html_editor/src/editor_api.dart:441:19)
<asynchronous suspension>
#3 HtmlEditorApi.unfocus (package:enough_html_editor/src/editor_api.dart:115:12)
<asynchronous suspension> |
App crashed
Flutter issue: |
duplicated #2817 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Log:
logcat.md.zip
Video:
Screenrecorder-2024-04-26-20-52-56-761.mp4
The text was updated successfully, but these errors were encountered: