Repository navigation
TextField is looking for a ticker and can't find it... #9158
Copy link
Copy link
Closed
Labels
d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
[00034.730] 02493.02530> The following NoSuchMethodError was thrown while handling a gesture:
[00034.730] 02493.02530> The method 'createTicker' was called on null.
[00034.730] 02493.02530> Receiver: null
[00034.730] 02493.02530> Tried calling: createTicker(Closure: (Duration) => void from Function '_tick@58066280':.)
[00034.730] 02493.02530>
[00034.730] 02493.02530> When the exception was thrown, this was the stack:
[00034.734] 02493.02530> #0 Object._noSuchMethod (dart:core-patch/object_patch.dart:43)
[00034.734] 02493.02530> #1 Object.noSuchMethod (dart:core-patch/object_patch.dart:47)
[00034.734] 02493.02530> #2 AnimationController.AnimationController (package:flutter/src/animation/animation_controller.dart:93)
[00034.734] 02493.02530> #3 TextSelectionOverlay.TextSelectionOverlay (package:flutter/src/widgets/text_selection.dart:103)
[00034.734] 02493.02530> #4 EditableTextState._handleSelectionChanged (package:flutter/src/widgets/editable_text.dart:334)
[00034.735] 02493.02530> #5 RenderEditable._handleTap (package:flutter/src/rendering/editable.dart:329)
[00034.735] 02493.02530> #6 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:65)
[00034.735] 02493.02530> #7 TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:148)
[00034.735] 02493.02530> #8 TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:119)
[00034.735] 02493.02530> #9 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:119)
[00034.735] 02493.02530> #10 BindingBase&SchedulerBinding&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:126)
[00034.735] 02493.02530> #11 BindingBase&SchedulerBinding&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:100)
[00034.735] 02493.02530> #12 BindingBase&SchedulerBinding&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:81)
[00034.735] 02493.02530> #13 BindingBase&SchedulerBinding&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:40)
[00034.735] 02493.02530> #14 BindingBase&SchedulerBinding&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:33)
[00034.735] 02493.02530> #15 _dispatchPointerDataPacket (~/fuchsia/flutter/lib/ui/hooks.dart:73)
[00034.735] 02493.02530>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Activity
apwilson commentedon Apr 3, 2017
Hmm, looks like a TextField needs to be a child of an Overlay?
At a minimum this should be mentioned in the TextField docs.
abarth commentedon Apr 3, 2017
Yes, it needs an overlay.
Hixie commentedon Apr 4, 2017
We should also have it assert that wants an Overlay if that's really the cause of that exception. The current failure mode is absurd and horrible.
apwilson commentedon Apr 4, 2017
It does assert. I was running in release mode though so I didn't hit the assert.
eseidelGoogle commentedon Apr 12, 2017
Sounds like we're keeping this to provide a better failure mode in the Framework?
Hixie commentedon Apr 12, 2017
If you were running in release mode I don't think there's much we can do to help you.
Roll engine 69ebe5f..a4b7d1c (3 commits)
Roll engine 69ebe5f..a4b7d1c (3 commits) (#33697)
github-actions commentedon Aug 15, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.