flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.98k stars 319 forks source link

IDE Exception error #7737

Closed shamylkashif closed 1 week ago

shamylkashif commented 3 weeks ago

Thanks for the feedback! If your issue is related to the Flutter framework itself, please open an issue at github.com/flutter/flutter.

What happened

I was just waiting for my project to build and doing nothing. PS. This is my first time reporting an issue, if there is ant mistake in this report please excuse me, I was doing my work and suddenly this window popped up telling me to report this issue, so I did it.

Version information

Android Studio Ladybug | 2024.2.1 Patch 1 • Flutter plugin io.flutter 82.0.3 • Dart plugin 242.22855.32

Error getting Flutter sdk information.

Exception

null

Error Report: NullPointerException in Flutter Performance View

Error Message: java.lang.NullPointerException: Cannot invoke "com.intellij.openapi.wm.ToolWindow.setAvailable(boolean)" because the return value of "com.intellij.openapi.wm.ToolWindowManager.getToolWindow(String)" is null

Relevant Stack Trace:
at io.flutter.performance.FlutterPerformanceViewFactory.lambda$initPerfView$1(FlutterPerformanceViewFactory.java:43)

Description: This error indicates that a NullPointerException occurred while attempting to set a tool window's availability in the Flutter Performance View.
jwren commented 1 week ago

Batch close for the com.intellij.openapi.wm.ToolWindow.setAvailable(boolean) exception out of the Flutter IJ plugin, this is a duplicate of https://github.com/flutter/flutter-intellij/issues/7691 and is resolved in the release of the Flutter plugin, 82.1.