flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
165.01k stars 27.19k forks source link

"Hot Reload received invalid response" ... "Error while starting Kernel isolate task" on hot reload #64758

Open allanchao opened 4 years ago

allanchao commented 4 years ago

Steps to Reproduce

  1. Run app via connected device
  2. Wait until app is running
  3. Doesn't matter if I make changes or don't make changes to the code
  4. Hot reload

Expected results:

Expecting hot reload to work

Actual results:

Receive this error about half of the time:

Performing hot reload...
Syncing files to device Pixel XL...
Hot reload received invalid response: {type: ReloadReport, success: false, notices: [{type: ReasonForCancelling, message: Error while starting Kernel isolate task}]}
Logs ``` ``` ``` [√] Flutter (Channel stable, 1.20.2, on Microsoft Windows [Version 6.3.9600], locale en-US) • Flutter version 1.20.2 at C:\_Data\FlutterSDK\flutter • Framework revision bbfbf1770c (2 weeks ago), 2020-08-13 08:33:09 -0700 • Engine revision 9d5b21729f • Dart version 2.9.1 [√] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at C:\Users\AA\AppData\Local\Android\sdk • Platform android-29, build-tools 29.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04) • All Android licenses accepted. [√] Android Studio (version 3.6) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 48.1.1 • Dart plugin version 192.8052 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04) [√] IntelliJ IDEA Community Edition (version 2019.3) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.4 • Flutter plugin version 45.0.2 • Dart plugin version 193.6911.31 [√] VS Code, 64-bit edition (version 1.48.2) • VS Code at C:\Program Files\Microsoft VS Code • Flutter extension version 3.13.2 [√] Connected device (1 available) • Pixel XL (mobile) • HT7650201635 • android-arm64 • Android 10 (API 29) • No issues found! ```

Please let me know if there's something else I can do to help diagnose this issue. I can reproduce it consistently on my machine.

Performing a hot restart after receiving the error successfully re-runs the app. The error happens regardless of if I change any files or not, or how long it has been since running the app.

pedromassangocode commented 4 years ago

Hi @allanchao I cannot reproduce this issue on latest beta channel. Can you upgrade to betaand try again flutter channel beta flutter upgrade --force flutter doctor -v

allanchao commented 4 years ago

Hello, I followed your instructions to upgrade to beta, and was able to reproduce the error on my machine. Anything else I can do? Is there like a hot-reload-with-verbose-log command that I can run?

By the way, usually what happens, is I can use hot reload 1-3 times successfully before it suddenly stops working. As mentioned previously, it has no relation to whether I change anything in the code or not, or the timing of the reloads.

Performing hot reload...
Syncing files to device Pixel XL...
Hot reload received invalid response: {type: ReloadReport, success: false, notices: [{type: ReasonForCancelling, message: Error while starting Kernel isolate task}]}
[√] Flutter (Channel beta, 1.21.0-9.2.pre, on Microsoft Windows [Version 6.3.9600], locale en-US)
    • Flutter version 1.21.0-9.2.pre at C:\_Data\FlutterSDK\flutter
    • Framework revision 81a45ec2e5 (33 hours ago), 2020-08-27 14:14:33 -0700
    • Engine revision 20a9531835
    • Dart version 2.10.0 (build 2.10.0-7.3.beta)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\AA\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 48.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] IntelliJ IDEA Community Edition (version 2019.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.4
    • Flutter plugin version 45.0.2
    • Dart plugin version 193.6911.31

[√] VS Code, 64-bit edition (version 1.48.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.13.2

[√] Connected device (1 available)
    • Pixel XL (mobile) • HT7650201635 • android-arm64 • Android 10 (API 29)

• No issues found!
pedromassangocode commented 4 years ago

Hi @allanchao Hmm, please try one more time with the master channel. Upgrade to master and try again please: flutter channel master flutter upgrade --force flutter doctor -v

allanchao commented 4 years ago

I followed your instructions to upgrade to master, and tried it out, and it still bugged out.

bug

Hot reload received invalid response: {type: ReloadReport, success: false, notices: [{type: ReasonForCancelling, message: Error while starting Kernel isolate task}]}

flutter doctor

[√] Flutter (Channel master, 1.22.0-10.0.pre.39, on Microsoft Windows [Version 6.3.9600], locale en-US)
    • Flutter version 1.22.0-10.0.pre.39 at C:\_Data\FlutterSDK\flutter
    • Framework revision a8281e31af (2 hours ago), 2020-09-01 10:57:59 -0700
    • Engine revision 165abef0a2
    • Dart version 2.10.0 (build 2.10.0-77.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\AA\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 48.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] IntelliJ IDEA Community Edition (version 2019.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.4
    • Flutter plugin version 45.0.2
    • Dart plugin version 193.6911.31

[√] VS Code, 64-bit edition (version 1.48.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.13.2

[√] Connected device (1 available)
    • Pixel XL (mobile) • HT7650201635 • android-arm64 • Android 10 (API 29)

• No issues found!

I also noticed something new this time. I don't know if it's always been the case and I just noticed it, or if it's new, but sometimes I do the hot reload, and it appears in the console as if it succeeded, but in reality it did not.

Performing hot reload...
Syncing files to device Pixel XL...
Reloaded 29 of 2171 libraries in 4,824ms.

Despite the message, it did not reload. Visually nothing changed on the app running on the device.

allanchao commented 4 years ago

I'm not sure if this is relevant, but I saw "analysis server terminated" and clicked on view logs, and this came up. I wonder if the stream being destroyed has something to do with the hot reload failing? Also, I can confirm this error happens in both visual studio code and android studio (same flutter sdk on master channel).

[1:47:21 PM] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
    at doWrite (_stream_writable.js:414:19)
    at writeOrBuffer (_stream_writable.js:402:5)
    at Socket.Writable.write (_stream_writable.js:302:11)
    at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:152985)
    at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:147394)
    at c:\Users\AA\…
Here's the full log ``` [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8537"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8538"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8539"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8540"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8541"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8542"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8543"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8544"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8545"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8546"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8547"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8548"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8549"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8550"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8551"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8552"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8553"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8554"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8555"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8556"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8557"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8558"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8559"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8560"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8561"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8562"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8563"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8564"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8565"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8566"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8567"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8568"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8569"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8570"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8571"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8572"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8573"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8574"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8575"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8576"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8577"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8578"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8579"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8580"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8581"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8582"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8583"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8584"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8585"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8586"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8587"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8588"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8589"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8590"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8591"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8592"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8593"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8594"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8595"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8596"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8597"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8598"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8599"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8600"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8601"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8602"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8603"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8604"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8605"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8606"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8607"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8608"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8609"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8610"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8611"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8612"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8613"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8614"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8615"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8616"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8617"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8618"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8619"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8620"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8621"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8622"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8623"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8624"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8625"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8626"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8627"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8628"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8629"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8630"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8631"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8632"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8633"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8634"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8635"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8636"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8637"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8638"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8639"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8640"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8641"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8642"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8643"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8644"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8645"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8646"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8647"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8648"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8649"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8650"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8651"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8652"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8653"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8654"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8655"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8656"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8657"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8658"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8659"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8660"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8661"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8662"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8663"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8664"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8665"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8666"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8667"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8668"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8669"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8670"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8671"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8672"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8673"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8674"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8675"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8676"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8677"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8678"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8679"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8680"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8681"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8682"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8683"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8684"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8685"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8686"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8687"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8688"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8689"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8690"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8691"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8692"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8693"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8694"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8695"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8696"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8697"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8698"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8699"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8700"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8701"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8702"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8703"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8704"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8705"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8706"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8707"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8708"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8709"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8710"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates\/3525897466697751","name":"main","number":"3525897466697751","isSystemIsolate":false},"timestamp":1598993229159,"extensionData":{"number":2,"startTime":2780488308870,"elapsed":11452,"build":1616,"raster":7118,"vsyncOverhead":2522}}}} [1:47:01 PM] [VmService] [Info] [Flutter] ==> {"id":"8711","jsonrpc":"2.0","method":"resume","params":{"isolateId":"isolates/4318234434566703"}} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Debug","event":{"type":"Event","kind":"Resume","isolate":{"type":"@Isolate","id":"isolates\/4318234434566703","name":"_spawn","number":"4318234434566703","isSystemIsolate":false},"timestamp":1598993229286}}} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0", "result":{"type":"Success"},"id":"8711"} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Isolate","event":{"type":"Event","kind":"IsolateExit","isolate":{"type":"@Isolate","id":"isolates\/4318234434566703","name":"_spawn","number":"4318234434566703","isSystemIsolate":false},"timestamp":1598993229359}}} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ImageSizesForFrame","isolate":{"type":"@Isolate","id":"isolates\/3525897466697751","name":"main","number":"3525897466697751","isSystemIsolate":false},"timestamp":1598993229585,"extensionData":{"assets/welcome0.png":{"source":"assets/welcome0.png","displaySize":{"width":131.71999999999997,"height":131.71999999999997},"imageSize":{"width":750.0… [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.ImageSizesForFrame","isolate":{"type":"@Isolate","id":"isolates\/3525897466697751","name":"main","number":"3525897466697751","isSystemIsolate":false},"timestamp":1598993229611,"extensionData":{"myproject-assets/logo/FAVICON/myproject-white-favicon.png":{"source":"myproject-assets/logo/FAVICON/myproject-white-favicon.png","displaySize":{"width… [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates\/3525897466697751","name":"main","number":"3525897466697751","isSystemIsolate":false},"timestamp":1598993229691,"extensionData":{"number":3,"startTime":2780488843749,"elapsed":57115,"build":45541,"raster":8633,"vsyncOverhead":2468}}}} [1:47:01 PM] [VmService] [Info] [Flutter] <== {"jsonrpc":"2.0","method":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flutter.Frame","isolate":{"type":"@Isolate","id":"isolates\/3525897466697751","name":"main","number":"3525897466697751","isSystemIsolate":false},"timestamp":1598993229691,"extensionData":{"number":4,"startTime":2780488911180,"elapsed":15890,"build":8486,"raster":4230,"vsyncOverhead":3032}}}} [1:47:21 PM] [Analyzer] [Info] ==> {"id":"80","method":"edit.getFixes","params":{"file":"C:\\_Data\\myproject\\myproject\\myproject\\lib\\myproject\\screens\\main_screen.dart","offset":0},"clientRequestTime":1598993241210} [1:47:21 PM] [Analyzer] [Info] ==> {"id":"81","method":"edit.getAssists","params":{"file":"C:\\_Data\\myproject\\myproject\\myproject\\lib\\myproject\\screens\\main_screen.dart","length":0,"offset":0},"clientRequestTime":1598993241217} [1:47:21 PM] [Analyzer] [Info] ==> {"id":"82","method":"edit.getAvailableRefactorings","params":{"file":"C:\\_Data\\myproject\\myproject\\myproject\\lib\\myproject\\screens\\main_screen.dart","length":0,"offset":0},"clientRequestTime":1598993241236} [1:47:21 PM] [Analyzer] [Info] ==> {"id":"83","method":"analysis.setPriorityFiles","params":{"files":["C:\\_Data\\myproject\\myproject\\myproject\\lib\\myproject\\screens\\main_screen.dart"]},"clientRequestTime":1598993241248} [1:47:21 PM] [Analyzer] [Info] ==> {"id":"84","method":"analysis.updateContent","params":{"files":{"C:\\_Data\\myproject\\myproject\\myproject\\lib\\myproject\\screens\\main_screen.dart":{"edits":[{"offset":0,"length":0,"replacement":"","id":""}],"type":"change"}}},"clientRequestTime":1598993241266} [1:47:21 PM] [Analyzer] [Info] ==> {"id":"85","method":"analysis.updateContent","params":{"files":{"C:\\_Data\\myproject\\myproject\\myproject\\lib\\myproject\\screens\\main_screen.dart":{"edits":[{"offset":0,"length":0,"replacement":"","id":""}],"type":"change"}}},"clientRequestTime":1598993241281} [1:47:21 PM] [General] [Error] Cannot call write after a stream was destroyed Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:414:19) at writeOrBuffer (_stream_writable.js:402:5) at Socket.Writable.write (_stream_writable.js:302:11) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:152985) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:147394) at c:\Users\AA\… [1:47:21 PM] [General] [Error] Cannot call write after a stream was destroyed Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:414:19) at writeOrBuffer (_stream_writable.js:402:5) at Socket.Writable.write (_stream_writable.js:302:11) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:152985) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:147394) at c:\Users\AA\… [1:47:21 PM] [General] [Error] Cannot call write after a stream was destroyed Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:414:19) at writeOrBuffer (_stream_writable.js:402:5) at Socket.Writable.write (_stream_writable.js:302:11) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:152985) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:147394) at c:\Users\AA\… [1:47:21 PM] [Analyzer] [Info] ==> {"id":"86","method":"edit.getFixes","params":{"file":"C:\\_Data\\myproject\\myproject\\myproject\\lib\\myproject\\screens\\main_screen.dart","offset":4834},"clientRequestTime":1598993241593} [1:47:21 PM] [Analyzer] [Info] ==> {"id":"87","method":"edit.getAssists","params":{"file":"C:\\_Data\\myproject\\myproject\\myproject\\lib\\myproject\\screens\\main_screen.dart","length":0,"offset":4834},"clientRequestTime":1598993241598} [1:47:21 PM] [Analyzer] [Info] ==> {"id":"88","method":"edit.getAvailableRefactorings","params":{"file":"C:\\_Data\\myproject\\myproject\\myproject\\lib\\myproject\\screens\\main_screen.dart","length":0,"offset":4834},"clientRequestTime":1598993241605} [1:47:21 PM] [General] [Error] Cannot call write after a stream was destroyed Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:414:19) at writeOrBuffer (_stream_writable.js:402:5) at Socket.Writable.write (_stream_writable.js:302:11) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:152985) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:147394) at c:\Users\AA\… [1:47:21 PM] [General] [Error] Cannot call write after a stream was destroyed Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:414:19) at writeOrBuffer (_stream_writable.js:402:5) at Socket.Writable.write (_stream_writable.js:302:11) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:152985) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:147394) at c:\Users\AA\… [1:47:23 PM] [Analyzer] [Info] ==> {"id":"89","method":"analysis.getHover","params":{"file":"C:\\_Data\\myproject\\myproject\\myproject\\lib\\myproject\\screens\\main_screen.dart","offset":4785},"clientRequestTime":1598993243006} [1:47:23 PM] [General] [Error] Cannot call write after a stream was destroyed Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:414:19) at writeOrBuffer (_stream_writable.js:402:5) at Socket.Writable.write (_stream_writable.js:302:11) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:152985) at b.sendMessage (c:\Users\AA\.vscode\extensions\dart-code.dart-code-3.13.2\out\dist\extension.js:1:147394) at c:\Users\AA\… [1:47:23 PM] [Analyzer] [Info] ==> {"id":"90","method":"analysis.getHover","params":{"file":"C:\\_Data\\myproject\\myproject\\myproject\\lib\\myproject\\screens\\main_screen.dart","offset":4786},"clientRequestTime":1598993243322} ```
duzenko commented 3 years ago

Same error

Performing hot reload...
Syncing files to device LG H873...
Hot reload received invalid response: {type: ReloadReport, success: false, notices: [{type: ReasonForCancelling, message: Error while starting Kernel isolate task}]}

Likely to happen at the second hot reload after restart

jonahwilliams commented 3 years ago

The particular error message is https://github.com/dart-lang/sdk/blob/30897929fc012602dc540a87fa1cb9b5e7db368d/runtime/vm/kernel_isolate.cc#L1027

It looks like this happens if the kernel isolate fails to start. There are some more logs in there that get written with an OSError - perhaps they show up if you look at the full adb logcat stream on Android or the logs from running through Xcode if on iOS while this happens.

duzenko commented 3 years ago

The particular error message is https://github.com/dart-lang/sdk/blob/30897929fc012602dc540a87fa1cb9b5e7db368d/runtime/vm/kernel_isolate.cc#L1027

It looks like this happens if the kernel isolate fails to start. There are some more logs in there that get written with an OSError - perhaps they show up if you look at the full adb logcat stream on Android or the logs from running through Xcode if on iOS while this happens.

If you feel like it

Logs ``` 2020-10-22 17:58:54.825 32068-32068/net.pavementsoft.pavement I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@77319a time:516788480 2020-10-22 17:59:09.716 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 17:59:09.751 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 17:59:10.959 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 17:59:10.991 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 17:59:22.980 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 17:59:23.100 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 17:59:28.469 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 17:59:28.629 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 17:59:34.693 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 17:59:35.042 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 17:59:35.790 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 17:59:35.965 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 17:59:51.967 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 17:59:52.472 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 17:59:53.086 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 17:59:53.241 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 17:59:53.813 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 17:59:54.173 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:00:06.787 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:00:06.822 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:00:07.676 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:00:07.747 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:00:11.700 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:00:11.713 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:00:12.731 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:00:12.779 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:00:15.879 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:00:15.922 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:00:30.863 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:00:31.702 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:00:32.541 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:00:32.614 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:01:16.650 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:01:17.792 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:01:19.494 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:01:19.556 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:01:30.773 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:01:30.831 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:01:31.372 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:01:31.419 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:01:32.398 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:01:32.436 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:01:34.280 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:01:34.340 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:09:04.664 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:09:05.725 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:11:00.488 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:11:00.765 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:11:01.124 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:11:01.857 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:12:00.819 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:12:01.724 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:12:02.247 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:12:03.048 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:12:06.693 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:12:06.788 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:13:27.645 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:13:29.332 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:13:31.480 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:13:31.608 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:13:37.315 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:13:40.213 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:14:33.815 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:14:34.553 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:14:35.418 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:14:36.474 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:14:46.578 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:14:47.367 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:19:34.314 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:19:34.680 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:19:34.953 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:19:35.161 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:19:35.599 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:19:35.696 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:19:36.172 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:19:36.251 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:19:36.333 32068-32185/net.pavementsoft.pavement I/flutter: api/restricted/workflow/jobs/231/daily 2020-10-22 18:19:38.021 32068-32185/net.pavementsoft.pavement I/flutter: 200 (api/restricted/workflow/jobs/231/daily) 2020-10-22 18:19:38.122 32068-32185/net.pavementsoft.pavement I/flutter: api/restricted/workflow/jobs/231/daily/354 2020-10-22 18:19:38.905 32068-32185/net.pavementsoft.pavement I/flutter: 200 (api/restricted/workflow/jobs/231/daily/354) 2020-10-22 18:19:38.920 32068-32185/net.pavementsoft.pavement I/flutter: dailyDay 2020-10-22 18:19:42.286 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:19:42.314 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:19:42.368 32068-32185/net.pavementsoft.pavement I/flutter: api/restricted/workflow/jobs/231 2020-10-22 18:19:42.988 32068-32185/net.pavementsoft.pavement I/flutter: 200 (api/restricted/workflow/jobs/231) 2020-10-22 18:19:45.962 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:19:45.967 32068-32068/net.pavementsoft.pavement D/BezellessGripSuppressionFilter: getdisplaysize, x : 1440 y : 2880 2020-10-22 18:19:46.063 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:20:37.668 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:20:37.673 32068-32068/net.pavementsoft.pavement D/BezellessGripSuppressionFilter: getdisplaysize, x : 1440 y : 2880 2020-10-22 18:20:37.719 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:20:37.782 32068-32185/net.pavementsoft.pavement I/flutter: api/restricted/workflow/jobs/231/daily 2020-10-22 18:20:38.362 32068-32185/net.pavementsoft.pavement I/flutter: 200 (api/restricted/workflow/jobs/231/daily) 2020-10-22 18:20:38.370 32068-32185/net.pavementsoft.pavement I/flutter: api/restricted/workflow/jobs/231/daily/354 2020-10-22 18:20:38.736 32068-32185/net.pavementsoft.pavement I/flutter: 200 (api/restricted/workflow/jobs/231/daily/354) 2020-10-22 18:20:38.742 32068-32185/net.pavementsoft.pavement I/flutter: dailyDay 2020-10-22 18:20:47.336 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:20:47.832 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:20:48.902 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:20:48.983 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:20:52.789 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:20:53.212 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:20:53.967 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:20:54.090 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:20:54.986 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:20:55.100 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:20:56.072 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:20:56.185 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:20:56.951 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:20:57.435 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:20:57.728 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:20:57.799 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:21:01.189 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:21:01.245 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:21:02.114 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:21:02.169 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:21:02.740 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:21:02.805 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:21:03.826 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:21:03.871 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:23:03.791 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:23:03.857 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:23:04.687 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:23:04.733 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:23:04.776 32068-32185/net.pavementsoft.pavement I/flutter: api/restricted/workflow/jobs/231 2020-10-22 18:23:06.118 32068-32185/net.pavementsoft.pavement I/flutter: 200 (api/restricted/workflow/jobs/231) 2020-10-22 18:23:06.400 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:23:06.453 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:23:06.580 32068-32185/net.pavementsoft.pavement I/flutter: api/restricted/workflow/jobs/231/daily 2020-10-22 18:23:07.358 32068-32185/net.pavementsoft.pavement I/flutter: 200 (api/restricted/workflow/jobs/231/daily) 2020-10-22 18:23:07.408 32068-32185/net.pavementsoft.pavement I/flutter: api/restricted/workflow/jobs/231/daily/354 2020-10-22 18:23:07.823 32068-32185/net.pavementsoft.pavement I/flutter: 200 (api/restricted/workflow/jobs/231/daily/354) 2020-10-22 18:23:07.837 32068-32185/net.pavementsoft.pavement I/flutter: dailyDay 2020-10-22 18:25:09.607 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:25:09.659 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:25:11.392 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:25:11.469 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:25:12.757 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:25:12.784 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:25:13.514 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:25:13.561 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:27:04.106 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:27:04.144 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:27:05.870 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:27:05.922 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:27:25.795 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:27:25.821 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:27:26.858 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:27:26.895 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:27:50.549 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:27:50.586 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:27:51.390 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:27:51.454 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:28:01.481 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:28:01.526 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:28:02.609 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:28:02.673 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:28:02.711 32068-32185/net.pavementsoft.pavement I/flutter: api/restricted/workflow/jobs/231 2020-10-22 18:28:03.841 32068-32185/net.pavementsoft.pavement I/flutter: 200 (api/restricted/workflow/jobs/231) 2020-10-22 18:28:03.852 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:28:03.897 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:28:03.987 32068-32185/net.pavementsoft.pavement I/flutter: api/restricted/workflow/jobs/231/daily 2020-10-22 18:28:04.714 32068-32185/net.pavementsoft.pavement I/flutter: 200 (api/restricted/workflow/jobs/231/daily) 2020-10-22 18:28:04.773 32068-32185/net.pavementsoft.pavement I/flutter: api/restricted/workflow/jobs/231/daily/354 2020-10-22 18:28:05.171 32068-32185/net.pavementsoft.pavement I/flutter: 200 (api/restricted/workflow/jobs/231/daily/354) 2020-10-22 18:28:05.191 32068-32185/net.pavementsoft.pavement I/flutter: dailyDay 2020-10-22 18:29:04.872 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:29:04.913 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:29:05.534 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:29:05.592 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP 2020-10-22 18:29:06.739 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN 2020-10-22 18:29:06.782 32068-32068/net.pavementsoft.pavement I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP ```
allanchao commented 3 years ago

Is there any hope on this issue? Even a workaround would be great - anything to get hot reload working properly. Looks like it's affecting some proportion of Flutter users.

jonahwilliams commented 3 years ago

There is unfortunately not enough information in those logs to diagnose any issue @duzenko .

@allanchao when you say that performing a hot restart works, does it keep working after that or do subsequent hot reloads hit the same issue?

Also the logs you've included are of some IDE processes and aren't really relevant in this case. Verbose logs of the tool when hot reload doesn't work would be the most helpful, along with logcat if that contains any relevant errors

allanchao commented 3 years ago

After performing a hot restart, the app will immediately work. Subsequent hot reloads are equally affected by the issue (doesn't matter if changes are made, there is a random chance it will work or fail to reload).

What is this? How do I get this?

Verbose logs of the tool when hot reload doesn't work would be the most helpful

jonahwilliams commented 3 years ago

If you run from the command line, it is as simple as passing -v to the command like: flutter run -v

duzenko commented 3 years ago

There is unfortunately not enough information in those logs to diagnose any issue @duzenko .

@allanchao when you say that performing a hot restart works, does it keep working after that or do subsequent hot reloads hit the same issue?

Also the logs you've included are of some IDE processes and aren't really relevant in this case. Verbose logs of the tool when hot reload doesn't work would be the most helpful, along with logcat if that contains any relevant errors

Here's another one

2020-10-27 10:44:26.155 1455-2609/? V/WifiServerServiceExt: checkPollTimer Cnt= 0 rssi =-39 threshold=-100
2020-10-27 10:44:26.846 1091-1412/? E/PersistableBundle: Failed at frameworks/native/libs/binder/PersistableBundle.cpp:160 (erase)
2020-10-27 10:44:26.847 1091-1412/? E/PersistableBundle: Failed at frameworks/native/libs/binder/PersistableBundle.cpp:160 (erase)
2020-10-27 10:44:26.867 1455-2595/? W/ArrayMap: New hash -1569100599 is before end of array hash 147020819 at index 1 key rmnet_data0
    java.lang.RuntimeException: here
        at android.util.ArrayMap.append(ArrayMap.java:547)
        at android.os.Parcel.readArrayMapInternal(Parcel.java:3046)
        at android.os.BaseBundle.unparcel(BaseBundle.java:257)
        at android.os.BaseBundle.size(BaseBundle.java:301)
        at com.android.server.NetworkManagementService$NetdTetheringStatsProvider.getTetherStats(NetworkManagementService.java:2376)
        at com.android.server.NetworkManagementService.getNetworkStatsTethering(NetworkManagementService.java:2413)
        at com.android.server.net.NetworkStatsService.getNetworkStatsTethering(NetworkStatsService.java:1536)
        at com.android.server.net.NetworkStatsService.getNetworkStatsUidDetail(NetworkStatsService.java:1465)
        at com.android.server.net.NetworkStatsService.recordSnapshotLocked(NetworkStatsService.java:1127)
        at com.android.server.net.NetworkStatsService.performPollLocked(NetworkStatsService.java:1208)
        at com.android.server.net.NetworkStatsService.performPoll(NetworkStatsService.java:1182)
        at com.android.server.net.NetworkStatsService.-wrap3(Unknown Source:0)
        at com.android.server.net.NetworkStatsService$HandlerCallback.handleMessage(NetworkStatsService.java:1563)
        at android.os.Handler.dispatchMessage(Handler.java:101)
        at android.os.Looper.loop(Looper.java:164)
        at android.os.HandlerThread.run(HandlerThread.java:65)
2020-10-27 10:44:26.868 1455-2595/? W/ArrayMap: New hash 113213102 is before end of array hash 147020819 at index 2 key wlan0
    java.lang.RuntimeException: here
        at android.util.ArrayMap.append(ArrayMap.java:547)
        at android.os.Parcel.readArrayMapInternal(Parcel.java:3046)
        at android.os.BaseBundle.unparcel(BaseBundle.java:257)
        at android.os.BaseBundle.size(BaseBundle.java:301)
        at com.android.server.NetworkManagementService$NetdTetheringStatsProvider.getTetherStats(NetworkManagementService.java:2376)
        at com.android.server.NetworkManagementService.getNetworkStatsTethering(NetworkManagementService.java:2413)
        at com.android.server.net.NetworkStatsService.getNetworkStatsTethering(NetworkStatsService.java:1536)
        at com.android.server.net.NetworkStatsService.getNetworkStatsUidDetail(NetworkStatsService.java:1465)
        at com.android.server.net.NetworkStatsService.recordSnapshotLocked(NetworkStatsService.java:1127)
        at com.android.server.net.NetworkStatsService.performPollLocked(NetworkStatsService.java:1208)
        at com.android.server.net.NetworkStatsService.performPoll(NetworkStatsService.java:1182)
        at com.android.server.net.NetworkStatsService.-wrap3(Unknown Source:0)
        at com.android.server.net.NetworkStatsService$HandlerCallback.handleMessage(NetworkStatsService.java:1563)
        at android.os.Handler.dispatchMessage(Handler.java:101)
        at android.os.Looper.loop(Looper.java:164)
        at android.os.HandlerThread.run(HandlerThread.java:65)
2020-10-27 10:44:27.058 2689-2689/? I/NetworkController.WifiSignalController: Change in state to: connected=true,enabled=true,level=3,inetCondition=1,iconGroup=IconGroup(Default Wi-Fi Icons),activityIn=true,activityOut=true,rssi=-53,,ssid="52b",badgeEnum=0,isTransient=false,isGigaWiFi=false,isAttWifiCall=false,detailedState=CONNECTED
2020-10-27 10:44:27.339 1455-2642/? D/WifiWatchdogStateMachine: EVENT_CHECK_IMS_CALL_STATE received
2020-10-27 10:44:27.339 1455-2642/? D/WifiWatchdogStateMachine: OnlineWatchState handleRssiChange() imscallstate : 0

I'm not crazy about flutter run -v because I need the debugger to work too

PoojaB26 commented 3 years ago

@allanchao This is only happening for Android platfrom, right? And if yes, can you check your build.gradle and post it here?

vale8023 commented 3 years ago

same problem

mrleesin commented 3 years ago

same problem after upgrading to BigSur ( Hotreload worked one time ((((

mohammadwali commented 3 years ago

Same problem here. Following.

mohammadwali commented 3 years ago

Running On Mac os BigSur

Performing hot reload...
Syncing files to device sdk gphone x86...
Hot reload received invalid response: {type: ReloadReport, success: false, notices: [{type: ReasonForCancelling, message: Error while starting Kernel isolate task}]}
mohammadwali commented 3 years ago

Works fine for IOS device.

benPesso commented 3 years ago

I can confirm that this issue is present in iOS:

Hot-reload

The above is in the span of 3 minutes.

Flutter Doc says it's all good. ``` [✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B29 darwin-x64, locale en-US) • Flutter version 1.22.4 at /Users/benPesso/Projects/flutter • Framework revision 1aafb3a8b9 (6 days ago), 2020-11-13 09:59:28 -0800 • Engine revision 2c956a31c0 • Dart version 2.10.4 [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2) • Android SDK at /Users/benPesso/Library/Android/sdk • Platform android-30, build-tools 30.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 12.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.1, Build version 12A7403 • CocoaPods version 1.9.3 [✓] Android Studio (version 4.0) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 50.0.1 • Dart plugin version 193.7547 • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) [✓] VS Code (version 1.51.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.16.0 [✓] Connected device (1 available) • iPhone SE (2nd generation) (mobile) • 74CE6345-BCBB-404B-8224-0B5078BD1985 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator) ```
Tmarks2a commented 3 years ago

On MacOS Big Sur reproducing the same error, but getting no success on any hotreloads, have to fully reload app each time i make a change. Hot reload received invalid response: {type: ReloadReport, success: false, notices: [{type: ReasonForCancelling, message: Error while starting Kernel isolate task}]} On Flutter Stable 1.22.4 Flutter channels: master dev beta

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at /Users/Tanner/Library/Android/sdk • Platform android-29, build-tools 28.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.2, Build version 12B45b • CocoaPods version 1.10.0

[✓] Android Studio (version 4.0) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.51.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.16.0

[✓] Connected device (1 available) • iPhone 12 Pro Max (mobile) • D04DE642-1820-494F-AE4C-08FC51C949C5 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)

• No issues found!

Changes I made recently: Recently Updated to MacOS BigSur Recently updated to new Versions of FirebaseCore,cloud-Firestore,FirebaseStorage,FirebaseAuth Was not seeing this issue until yesterday after making Firebase update.

t-kozak commented 3 years ago

Seems like OS X Big Sur had a really bad impact on you guys. I've started to experience this one, plus failure to run unit tests: https://github.com/flutter/flutter/issues/70940 after the upgrade to Big Sur.

Lesson learned - be more conservative when upgrading OS X version if you do flutter development as team behind it doesn't test on beta version of OS X (which isn't bad thing in itself).

Please let us know if there is any potential fix on the master stream, also if there is anything we as community can do to help you identify the problem.

t-kozak commented 3 years ago

Just as an update, I have switched to the latest master channel and it sorta kinda works. It failed for the first time, the error suggested to use "Hot Restart" instead. I did it and after that, subsequent hot reloads are working.

Thanks guys, looking forward to a permanent fix landing in prod!

tuononh commented 3 years ago

This also happens on Catalina. I think this relate to Android Studio. I dont have this issue in previous version of Android Studio. Also Flutter plugin and Dart plugin are not detected.

image

benPesso commented 3 years ago

@tuononh Looking at all the logs here, people have different versions of Android Studio (and VS Code) installed, and they are all experiencing this issue. In addition, this issue is happening on both iOS and Android, so it is very unlikely that this has anything to do with Android Studio. What more, most people don't use Android Studio as an IDE. (Not when they have VS Code installed. 😄 )

remylavergne commented 3 years ago

Same problem here... And all TextFields display "!" for each letters...

OS: macOS Big Sur Flutter channel: stable

Works perfectly on physical device.

Screenshot 2020-11-27 at 21 16 53
5v3n-08 commented 3 years ago

Same issue!

Issue: 70820

mnajborowski commented 3 years ago

I'm also having the issue (only hot reload error, not exclamation marks), though the message is slightly different in my case:

Performing hot reload...
Syncing files to device iPhone SE (2nd generation)...
Hot reload was rejected:
Error while starting Kernel isolate task.
Try performing a hot restart instead.

I'm running on MacOS Big Sur 11.0.1 with Simulator of iPhone SE (iOS 14.2), however the last time I was running multiple hot reloads, which was on Thursday 03.12.2020, there were no problems at all. Today I updated Flutter plugin for Android Studio (which I believe shares the same codebase with the one for IntelliJ) and I suspect it's related to this update. I tried updating Flutter to current version on master, but that actually left me with more errors when trying hot restart after unsuccessful hot reload - before at least the restart was going without issues, now it's throwing unhelded exception with this stacktrace:

Unhandled exception:
root::<path_to_page_in_my_project>::EventListPage::@getters::package:flutter/src/widgets/widget_inspector.dart::_location is already bound
#0      CanonicalName.bindTo (package:kernel/canonical_name.dart:192:7)
#1      Class.computeCanonicalNames (package:kernel/ast.dart:1201:51)
#2      Library.computeCanonicalNames (package:kernel/ast.dart:559:14)
#3      Component.computeCanonicalNamesForLibrary (package:kernel/ast.dart:9819:13)
#4      Component.computeCanonicalNames (package:kernel/ast.dart:9781:7)
#5      sortComponent (package:vm/kernel_front_end.dart:679:13)
#6      FrontendCompiler.writeDillFile (package:frontend_server/frontend_server.dart:656:5)
#7      FrontendCompiler.recompileDelta (package:frontend_server/frontend_server.dart:766:13)
<asynchronous suspension>
the Dart compiler exited unexpectedly.
the Dart compiler exited unexpectedly.
the Dart compiler exited unexpectedly.

After that I loose connection to the device.

My flutter doctor -v log:

[✓] Flutter (Channel master, 1.25.0-5.0.pre.90, on macOS 11.0.1 20B29 darwin-x64, locale pl-PL)
    • Flutter version 1.25.0-5.0.pre.90 at /Users/mnajborowski/flutter
    • Framework revision a17bbb9bbe (9 hours ago), 2020-12-05 07:58:03 -0500
    • Engine revision 6491c7518f
    • Dart version 2.12.0 (build 2.12.0-120.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/mnajborowski/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Users/mnajborowski/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/mnajborowski/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android Studio.app/Contents
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.3)
    • IntelliJ at /Users/mnajborowski/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • 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

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • iPhone SE (2nd generation) (mobile) • 6888A08B-7962-4D59-A9EF-C44B2EC04D85 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
    • Chrome (web)                        • chrome                               • web-javascript • Google Chrome 87.0.4280.88

• No issues found!
houdayec commented 3 years ago

Switched to master channel for production, could not get hot reload to work after upgrading to Big Sur.

I am using latest Flutter & Dart versions for SDK and Android Studio plugins.

I tried everything: flutter clean, invalidate cache, reboot mac, reinstall SDK, clear pub cache...

After hours I decided to switch back to beta channel, hot reload works, sometimes I get this error:

Hot reload was rejected:
Error while starting Kernel isolate task.
Try performing a hot restart instead.

Here is my flutter doctor -v

[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on macOS 11.0.1 20B50 darwin-x64, locale en-GB)
    • Flutter version 1.24.0-10.2.pre at /Users/houdayec/Development/flutter
    • Framework revision 022b333a08 (3 weeks ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/houdayec/Development/android
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/houdayec/Development/android
    • ANDROID_SDK_ROOT = /Users/houdayec/Development/android
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.17.0

[✓] Connected device (3 available)
    • Mi A2 Lite (mobile) • 08ea1b6c0705 • android-arm64  • Android 10 (API 29)
    • Web Server (web)    • web-server   • web-javascript • Flutter Tools
    • Chrome (web)        • chrome       • web-javascript • Google Chrome 87.0.4280.88

• No issues found!
miaosun009 commented 3 years ago

ssss imilar question

截屏2020-12-14 上午12 22 27

截屏2020-12-14 上午12 23 39

ivan-pavliuk commented 3 years ago

Any update on it? :(

augustinrajesh commented 3 years ago

Error: ⣻Hot reload received invalid response: {type: ReloadReport, success: false, notices: [{type: ReasonForCancelling, message: Error while starting Kernel isolate task}]}

The problem because of Anti Virus Application. Attached screenshot for our reference.

I am using Avira Anti Virus software, by default the Real-Time Protection is turned on. But, after I switched-off this options, the Flutter Hot Reload started working.

It's very risky to continue without Real-Time protection. I need to find a right way to fix it.

Screenshot 2021-01-29 at 5 43 43 PM
hannesill commented 3 years ago

I had the same problem until I turned off Avira's Real-time Protection, too. It seems to work so far.

yannherren commented 3 years ago

I had the same problem until I turned off Avira's Real-time Protection, too. It seems to work so far.

Thanks a lot, solved my problem as well. This seems to be an issue

krupupakku commented 3 years ago

Same issue here. Problem presented after upgrade my Macbook pro to Big Sur. I tried all flutter channels and many versions. Seems to be related to the antivirus (in my case ESET).

Current Workaround: disable realtime protection.

ivan-pavliuk commented 3 years ago

This issue is still around. I can always replicate it on a simulator, for example, iPhone X 14.3.

benPesso commented 3 years ago

I'm not using any antivirus on my Mac, and am still having this issue with the iOS Simulator.

fogelfish commented 3 years ago

I'm also having the hot reload problem on a Mac (Big Sur 11.2, IntelliJ 2020.3, flutter latest beta). Flutter doctor reports no problems.

Others have mentioned the possible involvement of realtime protection, so it might be worth mentioning that I use Sophos Home, which has a realtime protection feature. I'm not sure this is the culprit, but instead turning off that feature altogether, I am able to whitelist specific processes. To test this proposition, could someone suggest which binaries should I whitelist?

Tmarks2 commented 3 years ago

I use Sophos Home as Well. I have had some success having these blacklist. but I am not completely repaired yet. I have a open case with sophos for investigation. Able to hot reload every 3-5 times i do cmd+S or hot reload button. helpful but still broken.

vscode.app /.vscode/ /Applications/Xcode.app /Applications/Visual Studio Code.app /.vscode /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer /FlutterDev

zpc7 commented 3 years ago

After I uninstalled Sophos, the hot update worked normally. So it is certain that realtime protection is the culprit.

fogelfish commented 3 years ago

I turned off all realtime protection in Sophos to see if that would help, but it did not. I would rather not remove Sophos altogether but it sounds like I may have to, at least in the short run.

wpunit13 commented 3 years ago

I have turned off real time antivirus protection, still same issue. It works for sometime after stopping and starting application, but it appears randomly and then its continuous till next time I stop the application.

fogelfish commented 3 years ago

@wpunit13 what OS are you in?

Tmarks2 commented 3 years ago

Hello I am MacOS. Using a vscode and iphone simulator.

For other Sophos users, I got this message from their support team. Will keep posted on wether this new build in March addresses the issue on MacOS using Sophos

"development team yesterday and we believe this issue is being caused by an issue we identified with the SophosWebExtension which was introduced in Sophos Home 10.0.2. Development has discovered a few issues with this extension, especially around CPU/Memory usage, and are addressing these currently. They expect a build to be available in mid-march. It will be version 10.0.4." - Sophos Support

fogelfish commented 3 years ago

I removed Sophos Home from my Mac and hot reload works again.

savadodesigns commented 3 years ago

I had the same problem until I turned off Avira's Real-time Protection, too. It seems to work so far.

Thanks!

tinyc-z commented 3 years ago

同样遇到,杀毒软件惹的祸,关闭杀毒软件解决

fogelfish commented 3 years ago

I translated your comment with Google translate: "If you encounter the same problem caused by anti-virus software, turn off the anti-virus software to solve."

That is not necessarily true, as I turned off mine and the problem persisted. But after I removed Sophos entirely the problem went away.

If anyone else is using Sophos, I've been told that their next patch will fix this.

githubcatw commented 3 years ago

Looks like this occurs on the other side of the OSes (Windows and Android) too.

Using:

githubcatw commented 3 years ago

And looks like the bug fixed itself, all I had to do was to rebuild the project.