-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
c: crashStack traces logged to the consoleStack traces logged to the consolefound in release: 1.23Found to occur in 1.23Found to occur in 1.23has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work ont: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" tooltoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
What steps will reproduce the issue?
- install and use IDEA Community 2020.2, with Flutter and Dart plugins up to date
- install flutter and set it to channel
stable - verify that
$ flutter doctor -vshows no issue - switch to
$ flutter channel master $ flutter upgrade$ flutter doctor -v
What is the expected result?
flutter doctor shows no issue
What happens instead?
flutter doctor reports that the flutter plugins cannot be found.
[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
https://github.com/flutter/flutter/issues.
✗ FileSystemException: Cannot open file, path = '/Users/walt/Library/Application
Support/JetBrains/IdeaIC2020.2/plugins/flutter-intellij/lib/flutter-intellij.jar' (OS Error: No such file or directory, errno = 2)
• #0 _File.throwIfError (dart:io/file_impl.dart:635:7)
#1 _File.openSync (dart:io/file_impl.dart:479:5)
#2 _File.readAsBytesSync (dart:io/file_impl.dart:539:18)
#3 ForwardingFile.readAsBytesSync (package:file/src/forwarding/forwarding_file.dart:89:43)
#4 ForwardingFile.readAsBytesSync (package:file/src/forwarding/forwarding_file.dart:89:43)
#5 IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:78:62)
#6 IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:45:34)
#7 IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:78:15)
#8 asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
#9 _rootRun (dart:async/zone.dart:1190:13)
#10 _CustomZone.run (dart:async/zone.dart:1093:19)
#11 _runZoned (dart:async/zone.dart:1630:10)
#12 runZonedGuarded (dart:async/zone.dart:1618:12)
#13 runZoned (dart:async/zone.dart:1547:12)
#14 asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
#15 Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:202:9)
#16 Doctor.diagnose (package:flutter_tools/src/doctor.dart:301:47)
#17 DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:54:47)
#18 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1001:18)
#19 _rootRunUnary (dart:async/zone.dart:1198:47)
#20 _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#21 _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#22 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#23 Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#24 Future._completeWithValue (dart:async/future_impl.dart:529:5)
#25 Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
#26 _rootRun (dart:async/zone.dart:1190:13)
#27 _CustomZone.run (dart:async/zone.dart:1093:19)
#28 _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#29 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
#30 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#31 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#32 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#33 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
Additional notes
It seems flutter is looking for a file named flutter-intellij.jar. However, in the specified path, the file is named flutter-intellij-50.0.jar, so that might explain the issue.
I have used channel master until last Friday and everything was working. I've upgraded flutter this morning and this happened. Must have been a recent change.
Metadata
Metadata
Assignees
Labels
c: crashStack traces logged to the consoleStack traces logged to the consolefound in release: 1.23Found to occur in 1.23Found to occur in 1.23has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work ont: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" tooltoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.