-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible flutter plugin crash #46356
Comments
@stevemessick commented on Jun 9, 2021, 10:21 PM UTC: @the-ginger-geek Do you have a sample project that will reproduce this issue? I have not been able to reproduce it. |
@the-ginger-geek commented on Jun 10, 2021, 7:18 AM UTC: @stevemessick I'll have to set up a project similar to the one I'm using when I get some time, my source is fintech stuff so I can't really share this specific source code. |
@the-ginger-geek commented on Jun 10, 2021, 11:21 AM UTC: @stevemessick Here's a link to one of my repositories that I could reproduce it on |
@the-ginger-geek commented on Jun 10, 2021, 11:34 AM UTC: Something else I noticed, if the project is open in another IDE, IE VS Code the exact same thing happens to that instance. I have to close both IDEs and open them again to get them back to a working state. Either both plugins have a bug or this is not a plugin issue. |
@stevemessick commented on Jun 10, 2021, 1:37 PM UTC: @the-ginger-geek Thanks for the link. Yeah, I'm pretty sure this isn't a plugin issue, I'm just trying to figure out where to re-route it. It might be the Dart SDK or possibly the Flutter tool. So, having a repro case should help me determine where to move it to. |
@stevemessick commented on Jun 10, 2021, 8:26 PM UTC: @the-ginger-geek I'm not able to reproduce this yet. I cloned farcon using 2021.1.2 (same as yours). Then I ran those three commands in the Terminal tool window. Everything was fine. I did notice one difference. After doing Also, after running the final command (when your editor is lifeless) does restarting the Dart analysis server restore editor functionality? In the Dart Analysis tool window, it is the red circular arrows button at the top of the tool bar on the left side. |
@the-ginger-geek commented on Jun 11, 2021, 6:07 AM UTC: Yes restarting the dart analysis server brings it back to life! I don't see the editor highlighting errors but it does appear in the console. If I subsequently run |
@stevemessick commented on Jun 14, 2021, 8:49 PM UTC: Thanks for the additional info, @the-ginger-geek. This looks like an analyzer issue, so I'll move it to that repo. |
Thanks for the report! This sounds like #45996. That's been fixed and just recently merged into stable (Flutter 2.13.3). Can you update to the latest and see if that resolves the issue? If not, you might re-test in either the beta or the dev channels. |
Issue has been resolved thank you! |
@the-ginger-geek commented on Jun 9, 2021, 2:29 PM UTC:
Not sure if there is already an issue for this, I couldn't find one.
I can recreate the bug when running commands in this order, in the IDE terminal, sometimes it happens when only running the
build_runner
command. The exact same thing happens on VS Code when following the below steps.Steps to reproduce
flutter pub run build_runner build --delete-conflicting-outputs
flutter clean
flutter pub get
screen-recording-2021-06-09-at-160926_EfI52XKt.mov
Version info
flutter doctor -v
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.4 20F71 darwin-x64, locale en-GB)
• Flutter version 2.2.1 at /Users/mukuru/development/flutter
• Framework revision 02c026b03c (13 days ago), 2021-05-27 12:24:44 -0700
• Engine revision 0fdb562ac8
• Dart version 2.13.1
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/mukuru/Library/Android/sdk
• Platform android-S, build-tools 30.0.3
• Java binary at: /Applications/Android Studio 4.2 Preview.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5, Build version 12E262
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio 4.2 Preview.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 11.0.8+10-b944.6916264)
[✓] 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)
[✓] IntelliJ IDEA Community Edition (version 2021.1.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 57.0.5
• Dart plugin version 211.7233
[✓] VS Code (version 1.56.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.23.0
[✓] Connected device (4 available)
• iPhone 12 (mobile) • 72346AAE-1AA5-4496-AE43-77940685EB36 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
• macOS (desktop) • macos • darwin-x64 • macOS 11.4 20F71 darwin-x64
• No issues found!
IntelliJ version
This issue was moved by stevemessick from flutter/flutter-intellij#5558.
The text was updated successfully, but these errors were encountered: