Skip to content

[tool_crash] SessionNotCreatedException #174195

Closed

Description

@agrahariak

Command

flutter drive --driver=test_driver/integration_test.dart --dart-define=reCaptchaSiteKey=6LdMbXXXXXXXXXxXRwGNbmgXXXXXXXXXXX --dart-define=googleAppKey=AIzaXXXXXXXXXXXXXXXX0EvNO_XXXXXXXXXXX --target=integration_test/talentprofiledetailsssmoke_test.dart -d chrome

Steps to Reproduce

  1. ...
  2. ...
  3. ...

Logs

SessionNotCreatedException

#0      parseW3cResponse (package:webdriver/src/handler/w3c/utils.dart:81:9)
#1      W3cSessionHandler.parseCreateResponse (package:webdriver/src/handler/w3c/session.dart:19:21)
#2      InferSessionHandler.parseCreateResponse (package:webdriver/src/handler/infer_handler.dart:106:34)
#3      AsyncRequestClient.send (package:webdriver/src/common/request_client.dart:96:32)
<asynchronous suspension>
#4      createDriver (package:webdriver/async_core.dart:62:19)
<asynchronous suspension>
#5      WebDriverService.startTest (package:flutter_tools/src/drive/web_driver_service.dart:157:19)
<asynchronous suspension>
#6      DriveCommand.runCommand (package:flutter_tools/src/commands/drive.dart:330:30)
<asynchronous suspension>
#7      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1450:27)
<asynchronous suspension>
#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#9      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#10     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:421:9)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
<asynchronous suspension>
#13     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:131:9)
<asynchronous suspension>
�[32m[✓]�[39m Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.19045.6093], locale en-GB)
    �[32m•�[39m Flutter version 3.27.1 on channel stable at C:\flutter_windows_3.27.1-stable\flutter
    �[32m•�[39m Upstream repository https://github.com/flutter/flutter.git
    �[32m•�[39m Framework revision 17025dd882 (8 months ago), 2024-12-17 03:23:09 +0900
    �[32m•�[39m Engine revision cb4b5fff73
    �[32m•�[39m Dart version 3.6.0
    �[32m•�[39m DevTools version 2.40.2

�[32m[✓]�[39m Windows Version (Installed version of Windows is version 10 or higher)

�[31m[✗]�[39m Android toolchain - develop for Android devices
    �[31m✗�[39m Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/windows-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


�[32m[✓]�[39m Chrome - develop for the web
    �[32m•�[39m Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

�[31m[✗]�[39m Visual Studio - develop Windows apps
    �[31m✗�[39m Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

�[33m[!]�[39m Android Studio (not installed)
    �[32m•�[39m Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/to/windows-android-setup for detailed instructions).

�[32m[✓]�[39m VS Code (version 1.103.1)
    �[32m•�[39m VS Code at C:\Users\agrahariak\AppData\Local\Programs\Microsoft VS Code
    �[32m•�[39m Flutter extension version 3.116.0

�[32m[✓]�[39m Connected device (3 available)
    �[32m•�[39m Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.6093]
    �[32m•�[39m Chrome (web)      • chrome  • web-javascript • Google Chrome 137.0.7151.41
    �[32m•�[39m Edge (web)        • edge    • web-javascript • Microsoft Edge 139.0.3405.102

�[32m[✓]�[39m Network resources
    �[32m•�[39m All expected network resources are available.

�[33m!�[39m Doctor found issues in 3 categories.

Flutter Application Metadata

Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 77d935a

Plugins

emoji_picker_flutter-3.1.0
file_picker-8.3.1
file_selector_linux-0.9.3+2
file_selector_macos-0.9.4+2
file_selector_windows-0.9.3+3
flutter_dropzone-4.2.1
flutter_dropzone_web-4.2.0
flutter_keyboard_visibility-6.0.0
flutter_keyboard_visibility_linux-1.0.0
flutter_keyboard_visibility_macos-1.0.0
flutter_keyboard_visibility_web-2.0.0
flutter_keyboard_visibility_windows-1.0.0
flutter_native_splash-2.4.4
flutter_plugin_android_lifecycle-2.0.24
flutter_secure_storage-9.2.4
flutter_secure_storage_linux-1.2.2
flutter_secure_storage_macos-3.1.3
flutter_secure_storage_web-1.2.1
flutter_secure_storage_windows-3.1.2
flutter_timezone-3.0.1
g_recaptcha_v3-0.0.5
google_maps_flutter-2.10.0
google_maps_flutter_android-2.14.12
google_maps_flutter_ios-2.13.2
google_maps_flutter_web-0.5.10
image_cropper-8.1.0
image_cropper_for_web-6.0.2
image_picker-1.1.2
image_picker_android-0.8.12+20
image_picker_for_web-3.0.6
image_picker_ios-0.8.12+2
image_picker_linux-0.2.1+1
image_picker_macos-0.2.1+2
image_picker_windows-0.2.1+1
integration_test
package_info_plus-8.1.4
path_provider-2.1.5
path_provider_android-2.2.15
path_provider_foundation-2.4.1
path_provider_linux-2.2.1
path_provider_windows-2.3.0
pointer_interceptor-0.10.1+2
pointer_interceptor_ios-0.10.1
pointer_interceptor_web-0.10.2+1
share_plus-10.1.4
shared_preferences-2.5.1
shared_preferences_android-2.4.4
shared_preferences_foundation-2.5.4
shared_preferences_linux-2.4.1
shared_preferences_web-2.4.2
shared_preferences_windows-2.4.1
url_launcher-6.3.1
url_launcher_android-6.3.14
url_launcher_ios-6.3.2
url_launcher_linux-3.2.1
url_launcher_macos-3.2.2
url_launcher_web-2.4.0
url_launcher_windows-3.1.4

Activity

  1. darshankawar commented on Aug 21, 2025

    @darshankawar
    Member

    Original issue was #141010 which was closed as not planned, but @agrahariak You are not on recent or latest version. If you could try to upgrade to latest and re-run your scenario, can you check if it still occurs or not ?

  2. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Aug 21, 2025
  3. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    in triagePresently being triaged by the triage team
    and removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    in triagePresently being triaged by the triage team
    on Aug 22, 2025
  4. github-actions commented on Sep 12, 2025

    @github-actions

    Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now.
    If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones.
    Thanks for your contribution.

  5. github-actions commented on Sep 26, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Sep 26, 2025
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 triagePresently being triaged by the triage teamwaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions