-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
found in release: 3.33Found to occur in 3.33Found to occur in 3.33found in release: 3.35Found to occur in 3.35Found to occur in 3.35frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamOwned by Framework team
Description
Steps to reproduce
Put the following test at the end of the main function in: packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart. Then run flutter test --verbose packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart
testWidgets('AdaptiveTextSelectionToolBar does not crash at zero area', (
WidgetTester tester,
) async {
await tester.pumpWidget(
const MaterialApp(
home: Center(
child: AdaptiveTextSelectionToolbar(
anchors: TextSelectionToolbarAnchors(primaryAnchor: Offset.zero),
children: null,
),
),
),
);
});Expected results
I think that the test should pass.
Actual results
The test fails with: 'Null check operator used on a null value'
Code sample
Code sample
testWidgets('AdaptiveTextSelectionToolBar does not crash at zero area', (
WidgetTester tester,
) async {
await tester.pumpWidget(
const MaterialApp(
home: Center(
child: AdaptiveTextSelectionToolbar(
anchors: TextSelectionToolbarAnchors(primaryAnchor: Offset.zero),
children: null,
),
),
),
);
});Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[ +22 ms] executing: uname -m
[ +8 ms] Exit code 0 from: uname -m
[ ] x86_64
[ +9 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +13 ms] Found 1 files which will be executed as Widget Tests.
[ +3 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'FlutterEngineStamp' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +60 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'FlutterEngineStamp' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +22 ms] executing: [/mnt/old_home/ahmed/Desktop/flutter/] /mnt/old_home/ahmed/Desktop/flutter/bin/cache/dart-sdk/bin/dart pub --suppress-analytics --color --directory . get
--example
Resolving dependencies...
Downloading packages...
_fe_analyzer_shared 82.0.0 (88.0.0 available)
adaptive_breakpoints 0.1.7 (discontinued)
analyzer 7.4.5 (8.1.1 available)
archive 3.6.1 (4.0.7 available)
characters 1.4.0 (1.4.1 available)
code_assets 0.19.4 (0.19.6 available)
dart_style 3.1.0 (3.1.2 available)
device_info 2.0.3 (discontinued replaced by device_info_plus)
ffigen 18.1.0 (19.1.0 available)
google_fonts 6.2.1 (6.3.1 available)
google_mobile_ads 5.1.0 (6.0.0 available)
googleapis 12.0.0 (14.0.0 available)
googleapis_auth 1.6.0 (2.0.0 available)
hooks 0.19.5 (0.20.1 available)
http 1.4.0 (1.5.0 available)
isolate 2.1.1 (discontinued)
js 0.7.2 (discontinued)
material_color_utilities 0.11.1 (0.13.0 available)
metrics_center 1.0.13 (1.0.14 available)
native_toolchain_c 0.16.8 (0.17.1 available)
path_provider_android 2.2.17 (2.2.18 available)
path_provider_foundation 2.4.1 (2.4.2 available)
pedantic 1.11.1 (discontinued replaced by lints)
petitparser 6.1.0 (7.0.1 available)
process 5.0.4 (5.0.5 available)
provider 6.1.5 (6.1.5+1 available)
shelf_web_socket 2.0.1 (3.0.0 available)
url_launcher_android 6.3.16 (6.3.18 available)
url_launcher_ios 6.3.3 (6.3.4 available)
url_launcher_macos 3.2.2 (3.2.3 available)
video_player_android 2.8.7 (2.8.13 available)
video_player_avfoundation 2.8.0 (2.8.4 available)
watcher 1.1.2 (1.1.3 available)
webview_flutter 4.9.0 (4.13.0 available)
webview_flutter_android 3.16.9 (4.10.1 available)
webview_flutter_platform_interface 2.13.1 (2.14.0 available)
webview_flutter_wkwebview 3.22.1 (3.23.0 available)
xml 6.5.0 (6.6.1 available)
Got dependencies!
5 packages are discontinued.
33 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
[ +820 ms] Found plugin webview_flutter_wkwebview at /home/ahmed/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.22.1/
[ +17 ms] Found plugin webview_flutter_android at /home/ahmed/.pub-cache/hosted/pub.dev/webview_flutter_android-3.16.9/
[ +4 ms] Found plugin webview_flutter at /home/ahmed/.pub-cache/hosted/pub.dev/webview_flutter-4.9.0/
[ +30 ms] Found plugin video_player_web at /home/ahmed/.pub-cache/hosted/pub.dev/video_player_web-2.4.0/
[ +5 ms] Found plugin video_player_avfoundation at /home/ahmed/.pub-cache/hosted/pub.dev/video_player_avfoundation-2.8.0/
[ +2 ms] Found plugin video_player_android at /home/ahmed/.pub-cache/hosted/pub.dev/video_player_android-2.8.7/
[ +2 ms] Found plugin video_player at /home/ahmed/.pub-cache/hosted/pub.dev/video_player-2.10.0/
[ +4 ms] Found plugin url_launcher_windows at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.4/
[ +5 ms] Found plugin url_launcher_web at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_web-2.4.1/
[ +3 ms] Found plugin url_launcher_macos at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.2/
[ +1 ms] Found plugin url_launcher_linux at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.1/
[ +2 ms] Found plugin url_launcher_ios at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.3/
[ +1 ms] Found plugin url_launcher_android at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.16/
[ +2 ms] Found plugin url_launcher at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher-6.3.2/
[ +50 ms] Found plugin path_provider_windows at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/
[ +4 ms] Found plugin path_provider_linux at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
[ +1 ms] Found plugin path_provider_foundation at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/
[ +1 ms] Found plugin path_provider_android at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_android-2.2.17/
[ +1 ms] Found plugin path_provider at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider-2.1.5/
[ +33 ms] Found plugin google_mobile_ads at /home/ahmed/.pub-cache/hosted/pub.dev/google_mobile_ads-5.1.0/
[ +15 ms] Found plugin device_info at /home/ahmed/.pub-cache/hosted/pub.dev/device_info-2.0.3/
[ +37 ms] Found plugin webview_flutter_wkwebview at /home/ahmed/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.22.1/
[ +6 ms] Found plugin webview_flutter_android at /home/ahmed/.pub-cache/hosted/pub.dev/webview_flutter_android-3.16.9/
[ +1 ms] Found plugin webview_flutter at /home/ahmed/.pub-cache/hosted/pub.dev/webview_flutter-4.9.0/
[ +9 ms] Found plugin video_player_web at /home/ahmed/.pub-cache/hosted/pub.dev/video_player_web-2.4.0/
[ +2 ms] Found plugin video_player_avfoundation at /home/ahmed/.pub-cache/hosted/pub.dev/video_player_avfoundation-2.8.0/
[ +2 ms] Found plugin video_player_android at /home/ahmed/.pub-cache/hosted/pub.dev/video_player_android-2.8.7/
[ +1 ms] Found plugin video_player at /home/ahmed/.pub-cache/hosted/pub.dev/video_player-2.10.0/
[ +3 ms] Found plugin url_launcher_windows at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.4/
[ +1 ms] Found plugin url_launcher_web at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_web-2.4.1/
[ ] Found plugin url_launcher_macos at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.2/
[ ] Found plugin url_launcher_linux at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.1/
[ ] Found plugin url_launcher_ios at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.3/
[ ] Found plugin url_launcher_android at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.16/
[ ] Found plugin url_launcher at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher-6.3.2/
[ +24 ms] Found plugin path_provider_windows at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/
[ +2 ms] Found plugin path_provider_linux at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
[ +1 ms] Found plugin path_provider_foundation at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/
[ +1 ms] Found plugin path_provider_android at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_android-2.2.17/
[ +1 ms] Found plugin path_provider at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider-2.1.5/
[ +12 ms] Found plugin google_mobile_ads at /home/ahmed/.pub-cache/hosted/pub.dev/google_mobile_ads-5.1.0/
[ +5 ms] Found plugin device_info at /home/ahmed/.pub-cache/hosted/pub.dev/device_info-2.0.3/
[ +66 ms] No packages with native assets. Skipping native assets compilation.
[ +1 ms] Writing native assets json to file:///mnt/old_home/ahmed/Desktop/flutter/build/native_assets/linux/native_assets.json.
[ +3 ms] Writing /mnt/old_home/ahmed/Desktop/flutter/build/native_assets/linux/native_assets.json done.
[ +333 ms] running test package with arguments: [--chain-stack-traces, --,
file:///mnt/old_home/ahmed/Desktop/flutter/packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart?]
00:00 +0: loading /mnt/old_home/ahmed/Desktop/flutter/packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart [ +210 ms] test 0: starting test /mnt/old_home/ahmed/Desktop/flutter/packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart
[ +4 ms] Discovered flutter_test_config.dart in /mnt/old_home/ahmed/Desktop/flutter/packages/flutter/test
[ +8 ms] Compiler will use the following file as its incremental dill file: /tmp/flutter_tools.DLLGND/flutter_test_compiler.KMCQEM/output.dill
[ ] Listening to compiler controller...
[ +9 ms] Compiling file:///tmp/flutter_tools.DLLGND/flutter_test_listener.CBHOST/listener.dart
[ +20 ms] Found plugin webview_flutter_wkwebview at /home/ahmed/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.22.1/
[ +4 ms] Found plugin webview_flutter_android at /home/ahmed/.pub-cache/hosted/pub.dev/webview_flutter_android-3.16.9/
[ +1 ms] Found plugin webview_flutter at /home/ahmed/.pub-cache/hosted/pub.dev/webview_flutter-4.9.0/
[ +7 ms] Found plugin video_player_web at /home/ahmed/.pub-cache/hosted/pub.dev/video_player_web-2.4.0/
[ +1 ms] Found plugin video_player_avfoundation at /home/ahmed/.pub-cache/hosted/pub.dev/video_player_avfoundation-2.8.0/
[ ] Found plugin video_player_android at /home/ahmed/.pub-cache/hosted/pub.dev/video_player_android-2.8.7/
[ ] Found plugin video_player at /home/ahmed/.pub-cache/hosted/pub.dev/video_player-2.10.0/
[ +1 ms] Found plugin url_launcher_windows at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.4/
[ +1 ms] Found plugin url_launcher_web at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_web-2.4.1/
[ ] Found plugin url_launcher_macos at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.2/
[ ] Found plugin url_launcher_linux at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.1/
[ ] Found plugin url_launcher_ios at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.3/
[ ] Found plugin url_launcher_android at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.16/
[ ] Found plugin url_launcher at /home/ahmed/.pub-cache/hosted/pub.dev/url_launcher-6.3.2/
[ +16 ms] Found plugin path_provider_windows at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/
[ +1 ms] Found plugin path_provider_linux at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
[ ] Found plugin path_provider_foundation at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/
[ ] Found plugin path_provider_android at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider_android-2.2.17/
[ ] Found plugin path_provider at /home/ahmed/.pub-cache/hosted/pub.dev/path_provider-2.1.5/
[ +8 ms] Found plugin google_mobile_ads at /home/ahmed/.pub-cache/hosted/pub.dev/google_mobile_ads-5.1.0/
[ +5 ms] Found plugin device_info at /home/ahmed/.pub-cache/hosted/pub.dev/device_info-2.0.3/
[ +17 ms] Skipping generating dart_plugin_registrant.dart because it is up-to-date.
[ +4 ms] /mnt/old_home/ahmed/Desktop/flutter/bin/cache/dart-sdk/bin/dartaotruntime
/mnt/old_home/ahmed/Desktop/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server_aot.dart.snapshot --sdk-root
/mnt/old_home/ahmed/Desktop/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --no-print-incremental-dependencies --target=flutter
--experimental-emit-debug-metadata -DFLUTTER_VERSION=3.33.0-1.0.pre-1343 -DFLUTTER_CHANNEL=[user-branch] [email protected]:ahmedsameha1/flutter.git
-DFLUTTER_FRAMEWORK_REVISION=bfe9dd4729 -DFLUTTER_ENGINE_REVISION=d77a9629f2 -DFLUTTER_DART_VERSION=3.10.0 (build 3.10.0-81.0.dev) --output-dill
/tmp/flutter_tools.DLLGND/flutter_test_compiler.KMCQEM/output.dill --packages /mnt/old_home/ahmed/Desktop/flutter/.dart_tool/package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --initialize-from-dill
/mnt/old_home/ahmed/Desktop/flutter/build/test_cache/build/8e3afe6e99b6f1f2325a3fe69f909a29.cache.dill.track.dill --verbosity=error
[ +15 ms] <- compile file:///tmp/flutter_tools.DLLGND/flutter_test_listener.CBHOST/listener.dart
00:01 +0: loading /mnt/old_home/ahmed/Desktop/flutter/packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart [+1484 ms] <- accept
[ ] <- reset
[ ] Compiling file:///tmp/flutter_tools.DLLGND/flutter_test_listener.CBHOST/listener.dart took 1596ms
[ ] test 0: starting test device
[ +4 ms] test 0: awaiting connection to test device
[ +1 ms] test 0: VM Service uri is not available
[ +5 ms] test 0: test harness socket server is running at port:39073
[ +1 ms] Using this directory for fonts configuration: /tmp/flutter_tools.DLLGND/flutter_test_fonts.CWBOHK
[ ] test 0: Starting flutter_tester process with command=[/mnt/old_home/ahmed/Desktop/flutter/bin/cache/artifacts/engine/linux-x64/flutter_tester, --disable-vm-service,
--enable-checked-mode, --verify-entry-points, --enable-software-rendering, --skia-deterministic-rendering, --enable-dart-profiling, --non-interactive, --use-test-fonts,
--disable-asset-fonts, --packages=/mnt/old_home/ahmed/Desktop/flutter/.dart_tool/package_config.json,
--flutter-assets-dir=/mnt/old_home/ahmed/Desktop/flutter/build/unit_test_assets, /tmp/flutter_tools.DLLGND/flutter_test_listener.CBHOST/listener.dart.dill],
environment={FLUTTER_TEST: true, FONTCONFIG_FILE: /tmp/flutter_tools.DLLGND/flutter_test_fonts.CWBOHK/fonts.conf, SERVER_PORT: 39073, APP_NAME: _flutter_packages,
UNIT_TEST_ASSETS: /mnt/old_home/ahmed/Desktop/flutter/build/unit_test_assets}
[ +6 ms] test 0: Started flutter_tester process at pid 19202
00:02 +0: loading /mnt/old_home/ahmed/Desktop/flutter/packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart [ +499 ms] test 0: connected to test device, now awaiting test result
[ ] test 0: Waiting for test harness or tests to finish
00:06 +31: AdaptiveTextSelectionToolBar does not crash at zero area
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following _TypeError was thrown building AdaptiveTextSelectionToolbar(dirty):
Null check operator used on a null value
When the exception was thrown, this was the stack:
#0 AdaptiveTextSelectionToolbar.build (package:flutter/src/material/adaptive_text_selection_toolbar.dart:306:50)
#1 StatelessElement.build (package:flutter/src/widgets/framework.dart:5791:49)
#2 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5723:15)
#3 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#4 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5705:5)
#5 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5699:5)
... Normal element mounting (231 frames)
#236 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4548:16)
#237 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:7169:36)
#238 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:7185:32)
... Normal element mounting (465 frames)
#703 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4548:16)
#704 Element.updateChild (package:flutter/src/widgets/framework.dart:3998:20)
#705 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5747:16)
#706 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#707 ProxyElement.update (package:flutter/src/widgets/framework.dart:6051:5)
#708 _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:108:11)
#709 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#710 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5747:16)
#711 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5884:11)
#712 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#713 StatefulElement.update (package:flutter/src/widgets/framework.dart:5909:5)
#714 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#715 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5747:16)
#716 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#717 ProxyElement.update (package:flutter/src/widgets/framework.dart:6051:5)
#718 _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:108:11)
#719 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#720 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5747:16)
#721 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5884:11)
#722 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#723 StatefulElement.update (package:flutter/src/widgets/framework.dart:5909:5)
#724 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#725 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5747:16)
#726 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5884:11)
#727 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#728 StatefulElement.update (package:flutter/src/widgets/framework.dart:5909:5)
#729 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#730 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5747:16)
#731 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#732 ProxyElement.update (package:flutter/src/widgets/framework.dart:6051:5)
#733 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#734 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5747:16)
#735 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5884:11)
#736 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#737 StatefulElement.update (package:flutter/src/widgets/framework.dart:5909:5)
#738 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#739 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5747:16)
#740 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#741 ProxyElement.update (package:flutter/src/widgets/framework.dart:6051:5)
#742 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#743 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5747:16)
#744 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#745 ProxyElement.update (package:flutter/src/widgets/framework.dart:6051:5)
#746 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#747 _RawViewElement._updateChild (package:flutter/src/widgets/view.dart:481:16)
#748 _RawViewElement.update (package:flutter/src/widgets/view.dart:568:5)
#749 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#750 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5747:16)
#751 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#752 StatelessElement.update (package:flutter/src/widgets/framework.dart:5797:5)
#753 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#754 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5747:16)
#755 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5884:11)
#756 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#757 StatefulElement.update (package:flutter/src/widgets/framework.dart:5909:5)
#758 Element.updateChild (package:flutter/src/widgets/framework.dart:3982:15)
#759 RootElement._rebuild (package:flutter/src/widgets/binding.dart:1782:16)
#760 RootElement.update (package:flutter/src/widgets/binding.dart:1760:5)
#761 RootElement.performRebuild (package:flutter/src/widgets/binding.dart:1774:7)
#762 Element.rebuild (package:flutter/src/widgets/framework.dart:5435:7)
#763 BuildScope._tryRebuild (package:flutter/src/widgets/framework.dart:2695:15)
#764 BuildScope._flushDirtyElements (package:flutter/src/widgets/framework.dart:2752:11)
#765 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:3056:18)
#766 AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1506:19)
#767 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:495:5)
#768 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1434:15)
#769 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1347:9)
#770 AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1335:9)
#773 TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:74:41)
#774 AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1324:27)
#775 WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:598:22)
#778 TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:74:41)
#779 WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:595:27)
#780 main.<anonymous closure> (file:///mnt/old_home/ahmed/Desktop/flutter/packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart:433:18)
#781 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:192:29)
<asynchronous suspension>
#782 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1059:5)
<asynchronous suspension>
<asynchronous suspension>
(elided 5 frames from dart:async and package:stack_trace)
════════════════════════════════════════════════════════════════════════════════════════════════════
00:06 +31 -1: AdaptiveTextSelectionToolBar does not crash at zero area [E]
Test failed. See exception logs above.
The test description was: AdaptiveTextSelectionToolBar does not crash at zero area
To run this test again: /mnt/old_home/ahmed/Desktop/flutter/bin/cache/dart-sdk/bin/dart test /mnt/old_home/ahmed/Desktop/flutter/packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart -p vm --plain-name 'AdaptiveTextSelectionToolBar does not crash at zero area'
[+3879 ms] test 0: Test harness is no longer needed by test process
[ ] test 0: finished
[ +1 ms] test 0: cleaning up...
[ ] test 0: ensuring test device is terminated.
[ ] test 0: Terminating flutter_tester process
[ ] test 0: Shutting down DevTools server
[ ] test 0: Test process is no longer needed by test harness
[ +1 ms] test 0: Shutting down test harness socket server
[ +9 ms] test 0: flutter_tester process at pid 19202 exited with code=-9
[ ] test 0: deleting temporary directory
[ +5 ms] test 0: finished
00:06 +31 -1: Some tests failed.
[ +6 ms] Deleting /tmp/flutter_tools.DLLGND/flutter_test_compiler.KMCQEM...
[ +5 ms] killing pid 19193
[ +15 ms] Deleting /tmp/flutter_tools.DLLGND/flutter_test_fonts.CWBOHK...
[ +2 ms] test package returned with exit code 1
[ ] Runtime for phase TestRunner: Wall-clock: 0:00:06.291644; combined: 0:00:06.292753.
[ ] Runtime for phase Compile: Wall-clock: 0:00:01.597166; combined: 0:00:01.597200.
[ ] Runtime for phase Run: Wall-clock: 0:00:04.398869; combined: 0:00:04.398872.
[ ] Runtime for phase CoverageTotal: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000.
[ ] Runtime for phase CoverageCollect: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000.
[ ] Runtime for phase CoverageParseJson: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000.
[ ] Runtime for phase CoverageAddHitmap: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000.
[ ] Runtime for phase CoverageDataCollect: Wall-clock: 0:00:00.000000; combined: 0:00:00.000000.
[ ] Runtime for phase WatcherFinishedTest: Wall-clock: 0:00:00.000649; combined: 0:00:00.000651.
[ +8 ms] "flutter test" took 7,925ms.
[ +7 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:34:3)
#1 TestCommand.runCommand (package:flutter_tools/src/commands/test.dart:714:7)
<asynchronous suspension>
#2 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1559:27)
<asynchronous suspension>
#3 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:494:9)
<asynchronous suspension>
#6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:429:5)
<asynchronous suspension>
#8 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:101:11)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#10 main (package:flutter_tools/executable.dart:105:3)
<asynchronous suspension>
[ +1 ms] Running 3 shutdown hooks
[ ] Shutdown hooks complete
[ ] exiting with code 1Flutter Doctor output
Doctor output
[!] Flutter (Channel [user-branch], 3.33.0-1.0.pre-1343, on Debian GNU/Linux 12 (bookworm) 6.1.0-38-amd64, locale en_US.UTF-8) [208ms]
! Flutter version 3.33.0-1.0.pre-1343 on channel [user-branch] at /mnt/old_home/ahmed/Desktop/flutter
Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/setup.
! Warning: `flutter` on your path resolves to /opt/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /mnt/old_home/ahmed/Desktop/flutter.
Consider adding /mnt/old_home/ahmed/Desktop/flutter/bin to the front of your path.
! Warning: `dart` on your path resolves to /opt/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /mnt/old_home/ahmed/Desktop/flutter. Consider
adding /mnt/old_home/ahmed/Desktop/flutter/bin to the front of your path.
! Upstream repository [email protected]:ahmedsameha1/flutter.git is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to [email protected]:ahmedsameha1/flutter.git to dismiss this error.
• Framework revision bfe9dd4729 (2 weeks ago), 2025-08-14 07:03:26 +0300
• Engine revision d77a9629f2
• Dart version 3.10.0 (build 3.10.0-81.0.dev)
• DevTools version 2.49.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets,
enable-lldb-debugging
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [201ms]
• Android SDK at /home/ahmed/android/android_sdk/
• Emulator version 35.6.11.0 (build_id 13610412) (CL:N/A)
✗ cmdline-tools component is missing.
Try installing or updating Android Studio.
Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure to set the ANDROID_HOME environment variable.
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/to/linux-android-setup for more details.
[✓] Chrome - develop for the web [23ms]
• Chrome at google-chrome
[✗] Linux toolchain - develop for Linux desktop [55ms]
✗ clang++ is required for Linux development.
It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from https://releases.llvm.org/
✗ CMake is required for Linux development.
It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from https://cmake.org/download/
✗ ninja is required for Linux development.
It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from https://github.com/ninja-build/ninja/releases
✗ pkg-config is required for Linux development.
It is likely available from your distribution (e.g.: apt install pkg-config), or can be downloaded from https://www.freedesktop.org/wiki/Software/pkg-config/
[✓] Connected device (2 available) [175ms]
• Linux (desktop) • linux • linux-x64 • Debian GNU/Linux 12 (bookworm) 6.1.0-38-amd64
• Chrome (web) • chrome • web-javascript • Google Chrome 139.0.7258.138
[✓] Network resources [1,193ms]
• All expected network resources are available.
! Doctor found issues in 3 categories.
ksokolovskyi
Metadata
Metadata
Assignees
Labels
found in release: 3.33Found to occur in 3.33Found to occur in 3.33found in release: 3.35Found to occur in 3.35Found to occur in 3.35frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamOwned by Framework team