Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[web] browser back button throwsError: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/navigation/history.dart:311:14 #90031

Closed
flutter/engine
#28805
Labels
a: debuggingDebugging, breakpoints, expression evaluationc: regressionIt was better in the past than it is nowdependency: dartDart team may need to help usengineflutter/engine related. See also e: labels.found in release: 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specifically
@mathiuleo

Description

@mathiuleo

Hello,

I got this error on Flutter 2.5 and it only happen for web when i click back button from browser after hot restart.
I am using Navigator 2.0
Before i am using Flutter 2.2.2 and there are no error.

Error: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/navigation/history.dart:311:14_userProvidedRouteName != nullis not true    at Object.throw_ [as throw] (http://localhost:62292/dart_sdk.js:5061:11)    at Object.assertFailed (http://localhost:62292/dart_sdk.js:4986:15)    at _engine.SingleEntryBrowserHistory.new.onPopState (http://localhost:62292/dart_sdk.js:159565:59)

Below is spec :

$ flutter doctor -v[√] Flutter (Channel stable, 2.5.0, on Microsoft Windows [Version 10.0.19042.1165], locale en-ID)    • Flutter version 2.5.0 at D:\flutter    • Upstream repository https://github.com/flutter/flutter.git    • Framework revision 4cc385b4b8 (6 days ago), 2021-09-07 23:01:49 -0700    • Engine revision f0826da7ef    • Dart version 2.14.0[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)    • Android SDK at C:\Sdk    X cmdline-tools component is missing      Run `path/to/sdkmanager --install "cmdline-tools;latest"`      See https://developer.android.com/studio/command-line for more details.    X Android license status unknown.      Run `flutter doctor --android-licenses` to accept the SDK licenses.      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.[√] Chrome - develop for the web    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe[√] Android Studio (version 4.1)    • Android Studio at C:\Program Files\Android\Android Studio    • Flutter plugin can be installed from:       https://plugins.jetbrains.com/plugin/9212-flutter    • Dart plugin can be installed from:       https://plugins.jetbrains.com/plugin/6351-dart    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)[√] VS Code (version 1.59.0)    • VS Code at C:\Users\Mathiu\AppData\Local\Programs\Microsoft VS Code    • Flutter extension version 3.22.0[√] Connected device (2 available)    • Chrome (web) • chrome • web-javascript • Google Chrome 93.0.4577.63    • Edge (web)   • edge   • web-javascript • Microsoft Edge 93.0.961.44! Doctor found issues in 1 category.

Thank you and best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: debuggingDebugging, breakpoints, expression evaluationc: regressionIt was better in the past than it is nowdependency: dartDart team may need to help usengineflutter/engine related. See also e: labels.found in release: 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp