-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Closed
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consolecustomer: dream (g3)f: gesturesflutter/packages/flutter/gestures repository.flutter/packages/flutter/gestures repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
Framework crash from internal b/249091367
UnknownError: Null check operator used on a null value
at DragGestureRecognizer.acceptGesture(monodrag.dart:334)
at GestureArenaManager._resolveByDefault(arena.dart:251)
at GestureArenaManager._tryToResolveArena.<anonymous closure>(arena.dart:232)
at _rootRun(zone.dart:1418)
at _rootRun(zone.dart:1417)
at _CustomZone.run(zone.dart:1328)
at _CustomZone.runGuarded(zone.dart:1236)
at _CustomZone.bindCallbackGuarded.<anonymous closure>(zone.dart:1276)
at _rootRun(zone.dart:1426)
at _rootRun(zone.dart:1417)
at _CustomZone.run(zone.dart:1328)
at _CustomZone.runGuarded(zone.dart:1236)
at _CustomZone.bindCallbackGuarded.<anonymous closure>(zone.dart:1276)
at _microtaskLoop(schedule_microtask.dart:40)
at _startMicrotaskLoop(schedule_microtask.dart:49)
at _startMicrotaskLoop(schedule_microtask.dart:44)
Although the line numbers are different (I'm not sure the exact framework version used in the app this stacktrace is from), I'm pretty sure it's this line: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/gestures/monodrag.dart#L367
final Duration timestamp = _lastPendingEventTimestamp!;It's difficult to reason about how we got into this state, but maybe the easiest fix would be to just let _checkStart(timestamp, pointer) be a no-op when timestamp == null, WDYT @dkwingsmt?
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consolecustomer: dream (g3)f: gesturesflutter/packages/flutter/gestures repository.flutter/packages/flutter/gestures repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.