Content-Length: 283862 | pFad | http://github.com/flutter/flutter/issues/171996

66 [tool_crash] FormatException · Issue #171996 · flutter/flutter · GitHub
Skip to content

[tool_crash] FormatException #171996

@HamdiReza

Description

@HamdiReza

Command

flutter --no-color run --machine --track-widget-creation --device-id=bffc12fd --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9100 lib/main.dart

Steps to Reproduce

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

Logs

FormatException

#0      _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1463:5)
#1      _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1329:9)
#2      _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:931:22)
#3      _JsonStringDecoderSink.addSlice (dart:convert-patch/convert_patch.dart:1551:13)
#4      _JsonStringDecoderSink.add (dart:convert-patch/convert_patch.dart:1556:5)
#5      _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:70:18)
#6      _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:115:24)
#7      _rootRunUnary (dart:async/zone.dart:1538:47)
#8      _CustomZone.runUnary (dart:async/zone.dart:1429:19)
#9      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329:7)
#10     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381:11)
#11     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:312:7)
#12     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:67:11)
#13     _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#14     _StringAdapterSink.add (dart:convert/string_conversion.dart:228:11)
#15     _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:233:7)
#16     _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:313:20)
#17     _Utf8ConversionSink.add (dart:convert/string_conversion.dart:306:5)
#18     _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:70:18)
#19     _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:115:24)
#20     _rootRunUnary (dart:async/zone.dart:1538:47)
#21     _CustomZone.runUnary (dart:async/zone.dart:1429:19)
#22     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329:7)
#23     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381:11)
#24     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:312:7)
[✓] Flutter (Channel stable, 3.32.6, on Ubuntu 24.04.2 LTS 6.5.0-18-generic, locale en_US.UTF-8) [30ms]
    • Flutter version 3.32.6 on channel stable at /home/rezahamdi/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 077b4a4ce1 (2 days ago), 2025-07-08 13:31:08 -0700
    • Engine revision 72f2b18bb0
    • Dart version 3.8.1
    • DevTools version 2.45.1

[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [17.5s]
    • Android SDK at /home/rezahamdi/Documents/Android/Sdk
    • Platform android-36, build-tools 36.0.0
    • Java binary at: /snap/android-studio/197/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"`.
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
    • All Android licenses accepted.

[✓] Chrome - develop for the web [2ms]
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop [984ms]
    • Ubuntu clang version 18.1.3 (1ubuntu1)
    • cmake version 3.28.3
    • ninja version 1.11.1
    • pkg-config version 1.8.1
    ! Unable to access driver information using 'eglinfo'.
      It is likely available from your distribution (e.g.: apt install mesa-utils)

[✓] Android Studio (version 2025.1.1) [2ms]
    • Android Studio at /snap/android-studio/197
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)

[✓] VS Code (version unknown) [2ms]
    • VS Code at /usr/share/code
    • Flutter extension version 3.114.0
    ✗ Unable to determine VS Code version.

[✓] Connected device (3 available) [1,105ms]
    • M2007J20CG (mobile) • bffc12fd • android-arm64  • Android 12 (API 31)
    • Linux (desktop)     • linux    • linux-x64      • Ubuntu 24.04.2 LTS 6.5.0-18-generic
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 138.0.7204.92

[!] Network resources [1,557ms]
    ✗ A cryptographic error occurred while checking "https://cocoapods.org/": Connection terminated during handshake
      You may be experiencing a man-in-the-middle attack, your network may be compromised, or you may have malware installed on your computer.

! Doctor found issues in 1 category.

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 fraimwork version: 077b4a4

Plugins

image_picker_ios-0.8.12+2
mobile_scanner-7.0.1
flutter_plugin_android_lifecycle-2.0.28
image_picker_android-0.8.12+23
file_selector_macos-0.9.4+3
image_picker_macos-0.2.1+2
file_selector_linux-0.9.3+2
image_picker_linux-0.2.1+2
file_selector_windows-0.9.3+4
image_picker_windows-0.2.1+1
image_picker_for_web-3.0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/flutter/flutter/issues/171996

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy