Skip to content

Crash in OverscrollIndicator #189589

Description

@math1man

Steps to reproduce

Unclear, observed crash in production.

(animation_controller.dart:918:5)	AnimationController.dispose
(overscroll_indicator.dart:1005:9)	_StretchController.animate.<anonymous function>
(zone_root.dart:27:46)	_rootRun
(zone.dart:810:12)	_CustomZone.run
(future_impl.dart:186:29)	_FutureListener.handleWhenComplete
(future_impl.dart:974:11)	_Future._propagateToListeners
(future_impl.dart::720:5)	_Future._completeWithValue
(future_impl.dart:804:7)	_Future._asyncCompleteWithValue.<anonymous function>
(zone_root.dart:35:12)	_rootRun
(zone.dart:810:12)	_CustomZone.run

The root cause is the hard null-dereference on this line:

Expected results

No crash

Actual results

Crash

Code sample

N/A

Screenshots or Video

N/A

Logs

N/A

Flutter Doctor output

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consolef: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions