Skip to content

LateError at ModalRoute.changedInternalState #170250

Open
@math1man

Description

@math1man

Steps to reproduce

Crash identified in production, haven't found reproduction steps.

Expected results

Should not crash

Actual results

Crash:

LateError: widgets library
  at ModalRoute.changedInternalState	(routes.dart: 2032)
  at ModalRoute.didChangeNext	(routes.dart: 2013)
  at NavigatorState._flushRouteAnnouncement	(navigator.dart: 4517)
  at NavigatorState._flushHistoryUpdates	(navigator.dart: 4456)
  at NavigatorState._updatePages	(navigator.dart: 4315)
  at NavigatorState.didUpdateWidget	(navigator.dart: 3953)
  at StatefulElement.update	(framework.dart: 5806)
  at Element.updateChild	(framework.dart: 3944)
  at Element.inflateWidget	(framework.dart: 4473)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at StatefulElement.performRebuild	(framework.dart: 5797)
  at StatefulElement.update	(framework.dart: 5820)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at ProxyElement.update	(framework.dart: 5963)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at StatelessElement.update	(framework.dart: 5710)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at StatelessElement.update	(framework.dart: 5710)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at StatelessElement.update	(framework.dart: 5710)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at ProxyElement.update	(framework.dart: 5963)
  at _InheritedProviderScopeElement.update	(inherited_provider.dart: 523)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at StatelessElement.update	(framework.dart: 5710)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at StatefulElement.performRebuild	(framework.dart: 5797)
  at StatefulElement.update	(framework.dart: 5820)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at StatefulElement.performRebuild	(framework.dart: 5797)
  at StatefulElement.update	(framework.dart: 5820)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at StatelessElement.update	(framework.dart: 5710)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at StatefulElement.performRebuild	(framework.dart: 5797)
  at StatefulElement.update	(framework.dart: 5820)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at StatelessElement.update	(framework.dart: 5710)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at ProxyElement.update	(framework.dart: 5963)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at ProxyElement.update	(framework.dart: 5963)
  at ComponentElement.performRebuild	(framework.dart: 5659)
  at StatefulElement.performRebuild	(framework.dart: 5797)
  at BuildScope._tryRebuild	(framework.dart: 2697)
  at BuildScope._flushDirtyElements	(framework.dart: 2756)
  at BuildOwner.buildScope	(framework.dart: 3051)
  at WidgetsBinding.drawFrame	(binding.dart: 1176)
  at RendererBinding._handlePersistentFrameCallback	(binding.dart: 475)
  at RendererBinding._handlePersistentFrameCallback	(binding.dart: 474)
  at SchedulerBinding._invokeFrameCallback	(binding.dart: 1397)
  at SchedulerBinding.handleDrawFrame	(binding.dart: 1318)
  at SchedulerBinding._handleDrawFrame	(binding.dart: 1176)
  at SchedulerBinding._handleDrawFrame	(binding.dart: 1158)
  at _invoke	(hooks.dart: 312)
  at PlatformDispatcher._drawFrame	(platform_dispatcher.dart: 427)
  at _drawFrame	(hooks.dart: 283)
  at _drawFrame	(hooks.dart: 281)

Code sample

I'm not able to reproduce locally

Screenshots or Video

No response

Logs

No response

Flutter Doctor output

Doctor output

N/A, google internal client

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions