Add|Create named arguments for call function and class constructors
MIT License
1
stars
0
forks
source link
java.lang.Throwable: Control-flow exceptions (e.g. this class com.intellij.openapi.progress.ProcessCanceledException) should never be logged. Instead, these should have been rethrown if caught. #1
java.lang.Throwable: Control-flow exceptions (e.g. this class com.intellij.openapi.progress.ProcessCanceledException) should never be logged. Instead, these should have been rethrown if caught.
at com.intellij.openapi.diagnostic.Logger.ensureNotControlFlow(Logger.java:493)
at com.intellij.idea.IdeaLogger.doLogError(IdeaLogger.java:154)
at com.intellij.idea.IdeaLogger.error(IdeaLogger.java:145)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:436)
at ru.alezhu.idea.plugins.named_argument_stubs.NamedArgumentStubsIntention.isAvailable(NamedArgumentStubsIntention.kt:29)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:205)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.lambda$getRegisteredIntentionActions$6(ShowIntentionsPass.java:376)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.java:275)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getRegisteredIntentionActions(ShowIntentionsPass.java:375)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:347)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:250)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:431)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.runWithSpanIgnoreThrows(trace.kt:118)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceUtil.runWithSpanThrows(TraceUtil.java:36)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:426)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:291)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:965)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$4(PassExecutorService.java:417)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:416)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:392)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:802)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:392)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:486)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:390)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:259)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Caused by: com.intellij.openapi.progress.ProcessCanceledException
at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.throwIfCanceled(AbstractProgressIndicatorBase.java:172)
at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.checkCanceled(AbstractProgressIndicatorBase.java:162)
at com.intellij.codeInsight.daemon.impl.DaemonProgressIndicator.checkCanceled(DaemonProgressIndicator.java:106)
at com.intellij.openapi.progress.impl.CoreProgressManager.doCheckCanceled(CoreProgressManager.java:166)
at com.intellij.openapi.progress.ProgressManager.checkCanceled(ProgressManager.java:336)
at com.intellij.openapi.progress.ProgressIndicatorProvider.checkCanceled(ProgressIndicatorProvider.java:41)
at com.intellij.psi.impl.source.tree.CompositeElement.getPsi(CompositeElement.java:693)
at com.intellij.psi.impl.source.SourceTreeToPsiMap.treeElementToPsi(SourceTreeToPsiMap.java:15)
at com.intellij.psi.impl.source.tree.SharedImplUtil.getParent(SharedImplUtil.java:33)
at com.intellij.psi.impl.source.tree.LeafPsiElement.getParent(LeafPsiElement.java:56)
at com.intellij.psi.util.PsiTreeUtil.getParentOfType(PsiTreeUtil.java:621)
at com.intellij.psi.util.PsiTreeUtil.getParentOfType(PsiTreeUtil.java:610)
at com.intellij.psi.util.PsiTreeUtil.getParentOfType(PsiTreeUtil.java:537)
at ru.alezhu.idea.plugins.named_argument_stubs.Context$referenceElement$2.invoke(Context.kt:15)
at ru.alezhu.idea.plugins.named_argument_stubs.Context$referenceElement$2.invoke(Context.kt:14)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at ru.alezhu.idea.plugins.named_argument_stubs.Context.getReferenceElement(Context.kt:14)
at ru.alezhu.idea.plugins.named_argument_stubs.Context.access$getReferenceElement(Context.kt:10)
at ru.alezhu.idea.plugins.named_argument_stubs.Context$reference$2.invoke(Context.kt:21)
at ru.alezhu.idea.plugins.named_argument_stubs.Context$reference$2.invoke(Context.kt:18)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at ru.alezhu.idea.plugins.named_argument_stubs.Context.getReference(Context.kt:18)
at ru.alezhu.idea.plugins.named_argument_stubs.Context.access$getReference(Context.kt:10)
at ru.alezhu.idea.plugins.named_argument_stubs.Context$definition$2.invoke(Context.kt:25)
at ru.alezhu.idea.plugins.named_argument_stubs.Context$definition$2.invoke(Context.kt:24)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at ru.alezhu.idea.plugins.named_argument_stubs.Context.getDefinition(Context.kt:24)
at ru.alezhu.idea.plugins.named_argument_stubs.Context.access$getDefinition(Context.kt:10)
at ru.alezhu.idea.plugins.named_argument_stubs.Context$parameterList$2.invoke(Context.kt:45)
at ru.alezhu.idea.plugins.named_argument_stubs.Context$parameterList$2.invoke(Context.kt:44)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at ru.alezhu.idea.plugins.named_argument_stubs.Context.getParameterList(Context.kt:44)
at ru.alezhu.idea.plugins.named_argument_stubs.Context.isAvailable(Context.kt:69)
at ru.alezhu.idea.plugins.named_argument_stubs.NamedArgumentStubsIntention.isAvailable(NamedArgumentStubsIntention.kt:23)
... 32 more
java.lang.Throwable: Control-flow exceptions (e.g. this class com.intellij.openapi.progress.ProcessCanceledException) should never be logged. Instead, these should have been rethrown if caught. at com.intellij.openapi.diagnostic.Logger.ensureNotControlFlow(Logger.java:493) at com.intellij.idea.IdeaLogger.doLogError(IdeaLogger.java:154) at com.intellij.idea.IdeaLogger.error(IdeaLogger.java:145) at com.intellij.openapi.diagnostic.Logger.error(Logger.java:436) at ru.alezhu.idea.plugins.named_argument_stubs.NamedArgumentStubsIntention.isAvailable(NamedArgumentStubsIntention.kt:29) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:205) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.lambda$getRegisteredIntentionActions$6(ShowIntentionsPass.java:376) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.java:275) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getRegisteredIntentionActions(ShowIntentionsPass.java:375) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:347) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:250) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:431) at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.runWithSpanIgnoreThrows(trace.kt:118) at com.intellij.platform.diagnostic.telemetry.helpers.TraceUtil.runWithSpanThrows(TraceUtil.java:36) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:426) at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:291) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:965) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$4(PassExecutorService.java:417) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:416) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:392) at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:802) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:392) at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:486) at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:390) at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:259) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187) Caused by: com.intellij.openapi.progress.ProcessCanceledException at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.throwIfCanceled(AbstractProgressIndicatorBase.java:172) at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.checkCanceled(AbstractProgressIndicatorBase.java:162) at com.intellij.codeInsight.daemon.impl.DaemonProgressIndicator.checkCanceled(DaemonProgressIndicator.java:106) at com.intellij.openapi.progress.impl.CoreProgressManager.doCheckCanceled(CoreProgressManager.java:166) at com.intellij.openapi.progress.ProgressManager.checkCanceled(ProgressManager.java:336) at com.intellij.openapi.progress.ProgressIndicatorProvider.checkCanceled(ProgressIndicatorProvider.java:41) at com.intellij.psi.impl.source.tree.CompositeElement.getPsi(CompositeElement.java:693) at com.intellij.psi.impl.source.SourceTreeToPsiMap.treeElementToPsi(SourceTreeToPsiMap.java:15) at com.intellij.psi.impl.source.tree.SharedImplUtil.getParent(SharedImplUtil.java:33) at com.intellij.psi.impl.source.tree.LeafPsiElement.getParent(LeafPsiElement.java:56) at com.intellij.psi.util.PsiTreeUtil.getParentOfType(PsiTreeUtil.java:621) at com.intellij.psi.util.PsiTreeUtil.getParentOfType(PsiTreeUtil.java:610) at com.intellij.psi.util.PsiTreeUtil.getParentOfType(PsiTreeUtil.java:537) at ru.alezhu.idea.plugins.named_argument_stubs.Context$referenceElement$2.invoke(Context.kt:15) at ru.alezhu.idea.plugins.named_argument_stubs.Context$referenceElement$2.invoke(Context.kt:14) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at ru.alezhu.idea.plugins.named_argument_stubs.Context.getReferenceElement(Context.kt:14) at ru.alezhu.idea.plugins.named_argument_stubs.Context.access$getReferenceElement(Context.kt:10) at ru.alezhu.idea.plugins.named_argument_stubs.Context$reference$2.invoke(Context.kt:21) at ru.alezhu.idea.plugins.named_argument_stubs.Context$reference$2.invoke(Context.kt:18) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at ru.alezhu.idea.plugins.named_argument_stubs.Context.getReference(Context.kt:18) at ru.alezhu.idea.plugins.named_argument_stubs.Context.access$getReference(Context.kt:10) at ru.alezhu.idea.plugins.named_argument_stubs.Context$definition$2.invoke(Context.kt:25) at ru.alezhu.idea.plugins.named_argument_stubs.Context$definition$2.invoke(Context.kt:24) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at ru.alezhu.idea.plugins.named_argument_stubs.Context.getDefinition(Context.kt:24) at ru.alezhu.idea.plugins.named_argument_stubs.Context.access$getDefinition(Context.kt:10) at ru.alezhu.idea.plugins.named_argument_stubs.Context$parameterList$2.invoke(Context.kt:45) at ru.alezhu.idea.plugins.named_argument_stubs.Context$parameterList$2.invoke(Context.kt:44) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at ru.alezhu.idea.plugins.named_argument_stubs.Context.getParameterList(Context.kt:44) at ru.alezhu.idea.plugins.named_argument_stubs.Context.isAvailable(Context.kt:69) at ru.alezhu.idea.plugins.named_argument_stubs.NamedArgumentStubsIntention.isAvailable(NamedArgumentStubsIntention.kt:23) ... 32 more