Skip to content

[tool_crash] SessionNotCreatedException #185032

Closed as not planned
Closed as not planned

Description

@balajichavan

Command

flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_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:199:19)
<asynchronous suspension>
#6      DriveCommand.runCommand (package:flutter_tools/src/commands/drive.dart:387:30)
<asynchronous suspension>
#7      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1590:27)
<asynchronous suspension>
#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154: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:496:9)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:431:5)
<asynchronous suspension>
#13     FlutterCommandRunner.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:307:33)
<asynchronous suspension>
�[32m[✓]�[39m Flutter (Channel stable, 3.41.5, on Microsoft Windows [Version 10.0.19045.6466], locale en-IN) [546ms]
    �[32m•�[39m Flutter version 3.41.5 on channel stable at C:\Users\balajic\Downloads\flutter_windows_3.41.5-stable\flutter
    �[32m•�[39m Upstream repository https://github.com/flutter/flutter.git
    �[32m•�[39m Framework revision 2c9eb20739 (4 weeks ago), 2026-03-17 16:14:01 -0700
    �[32m•�[39m Engine revision 425cfb54d0
    �[32m•�[39m Dart version 3.11.4
    �[32m•�[39m DevTools version 2.54.2
    �[32m•�[39m Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, no-enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging,
      enable-uiscene-migration

�[32m[✓]�[39m Windows Version (10 Pro 64-bit, 22H2, 2009) [3.8s]

�[32m[✓]�[39m Android toolchain - develop for Android devices (Android SDK version 36.1.0) [7.6s]
    �[32m•�[39m Android SDK at C:\Users\balajic\AppData\Local\Android\Sdk
    �[32m•�[39m Emulator version 36.4.10.0 (build_id 15004761) (CL:N/A)
    �[32m•�[39m Platform android-36.1, build-tools 36.1.0
    �[32m•�[39m ANDROID_HOME = C:\Users\balajic\AppData\Local\Android\Sdk
    �[32m•�[39m Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    �[32m•�[39m Java version OpenJDK Runtime Environment (build 21.0.9+-14787801-b1163.94)
    �[32m•�[39m All Android licenses accepted.

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

�[32m[✓]�[39m Connected device (2 available) [353ms]
    �[32m•�[39m Chrome (web) • chrome • web-javascript • Google Chrome 146.0.7680.178
    �[32m•�[39m Edge (web)   • edge   • web-javascript • Microsoft Edge 146.0.3856.109

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

�[32m•�[39m No issues found!

Flutter Application Metadata

Type: app
Version: 1.0.0+7
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 2c9eb20

Plugins

connectivity_plus-6.1.5
flutter_local_notifications-18.0.1
google_mobile_ads-5.3.1
image_picker_ios-0.8.13+6
integration_test
package_info_plus-8.3.1
path_provider_foundation-2.6.0
purchases_flutter-8.11.0
share_plus-10.1.4
shared_preferences_foundation-2.5.6
sqlite3_flutter_libs-0.5.42
url_launcher_ios-6.4.1
webview_flutter_wkwebview-3.24.2
workmanager-0.7.0
flutter_plugin_android_lifecycle-2.0.34
image_picker_android-0.8.13+16
jni-1.0.0
jni_flutter-1.0.1
path_provider_android-2.3.1
shared_preferences_android-2.4.23
url_launcher_android-6.3.29
webview_flutter_android-4.10.15
file_selector_macos-0.9.5
image_picker_macos-0.2.2+1
url_launcher_macos-3.2.5
file_selector_linux-0.9.4
flutter_local_notifications_linux-5.0.0
image_picker_linux-0.2.2
path_provider_linux-2.2.1
shared_preferences_linux-2.4.1
url_launcher_linux-3.2.2
file_selector_windows-0.9.3+5
image_picker_windows-0.2.2
path_provider_windows-2.3.0
shared_preferences_windows-2.4.1
url_launcher_windows-3.1.5
image_picker_for_web-3.1.1
shared_preferences_web-2.4.3
url_launcher_web-2.4.2

Activity

  1. puneetkukreja98 commented on Apr 14, 2026

    @puneetkukreja98
    Contributor

    @balajichavan Thanks for filing this issue. This seems to be similar to #123602. You can see #123602 (comment) and #123602 (comment) for solution and check if it works for you.
    Also check #131297 (comment) and see what chromedriver version are you using and whether Downgrading chromedriver than your current version solves the issue or not.
    Closing from here, as this isn't related to flutter but could be related to the chromedriver version's compatibility. If you disagree, write in comments and I'll reopen it.

  2. added
    r: invalidIssue is closed as not valid
    and removed
    in triagePresently being triaged by the triage team
    on Apr 14, 2026
  3. github-actions commented on Apr 28, 2026

    @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.

  4. locked as resolved and limited conversation to collaborators on Apr 28, 2026
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

    r: invalidIssue is closed as not valid

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions