Skip to content

Failed to Hot Reload: DebugAdapterException: app 'null' not found #4542

Closed

Description

@DanTup

Happened while saving when an app was being launched:

Screenshot 2023-05-15 at 16 49 06

Activity

  1. added
    in flutterRelates to running Flutter apps
    in debuggingRelates to the debug adapter or process of running debug sessions
    on May 15, 2023
  2. added this to the v3.66.0 milestone on May 15, 2023
  3. modified the milestones: v3.66.0, v3.68.0 on May 31, 2023
  4. added
    relies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
    on Jun 5, 2023
  5. DanTup commented on Jun 19, 2023

    @DanTup
    MemberAuthor

    Fix landed in Flutter.

  6. merouane-tazeka commented on Jun 23, 2024

    @merouane-tazeka

    @DanTup in which version was it fixed.
    I am running 3.16.1 and I can't upgrade right now because it would bring breaking changes on my projects.
    I encounter that issue only when trying to debug a web app on my Linux server, but I don't get it when using my Mac, so I am not sure if the issue is related to Flutter or my Linux Server development environment.

  7. DanTup commented on Jun 23, 2024

    @DanTup
    MemberAuthor

    Based on the tags on flutter/flutter@46007d6, it appears the fix was around version 3.12 of Flutter. Since you're on newer than that, there might be a different issue.

    Are you able to test on the latest stable temporarily? You can make a new clone of the Flutter SDK into a new folder, then in a test project open the "Workspace Settings" from VS Code (in .vscode/settings.json in that projects folder), and add:

    "dart.flutterSdkPath": "/path/to/new/latest-stable-clone"

    This will use that SDK only for that project and let you test. If it's still not fixed there, then please file a new issue with as much detail as possible to help me reproduce the issue (and if I can't repro, I'll add notes on how to collect logs). Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsin flutterRelates to running Flutter appsis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions