-
-
Notifications
You must be signed in to change notification settings - Fork 30
Description
What happened
try to Ctrl Space autocomplete Flutter code Theme.of(context).textTheme......... the popUp comes I select and nothing Happens
Version information
IntelliJ IDEA 2024.3.5 • Flutter plugin io.flutter 83.0.4 • Dart plugin 243.26053.17Flutter 3.29.1 • channel stable • https://github.com/flutter/flutter.git Framework • revision 09de023485 (4 weeks ago) • 2025-02-28 13:44:05 -0800 Engine • revision 871f65ac1b Tools • Dart 3.7.0 • DevTools 2.42.2
Exception
Unhandled exception in [ComponentManager(ProjectImpl@546889596), com.intellij.codeWithMe.ClientIdContextElementPrecursor@4b02bdb5, CoroutineName(com.intellij.codeInsight.navigation.CtrlMouseHandler2), Dispatchers.EDT]
java.lang.NullPointerException: Cannot invoke "de.mariushoefler.flutterenhancementsuite.models.PubPackage$Version.getPubspec()" because the return value of "de.mariushoefler.flutterenhancementsuite.models.PubPackage.getLatest()" is null
at de.mariushoefler.flutterenhancementsuite.utils.PubApi.getPackageDoc(PubApi.kt:126)
at de.mariushoefler.flutterenhancementsuite.codeInsight.documentation.PubDocumentationProvider.getShortDoc(PubDocumentationProvider.kt:37)
at de.mariushoefler.flutterenhancementsuite.codeInsight.documentation.PubDocumentationProvider.getQuickNavigateInfo(PubDocumentationProvider.kt:22)
at com.intellij.lang.documentation.CompositeDocumentationProvider.getQuickNavigateInfo(CompositeDocumentationProvider.java:111)
at com.intellij.codeInsight.navigation.SingleTargetElementInfo.generateInfo(SingleTargetElementInfo.java:28)
at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.computeDocumentationHint(PsiElementDocumentationTarget.kt:73)
at com.intellij.codeInsight.navigation.CtrlMouseDataKt.targetCtrlMouseData(CtrlMouseData.kt:101)
at com.intellij.codeInsight.navigation.CtrlMouseDataKt.symbolCtrlMouseData(CtrlMouseData.kt:55)
at com.intellij.codeInsight.navigation.impl.CtrlMouseKt.ctrlMouseData(ctrlMouse.kt:25)
at com.intellij.codeInsight.navigation.impl.TargetGTDActionData.ctrlMouseData(gtd.kt:55)
at com.intellij.codeInsight.navigation.impl.GtduKt$toGTDUActionData$1.ctrlMouseData(gtdu.kt:70)
at com.intellij.codeInsight.navigation.actions.GotoDeclarationOrUsageHandler2$Companion.getCtrlMouseData(GotoDeclarationOrUsageHandler2.kt:41)
at com.intellij.codeInsight.navigation.actions.GotoDeclarationOrUsageHandler2.getCtrlMouseData(GotoDeclarationOrUsageHandler2.kt)
at com.intellij.codeInsight.navigation.actions.GotoDeclarationAction.getCtrlMouseData(GotoDeclarationAction.java:104)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2.computeInReadAction$lambda$2(CtrlMouseHandler.kt:235)
at com.intellij.lang.documentation.ide.impl.DocumentationTargetHoverInfoKt.injectedThenHost(DocumentationTargetHoverInfo.kt:78)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2.computeInReadAction(CtrlMouseHandler.kt:234)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2.access$computeInReadAction(CtrlMouseHandler.kt:74)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2$compute$2.invokeSuspend$lambda$0(CtrlMouseHandler.kt:220)
at com.intellij.openapi.application.rw.InternalReadAction.insideReadAction(InternalReadAction.kt:114)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable$lambda$4(InternalReadAction.kt:104)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$3$lambda$2$lambda$1(cancellableReadAction.kt:32)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:351)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:972)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$3$lambda$2(cancellableReadAction.kt:30)
at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:66)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:157)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal(cancellableReadAction.kt:28)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable(InternalReadAction.kt:103)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadAction(InternalReadAction.kt:87)
at com.intellij.openapi.application.rw.InternalReadAction.readLoop(InternalReadAction.kt:74)
at com.intellij.openapi.application.rw.InternalReadAction.access$readLoop(InternalReadAction.kt:16)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invokeSuspend(InternalReadAction.kt:53)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invoke(InternalReadAction.kt)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invoke(InternalReadAction.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.openapi.application.rw.InternalReadAction.runReadAction(InternalReadAction.kt:49)
at com.intellij.openapi.application.rw.PlatformReadWriteActionSupport.executeReadAction(PlatformReadWriteActionSupport.kt:38)
at com.intellij.openapi.application.ReadWriteActionSupport.executeReadAction$default(ReadWriteActionSupport.kt:15)
at com.intellij.openapi.application.CoroutinesKt.constrainedReadAction(coroutines.kt:62)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2$compute$2.invokeSuspend(CtrlMouseHandler.kt:219)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [ComponentManager(ProjectImpl@546889596), com.intellij.codeWithMe.ClientIdContextElementPrecursor@4b02bdb5, CoroutineName(com.intellij.codeInsight.navigation.CtrlMouseHandler2), StandaloneCoroutine{Cancelled}@408415a2, Dispatchers.EDT]