-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Platform
Linux
Plugin
network_info_plus
Version
3.0.3
Flutter SDK
3.7.11
Steps to reproduce
- using
NetworkInfo().getWifiIP()
while disconnected with network
Line:
plus_plugins/packages/network_info_plus/network_info_plus/lib/src/network_info_plus_linux.dart
Line 94 in 7cdcc66
return data?.firstOrNull?['address'] as String; |
Code Sample
NetworkInfo().getWifiIP()
Logs
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'String' in type cast
#0 NetworkInfoPlusLinuxPlugin._getIpAddress (package:network_info_plus/src/network_info_plus_linux.dart:94:42)
#1 NetworkInfoPlusLinuxPlugin.getWifiIP.<anonymous closure> (package:network_info_plus/src/network_info_plus_linux.dart:35:29)
#2 NetworkInfoPlusLinuxPlugin._getConnectionValue (package:network_info_plus/src/network_info_plus_linux.dart:88:25)
<asynchronous suspension>```
[ +32 ms] executing: uname -m
[ +8 ms] Exit code 0 from: uname -m
[ ] x86_64
[ +1 ms] executing: [/home/user/.local/opt/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +4 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] f72efea43c3013323d1b95cff571f3c1caa37583
[ ] executing: [/home/user/.local/opt/flutter/] git tag --points-at f72efea43c3013323d1b95cff571f3c1caa37583
[ +15 ms] Exit code 0 from: git tag --points-at f72efea43c3013323d1b95cff571f3c1caa37583
[ ] 3.7.11
[ +10 ms] executing: [/home/user/.local/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[ ] origin/stable
[ ] executing: [/home/user/.local/opt/flutter/] git ls-remote --get-url origin
[ +2 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +27 ms] executing: [/home/user/.local/opt/flutter/] git rev-parse --abbrev-ref HEAD
[ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +23 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.
[ +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.
[ +78 ms] executing: /home/user/.local/opt/Android/platform-tools/adb devices -l
[ +44 ms] List of devices attached
[ +5 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.
[ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +6 ms] 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.
[ +108 ms] Skipping pub get: version match.
[ +36 ms] Found plugin download_manager at
/home/user/.pub-cache/git/download_manager_flutter-7616c6250797c8b4857cce85a4c9e27eda14b099/
[ +18 ms] Found plugin connectivity_plus at /home/user/.pub-cache/hosted/pub.dev/connectivity_plus-3.0.4/
[ +13 ms] Found plugin desktop_drop at /home/user/.pub-cache/hosted/pub.dev/desktop_drop-0.4.1/
[ +5 ms] Found plugin file_picker at /home/user/.pub-cache/hosted/pub.dev/file_picker-5.2.11/
[ +3 ms] Found plugin flutter_plugin_android_lifecycle at
/home/user/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.9/
[ +14 ms] Found plugin network_info_plus at /home/user/.pub-cache/hosted/pub.dev/network_info_plus-3.0.3/
[ +23 ms] Found plugin url_launcher at /home/user/.pub-cache/hosted/pub.dev/url_launcher-6.1.10/
[ +2 ms] Found plugin url_launcher_android at /home/user/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.27/
[ +2 ms] Found plugin url_launcher_ios at /home/user/.pub-cache/hosted/pub.dev/url_launcher_ios-6.1.4/
[ +1 ms] Found plugin url_launcher_linux at /home/user/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.4/
[ +2 ms] Found plugin url_launcher_macos at /home/user/.pub-cache/hosted/pub.dev/url_launcher_macos-3.0.5/
[ +6 ms] Found plugin url_launcher_web at /home/user/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.16/
[ +1 ms] Found plugin url_launcher_windows at /home/user/.pub-cache/hosted/pub.dev/url_launcher_windows-3.0.5/
[ +127 ms] Found plugin download_manager at
/home/user/.pub-cache/git/download_manager_flutter-7616c6250797c8b4857cce85a4c9e27eda14b099/
[ +6 ms] Found plugin connectivity_plus at /home/user/.pub-cache/hosted/pub.dev/connectivity_plus-3.0.4/
[ +7 ms] Found plugin desktop_drop at /home/user/.pub-cache/hosted/pub.dev/desktop_drop-0.4.1/
[ +2 ms] Found plugin file_picker at /home/user/.pub-cache/hosted/pub.dev/file_picker-5.2.11/
[ +1 ms] Found plugin flutter_plugin_android_lifecycle at
/home/user/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.9/
[ +7 ms] Found plugin network_info_plus at /home/user/.pub-cache/hosted/pub.dev/network_info_plus-3.0.3/
[ +9 ms] Found plugin url_launcher at /home/user/.pub-cache/hosted/pub.dev/url_launcher-6.1.10/
[ +1 ms] Found plugin url_launcher_android at /home/user/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.27/
[ +1 ms] Found plugin url_launcher_ios at /home/user/.pub-cache/hosted/pub.dev/url_launcher_ios-6.1.4/
[ +1 ms] Found plugin url_launcher_linux at /home/user/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.4/
[ +1 ms] Found plugin url_launcher_macos at /home/user/.pub-cache/hosted/pub.dev/url_launcher_macos-3.0.5/
[ +2 ms] Found plugin url_launcher_web at /home/user/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.16/
[ ] Found plugin url_launcher_windows at /home/user/.pub-cache/hosted/pub.dev/url_launcher_windows-3.0.5/
[ +81 ms] Generating
/home/user/Project/flutter/file_ui/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +115 ms] Initializing file store
[ +9 ms] Skipping target: gen_localizations
[ +6 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have
updated contents:
/home/user/Project/flutter/file_ui/.dart_tool/package_config_subset,/home/user/Project/flutter/file_ui/.dart_tool/flutter_b
uild/dart_plugin_registrant.dart}
[ +12 ms] Found plugin download_manager at
/home/user/.pub-cache/git/download_manager_flutter-7616c6250797c8b4857cce85a4c9e27eda14b099/
[ +4 ms] Found plugin connectivity_plus at /home/user/.pub-cache/hosted/pub.dev/connectivity_plus-3.0.4/
[ +3 ms] Found plugin desktop_drop at /home/user/.pub-cache/hosted/pub.dev/desktop_drop-0.4.1/
[ +2 ms] Found plugin file_picker at /home/user/.pub-cache/hosted/pub.dev/file_picker-5.2.11/
[ +1 ms] Found plugin flutter_plugin_android_lifecycle at
/home/user/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.9/
[ +7 ms] Found plugin network_info_plus at /home/user/.pub-cache/hosted/pub.dev/network_info_plus-3.0.3/
[ +9 ms] Found plugin url_launcher at /home/user/.pub-cache/hosted/pub.dev/url_launcher-6.1.10/
[ +1 ms] Found plugin url_launcher_android at /home/user/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.27/
[ +1 ms] Found plugin url_launcher_ios at /home/user/.pub-cache/hosted/pub.dev/url_launcher_ios-6.1.4/
[ +1 ms] Found plugin url_launcher_linux at /home/user/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.4/
[ ] Found plugin url_launcher_macos at /home/user/.pub-cache/hosted/pub.dev/url_launcher_macos-3.0.5/
[ +1 ms] Found plugin url_launcher_web at /home/user/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.16/
[ ] Found plugin url_launcher_windows at /home/user/.pub-cache/hosted/pub.dev/url_launcher_windows-3.0.5/
[ +8 ms] gen_dart_plugin_registrant: Complete
[ +2 ms] Skipping target: _composite
[ +3 ms] complete
[ +8 ms] Launching lib/main.dart on Linux in debug mode...
[ +5 ms] /home/user/.local/opt/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/user/.local/opt/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/home/user/.local/opt/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
/tmp/flutter_tools.DNHBQF/flutter_tool.RNLSJJ/app.dill --packages
/home/user/Project/flutter/file_ui/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --source
file:///home/user/Project/flutter/file_ui/.dart_tool/flutter_build/dart_plugin_registrant.dart --source
package:flutter/src/dart_plugin_registrant.dart
-Dflutter.dart_plugin_registrant=file:///home/user/Project/flutter/file_ui/.dart_tool/flutter_build/dart_plugin_registrant.
dart --verbosity=error --enable-experiment=alternative-invalidation-strategy
[ +25 ms] Building Linux application...
[ +18 ms] <- compile package:file_ui/main.dart
[ +2 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-x64
/home/user/Project/flutter/file_ui/linux
[ +35 ms] -- Configuring done (0.0s)
[ +17 ms] -- Generating done (0.0s)
[ +13 ms] -- Build files have been written to: /home/user/Project/flutter/file_ui/build/linux/x64/debug
[ +6 ms] executing: ninja -C build/linux/x64/debug install
[ +7 ms] ninja: Entering directory `build/linux/x64/debug'
[+2035 ms] [1/9] Generating /home/user/Project/flutter/file_ui/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/user/Project/flutter/file_ui/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[ +2 ms] [ +27 ms] executing: uname -m
[ ] [ +12 ms] Exit code 0 from: uname -m
[ ] [ ] x86_64
[ ] [ ] executing: [/home/user/.local/opt/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[ ] [ +3 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] f72efea43c3013323d1b95cff571f3c1caa37583
[ ] [ ] executing: [/home/user/.local/opt/flutter/] git tag --points-at
f72efea43c3013323d1b95cff571f3c1caa37583
[ ] [ +16 ms] Exit code 0 from: git tag --points-at f72efea43c3013323d1b95cff571f3c1caa37583
[ ] [ ] 3.7.11
[ ] [ +17 ms] executing: [/home/user/.local/opt/flutter/] git rev-parse --abbrev-ref HEAD
[ ] [ +2 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] stable
[ ] [ +20 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.
[ ] [ +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.
[ ] [ +127 ms] executing: [/home/user/.local/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[ ] [ +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[ ] [ ] origin/stable
[ ] [ ] executing: [/home/user/.local/opt/flutter/] git ls-remote --get-url origin
[ ] [ +2 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ ] [ ] 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 'FlutterSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] [ +1 ms] 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 'FontSubsetArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ ] [ +56 ms] Initializing file store
[ ] [ +14 ms] Done initializing file store
[ ] [ +54 ms] Skipping target: gen_localizations
[ ] [ +17 ms] Skipping target: gen_dart_plugin_registrant
[ ] [ +458 ms] Skipping target: unpack_linux
[ ] [ +459 ms] Skipping target: kernel_snapshot
[ ] [ +248 ms] Skipping target: debug_bundle_linux-x64_assets
[ ] [ ] Persisting file store
[ ] [ +13 ms] Done persisting file store
[ ] [ +10 ms] build succeeded.
[ ] [ +12 ms] "flutter assemble" took 1,502ms.
[ ] [ +19 ms] ensureAnalyticsSent: 14ms
[ ] [ ] Running 0 shutdown hooks
[ ] [ ] Shutdown hooks complete
[ ] [ ] exiting with code 0
[ +590 ms] [2/5] Building CXX object CMakeFiles/file_ui.dir/flutter/generated_plugin_registrant.cc.o
[ +49 ms] [3/5] Building CXX object CMakeFiles/file_ui.dir/my_application.cc.o
[ +176 ms] [4/5] Linking CXX executable intermediates_do_not_run/file_ui
[ ] [4/5] Install the project...
[ +15 ms] -- Install configuration: "Debug"
[ +20 ms] -- Installing: /home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/file_ui
[ ] -- Set runtime path of "/home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/file_ui" to
"$ORIGIN/lib"
[ ] -- Installing: /home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/icudtl.dat
[ +1 ms] -- Installing: /home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/lib/libflutter_linux_gtk.so
[ +42 ms] -- Installing: /home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/lib/libdesktop_drop_plugin.so
[ ] -- Installing:
/home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/lib/liburl_launcher_linux_plugin.so
[ ] -- Installing: /home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets
[ ] -- Installing:
/home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.json
[ ] -- Installing: /home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/shaders
[ ] -- Installing:
/home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/shaders/ink_sparkle.frag
[ ] -- Installing:
/home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/FontManifest.json
[ ] -- Installing: /home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/fonts
[ ] -- Installing:
/home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[ ] -- Installing:
/home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/kernel_blob.bin
[ +44 ms] -- Installing: /home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/version.json
[ ] -- Installing: /home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/NOTICES.Z
[ ] -- Installing: /home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/packages
[ ] -- Installing:
/home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons
[ ] -- Installing:
/home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets
[ ] -- Installing:
/home/user/Project/flutter/file_ui/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets/Cuperti
noIcons.ttf
[ +10 ms] Building Linux application... (completed in 3.1s)
[ +155 ms] ** (file_ui:13861): CRITICAL **: 15:52:00.926: Failed to read XDG desktop portal settings:
GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
[ +1 ms] ** (file_ui:13861): CRITICAL **: 15:52:00.927: Failed to read XDG desktop portal settings:
GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
[ ] ** (file_ui:13861): CRITICAL **: 15:52:00.928: Failed to read XDG desktop portal settings:
GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
[ ] ** (file_ui:13861): CRITICAL **: 15:52:00.929: Failed to read XDG desktop portal settings:
GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
[ ] ** (file_ui:13861): CRITICAL **: 15:52:00.930: Failed to read XDG desktop portal settings:
GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
[ +72 ms] Observatory URL on device: http://127.0.0.1:37167/E4gAsFEufA4=/
[ +5 ms] Caching compiled dill
[ +158 ms] Connecting to service protocol: http://127.0.0.1:37167/E4gAsFEufA4=/
[ +148 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at
http://127.0.0.1:37167/E4gAsFEufA4=/.
[ +68 ms] DDS is listening at http://127.0.0.1:33391/jZbu2SoZPpw=/.
[ +50 ms] Successfully connected to service protocol: http://127.0.0.1:37167/E4gAsFEufA4=/
[ +568 ms] DevFS: Creating new filesystem on the device (null)
[ +22 ms] DevFS: Created new filesystem on the device (file:///tmp/file_uiBLOPBV/file_ui/)
[ +2 ms] Updating assets
[ +107 ms] Syncing files to device Linux...
[ +2 ms] Compiling dart to kernel with 0 updated files
[ ] Processing bundle.
[ +1 ms] <- recompile package:file_ui/main.dart 87086e37-07f7-4697-bbbd-de5aa5c8f0ae
[ ] <- 87086e37-07f7-4697-bbbd-de5aa5c8f0ae
[ +2 ms] Bundle processing done.
[ +194 ms] Updating files.
[ ] DevFS: Sync finished
[ +2 ms] Syncing files to device Linux... (completed in 202ms)
[ +1 ms] Synced 0.0MB.
[ +2 ms] <- accept
[ +2 ms] Connected to _flutterView/0x564c8f1cf770.
[ +4 ms] Flutter run key commands.
[ +2 ms] r Hot reload. 🔥🔥🔥
[ +1 ms] R Hot restart.
[ ] h List all available interactive commands.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] 💪 Running with sound null safety 💪
[ +1 ms] An Observatory debugger and profiler on Linux is available at: http://127.0.0.1:33391/jZbu2SoZPpw=/
[+1520 ms] The Flutter DevTools debugger and profiler on Linux is available at:
http://127.0.0.1:9101?uri=http://127.0.0.1:33391/jZbu2SoZPpw=/
[ +44 ms] [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type
'String' in type cast
[ ] #0 NetworkInfoPlusLinuxPlugin._getIpAddress
(package:network_info_plus/src/network_info_plus_linux.dart:94:42)
[ ] #1 NetworkInfoPlusLinuxPlugin.getWifiIP.<anonymous closure>
(package:network_info_plus/src/network_info_plus_linux.dart:35:29)
[ ] #2 NetworkInfoPlusLinuxPlugin._getConnectionValue
(package:network_info_plus/src/network_info_plus_linux.dart:88:25)
[ ] <asynchronous suspension>
[ ] #3 getPin (package:file_ui/utils.dart:17:12)
[ ] <asynchronous suspension>
[ ] #4 _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:628:33)
[ ] <asynchronous suspension>
[+1527 ms] [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type
'String' in type cast
[ ] #0 NetworkInfoPlusLinuxPlugin._getIpAddress
(package:network_info_plus/src/network_info_plus_linux.dart:94:42)
[ ] #1 NetworkInfoPlusLinuxPlugin.getWifiIP.<anonymous closure>
(package:network_info_plus/src/network_info_plus_linux.dart:35:29)
[ ] #2 NetworkInfoPlusLinuxPlugin._getConnectionValue
(package:network_info_plus/src/network_info_plus_linux.dart:88:25)
[ ] <asynchronous suspension>
[ ] #3 getPin (package:file_ui/utils.dart:17:12)
[ ] <asynchronous suspension>
[ ] #4 _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:628:33)
[ ] <asynchronous suspension>
[ +559 ms] [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type
'String' in type cast
[ ] #0 NetworkInfoPlusLinuxPlugin._getIpAddress
(package:network_info_plus/src/network_info_plus_linux.dart:94:42)
[ ] #1 NetworkInfoPlusLinuxPlugin.getWifiIP.<anonymous closure>
(package:network_info_plus/src/network_info_plus_linux.dart:35:29)
[ ] #2 NetworkInfoPlusLinuxPlugin._getConnectionValue
(package:network_info_plus/src/network_info_plus_linux.dart:88:25)
[ ] <asynchronous suspension>
[ ] #3 getPin (package:file_ui/utils.dart:17:12)
[ ] <asynchronous suspension>
[ ] #4 _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:628:33)
[ ] <asynchronous suspension>
Flutter Doctor
[✓] Flutter (Channel stable, 3.7.11, on Arch Linux 6.2.12-zen1-1-zen, locale en_US.UTF-8)
• Flutter version 3.7.11 on channel stable at /home/user/.local/opt/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f72efea43c (2 weeks ago), 2023-04-11 11:57:21 -0700
• Engine revision 1a65d409c7
• Dart version 2.19.6
• DevTools version 2.20.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at /home/user/.local/opt/Android
• Platform android-33, build-tools 33.0.2
• Java binary at: /home/user/.local/opt/android-studio/jbr/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
• clang version 15.0.7
• cmake version 3.26.3
• ninja version 1.11.1
• pkg-config version 1.8.1
[✓] Android Studio (version 2022.2)
• Android Studio at /home/user/.local/opt/android-studio
• Flutter plugin version 73.0.2
• Dart plugin version 222.4560
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[✓] IntelliJ IDEA Community Edition (version 2023.1)
• IntelliJ at /home/user/.local/opt/idea-IC-231.8109.175
• Flutter plugin version 73.0.4
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] Connected device (1 available)
• Linux (desktop) • linux • linux-x64 • Arch Linux 6.2.12-zen1-1-zen
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
Checklist before submitting a bug
- I Google'd a solution and I couldn't find it
- I searched on StackOverflow for a solution and I couldn't find it
- I read the README.md file of the plugin
- I'm using the latest version of the plugin
- All dependencies are up to date with
flutter pub upgrade
- I did a
flutter clean
- I tried running the example project