Skip to content

Instantly share code, notes, and snippets.

@boustrophedon
Created August 18, 2017 23:35
Show Gist options
  • Save boustrophedon/0d06378b8e05d74e154e26fa9e37486a to your computer and use it in GitHub Desktop.
Save boustrophedon/0d06378b8e05d74e154e26fa9e37486a to your computer and use it in GitHub Desktop.
Assertion failure in gesture handling
I/flutter (23776): ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
I/flutter (23776): The following assertion was thrown while handling a gesture:
I/flutter (23776): 'package:flutter/src/widgets/scrollable.dart': Failed assertion: line 425: '_hold != null': is not
I/flutter (23776): true.
I/flutter (23776):
I/flutter (23776): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (23776): more information in this error message to help you determine and fix the underlying cause.
I/flutter (23776): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (23776): https://github.com/flutter/flutter/issues/new
I/flutter (23776):
I/flutter (23776): When the exception was thrown, this was the stack:
I/flutter (23776): #2 ScrollableState._handleDragStart (package:flutter/src/widgets/scrollable.dart:425)
I/flutter (23776): #3 DragGestureRecognizer.acceptGesture.<anonymous closure> (package:flutter/src/gestures/monodrag.dart:160)
I/flutter (23776): #4 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102)
I/flutter (23776): #5 DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:160)
I/flutter (23776): #6 GestureArenaManager._resolveInFavorOf (package:flutter/src/gestures/arena.dart:263)
I/flutter (23776): #7 GestureArenaManager._resolve (package:flutter/src/gestures/arena.dart:222)
I/flutter (23776): #8 GestureArenaEntry.resolve (package:flutter/src/gestures/arena.dart:52)
I/flutter (23776): #9 OneSequenceGestureRecognizer.resolve (package:flutter/src/gestures/recognizer.dart:166)
I/flutter (23776): #10 DragGestureRecognizer.handleEvent (package:flutter/src/gestures/monodrag.dart:147)
I/flutter (23776): #11 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:73)
I/flutter (23776): #12 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101)
I/flutter (23776): #13 BindingBase&SchedulerBinding&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:143)
I/flutter (23776): #14 BindingBase&SchedulerBinding&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121)
I/flutter (23776): #15 BindingBase&SchedulerBinding&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101)
I/flutter (23776): #16 BindingBase&SchedulerBinding&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64)
I/flutter (23776): #17 BindingBase&SchedulerBinding&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48)
I/flutter (23776): #18 _invoke1 (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:100)
I/flutter (23776): #19 _dispatchPointerDataPacket (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:58)
I/flutter (23776): (elided 2 frames from class _AssertionError)
I/flutter (23776):
I/flutter (23776): Handler: onStart
I/flutter (23776): Recognizer:
I/flutter (23776): HorizontalDragGestureRecognizer#b28a0
I/flutter (23776): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (23776): Another exception was thrown: 'package:flutter/src/widgets/scrollable.dart': Failed assertion: line 425: '_hold != null': is not true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment