Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Platform-Web] App crashes with Expected a value of type 'FontCollectionNamespace', but got one of type 'Null' #123794

@asashour

Description

@asashour

Steps to Reproduce

  1. Create a new web project with IntelliJ with master on 8c5d223
  2. Run it with Chrome (web)

There is an error:

Rejecting promise with error: Expected a value of type 'FontCollectionNamespace', but got one of type 'Null'
_js_helper.TypeErrorImpl.new

flutter doctor -v
[!] Flutter (Channel master, 3.9.0-19.0.pre.71, on Microsoft Windows [Version 10.0.19045.2728], locale de-DE) 
    • Flutter version 3.9.0-19.0.pre.71 on channel master at c:\use\flutter                                   
    ! Upstream repository https://github.com/asashour/flutter is not a standard remote.                       
      Set environment variable "FLUTTER_GIT_URL" to https://github.com/asashour/flutter to dismiss this error.
    • Framework revision 8c5d223bab (47 minutes ago), 2023-03-30 09:19:14 -0700                               
    • Engine revision 7d190aa0e1                                                                              
    • Dart version 3.0.0 (build 3.0.0-384.0.dev)
    • DevTools version 2.22.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform
      update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\\AppData\Local\Android\Sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_SDK_ROOT = C:\Users\\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.4.33213.308
    • Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • 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 11.0.15+0-b2043.56-9505619)

[√] IntelliJ IDEA Community Edition (version 2022.3)
    • IntelliJ at C:\Users\\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-0\223.8836.41
    • Flutter plugin version 72.1.4
    • Dart plugin version 223.8888

[√] IntelliJ IDEA Community Edition (version 2023.1)
    • IntelliJ at C:\Users\\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-0\231.8109.175
    • Flutter plugin version 72.1.5
    • Dart plugin version 231.8109.91

[√] IntelliJ IDEA Ultimate Edition (version 2023.1)
    • IntelliJ at C:\Users\\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\231.8109.175
    • 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
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 111.0.5563.147
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 111.0.1661.44

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: debuggingDebugging, breakpoints, expression evaluationc: crashStack traces logged to the consolec: regressionIt was better in the past than it is nowfound in release: 3.9Found to occur in 3.9has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions