We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got this error while using SingleChildScrollView This happens when I long press on it. I/flutter ( 4955): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ I/flutter ( 4955): The following StateError was thrown building _TextSelectionHandleOverlay(dirty, state: I/flutter ( 4955): _TextSelectionHandleOverlayState#8ab70): I/flutter ( 4955): Bad state: No element I/flutter ( 4955): I/flutter ( 4955): When the exception was thrown, this was the stack: I/flutter ( 4955): #0 List.first (dart:core/runtime/libarray.dart:89:5) I/flutter ( 4955): #1 RenderEditable.getEndpointsForSelection (package:flutter/src/rendering/editable.dart:491:45) I/flutter ( 4955): #2 _TextSelectionHandleOverlayState.build (package:flutter/src/widgets/text_selection.dart:524:68) I/flutter ( 4955): #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:3713:27) I/flutter ( 4955): #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3625:15) I/flutter ( 4955): #5 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5) I/flutter ( 4955): #6 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3605:5) I/flutter ( 4955): #7 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3752:11) I/flutter ( 4955): #8 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3600:5) I/flutter ( 4955): #9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14) I/flutter ( 4955): #10 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12) I/flutter ( 4955): #11 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4637:14) I/flutter ( 4955): #12 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14) I/flutter ( 4955): #13 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12) I/flutter ( 4955): #14 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16) I/flutter ( 4955): #15 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5) I/flutter ( 4955): #16 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3605:5) I/flutter ( 4955): #17 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3752:11) I/flutter ( 4955): #18 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3600:5) I/flutter ( 4955): #19 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14) I/flutter ( 4955): #20 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12) I/flutter ( 4955): #21 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4420:32) I/flutter ( 4955): #22 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4752:17) I/flutter ( 4955): #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15) I/flutter ( 4955): #24 _TheatreElement.update (package:flutter/src/widgets/overlay.dart:507:16) I/flutter ( 4955): #25 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15) I/flutter ( 4955): #26 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16) I/flutter ( 4955): #27 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5) I/flutter ( 4955): #28 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2225:33) I/flutter ( 4955): #29 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:621:20) I/flutter ( 4955): #30 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5) I/flutter ( 4955): #31 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15) I/flutter ( 4955): #32 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9) I/flutter ( 4955): #33 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5) I/flutter ( 4955): #34 _invoke (dart:ui/hooks.dart:120:13) I/flutter ( 4955): #35 _drawFrame (dart:ui/hooks.dart:109:3) I/flutter ( 4955): ════════════════════════════════════════════════════════════════════════════════════════════════════ I/flutter ( 4955): Another exception was thrown: Bad state: No element I/flutter ( 4955): Another exception was thrown: Bad state: No element I/flutter ( 4955): Another exception was thrown: Bad state: No element I/flutter ( 4955): Another exception was thrown: Bad state: No element I/flutter ( 4955): Another exception was thrown: Bad state: No element I/flutter ( 4955): Another exception was thrown: Bad state: No element I/flutter ( 4955): Another exception was thrown: Bad state: No element I/flutter ( 4955): Another exception was thrown: Bad state: No element
The text was updated successfully, but these errors were encountered:
This should be filed on https://github.com/flutter/flutter - can you please open a new issue there?
Sorry, something went wrong.
No branches or pull requests
I got this error while using SingleChildScrollView
This happens when I long press on it.
I/flutter ( 4955): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 4955): The following StateError was thrown building _TextSelectionHandleOverlay(dirty, state:
I/flutter ( 4955): _TextSelectionHandleOverlayState#8ab70):
I/flutter ( 4955): Bad state: No element
I/flutter ( 4955):
I/flutter ( 4955): When the exception was thrown, this was the stack:
I/flutter ( 4955): #0 List.first (dart:core/runtime/libarray.dart:89:5)
I/flutter ( 4955): #1 RenderEditable.getEndpointsForSelection (package:flutter/src/rendering/editable.dart:491:45)
I/flutter ( 4955): #2 _TextSelectionHandleOverlayState.build (package:flutter/src/widgets/text_selection.dart:524:68)
I/flutter ( 4955): #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:3713:27)
I/flutter ( 4955): #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3625:15)
I/flutter ( 4955): #5 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter ( 4955): #6 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3605:5)
I/flutter ( 4955): #7 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3752:11)
I/flutter ( 4955): #8 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3600:5)
I/flutter ( 4955): #9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14)
I/flutter ( 4955): #10 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12)
I/flutter ( 4955): #11 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4637:14)
I/flutter ( 4955): #12 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14)
I/flutter ( 4955): #13 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12)
I/flutter ( 4955): #14 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter ( 4955): #15 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter ( 4955): #16 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3605:5)
I/flutter ( 4955): #17 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3752:11)
I/flutter ( 4955): #18 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3600:5)
I/flutter ( 4955): #19 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14)
I/flutter ( 4955): #20 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12)
I/flutter ( 4955): #21 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4420:32)
I/flutter ( 4955): #22 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4752:17)
I/flutter ( 4955): #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter ( 4955): #24 _TheatreElement.update (package:flutter/src/widgets/overlay.dart:507:16)
I/flutter ( 4955): #25 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter ( 4955): #26 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter ( 4955): #27 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter ( 4955): #28 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2225:33)
I/flutter ( 4955): #29 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:621:20)
I/flutter ( 4955): #30 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter ( 4955): #31 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter ( 4955): #32 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter ( 4955): #33 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
I/flutter ( 4955): #34 _invoke (dart:ui/hooks.dart:120:13)
I/flutter ( 4955): #35 _drawFrame (dart:ui/hooks.dart:109:3)
I/flutter ( 4955): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 4955): Another exception was thrown: Bad state: No element
I/flutter ( 4955): Another exception was thrown: Bad state: No element
I/flutter ( 4955): Another exception was thrown: Bad state: No element
I/flutter ( 4955): Another exception was thrown: Bad state: No element
I/flutter ( 4955): Another exception was thrown: Bad state: No element
I/flutter ( 4955): Another exception was thrown: Bad state: No element
I/flutter ( 4955): Another exception was thrown: Bad state: No element
I/flutter ( 4955): Another exception was thrown: Bad state: No element
The text was updated successfully, but these errors were encountered: