java.lang.Throwable

Control-flow exceptions (like ProcessCanceledException) should never be logged

Solutions on the web164

  • Control-flow exceptions (like ProcessCanceledException) should never be logged
  • Control-flow exceptions (like ProcessCanceledException) should never be logged
  • Control-flow exceptions should never be logged
  • Stack trace

    • java.lang.Throwable: Control-flow exceptions (like ProcessCanceledException) should never be logged at com.intellij.idea.IdeaLogger.error(IdeaLogger.java:119) at com.intellij.openapi.diagnostic.Logger.error(Logger.java:142) at org.intellij.plugins.ceylon.ide.ceylonCode.platform.ideaPlatformUtils_.log$canonical$(ideaPlatformUtils.ceylon:41) at org.intellij.plugins.ceylon.ide.ceylonCode.platform.ideaPlatformUtils_.log(ideaPlatformUtils.ceylon:29) at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$10.$call$(IdeModelLoader.ceylon:510) at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$10.$call$(IdeModelLoader.ceylon:497) at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$1anonymous_0_.call(IdeModelLoader.ceylon:133) at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:345) at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:124) at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:341) at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.callWithLock(IdeModelLoader.ceylon:132) at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.convertToDeclaration(IdeModelLoader.ceylon:517) at com.redhat.ceylon.model.loader.model.LazyPackage$1.call(LazyPackage.java:122) at com.redhat.ceylon.model.loader.model.LazyPackage$1.call(LazyPackage.java:98) at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:345) at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:97) at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:341) at com.redhat.ceylon.model.loader.model.LazyPackage.getDirectMemberMemoised(LazyPackage.java:98) at com.redhat.ceylon.model.loader.model.LazyPackage.getDirectMemberForBackend(LazyPackage.java:94) at com.redhat.ceylon.model.typechecker.model.ModelUtil.getNativeDeclaration(ModelUtil.java:2865) at com.redhat.ceylon.model.typechecker.model.ModelUtil.getNativeDeclaration(ModelUtil.java:2790) at com.redhat.ceylon.model.typechecker.model.ModelUtil.getNativeHeader(ModelUtil.java:2755) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.handleNativeHeader(ExpressionVisitor.java:9771) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:6224) at com.redhat.ceylon.compiler.typechecker.tree.Tree$BaseType.visit(Tree.java:2030) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkQualifiedType(Walker.java:483) at com.redhat.ceylon.compiler.typechecker.tree.Tree$QualifiedType.visitChildren(Tree.java:2063) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:87) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:9268) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:88) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:90) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:7713) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:92) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:6243) at com.redhat.ceylon.compiler.typechecker.tree.Tree$QualifiedType.visit(Tree.java:2055) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:787) at com.redhat.ceylon.compiler.typechecker.tree.Tree$IsCondition.visit(Tree.java:4446) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkConditionList(Walker.java:1025) at com.redhat.ceylon.compiler.typechecker.tree.Tree$ConditionList.visitChildren(Tree.java:4304) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:176) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:753) at com.redhat.ceylon.compiler.typechecker.tree.Tree$ConditionList.visit(Tree.java:4296) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkIfClause(Walker.java:832) at com.redhat.ceylon.compiler.typechecker.tree.Tree$IfClause.visitChildren(Tree.java:3578) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:144) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:150) at com.redhat.ceylon.compiler.typechecker.tree.Tree$IfClause.visit(Tree.java:3570) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkIfStatement(Walker.java:824) at com.redhat.ceylon.compiler.typechecker.tree.Tree$IfStatement.visitChildren(Tree.java:3549) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:131) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:132) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:134) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:143) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:149) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:8277) at com.redhat.ceylon.compiler.typechecker.tree.Tree$IfStatement.visit(Tree.java:3541) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkBody(Walker.java:437) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkBlock(Walker.java:442) at com.redhat.ceylon.compiler.typechecker.tree.Tree$Block.visitChildren(Tree.java:1846) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:83) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:84) at com.redhat.ceylon.compiler.typechecker.tree.Tree$Block.visit(Tree.java:1838) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkMethodDefinition(Walker.java:352) at com.redhat.ceylon.compiler.typechecker.tree.Tree$MethodDefinition.visitChildren(Tree.java:1416) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:131) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:132) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:40) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:63) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:2202) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:68) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:69) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:2123) at com.redhat.ceylon.compiler.typechecker.tree.Tree$MethodDefinition.visit(Tree.java:1408) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkBody(Walker.java:437) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassBody(Walker.java:446) at com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassBody.visitChildren(Tree.java:1874) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:83) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:85) at com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassBody.visit(Tree.java:1866) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:250) at com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassDefinition.visitChildren(Tree.java:953) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:131) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:132) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:40) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:42) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:43) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:54) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:55) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:2222) at com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassDefinition.visit(Tree.java:945) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkCompilationUnit(Walker.java:30) at com.redhat.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visitChildren(Tree.java:30) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:26) at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:215) at com.redhat.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visit(Tree.java:22) at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.analyseTypes(PhasedUnit.java:424) at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzer$31$7.$call$(CeylonLocalAnalyzer.ceylon:558) at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzer$31.$call$(CeylonLocalAnalyzer.ceylon:566) at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzer$31.$call$(CeylonLocalAnalyzer.ceylon:524) at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withIndexStrategy$priv$(concurrencyManager.ceylon:207) at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withAlternateResolution(concurrencyManager.ceylon:219) at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzer.createPhasedUnitAndTypecheck$priv$(CeylonLocalAnalyzer.ceylon:524) at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzer.access$1800(CeylonLocalAnalyzer.ceylon:116) at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzer$30.$call$(CeylonLocalAnalyzer.ceylon:482) at com.redhat.ceylon.ide.common.model.BaseCeylonProject.withSourceModel$canonical$(CeylonProject.ceylon:446) at com.redhat.ceylon.ide.common.model.BaseCeylonProject.withSourceModel(CeylonProject.ceylon:438) at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzer.typecheckSourceFile$priv$(CeylonLocalAnalyzer.ceylon:411) at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzer.runTypechecking$priv$(CeylonLocalAnalyzer.ceylon:391) at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzer.ensureTypechecked$canonical$(CeylonLocalAnalyzer.ceylon:341) at org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzer.ensureTypechecked(CeylonLocalAnalyzer.ceylon:340) at org.intellij.plugins.ceylon.ide.ceylonCode.completion.IdeaCompletionProvider$1.$call$(ideaCompletionManager.ceylon:133) at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withIndexStrategy$priv$(concurrencyManager.ceylon:207) at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withAlternateResolution(concurrencyManager.ceylon:219) at org.intellij.plugins.ceylon.ide.ceylonCode.completion.IdeaCompletionProvider.addCompletions(ideaCompletionManager.ceylon:125) at com.intellij.codeInsight.completion.CompletionProvider.addCompletionVariants(CompletionProvider.java:36) at com.intellij.codeInsight.completion.CompletionContributor.fillCompletionVariants(CompletionContributor.java:155) at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:81) at com.intellij.codeInsight.completion.CompletionResultSet.runRemainingContributors(CompletionResultSet.java:132) at com.intellij.codeInsight.completion.CompletionResultSet.runRemainingContributors(CompletionResultSet.java:125) at com.intellij.codeInsight.template.impl.LiveTemplateCompletionContributor$2.addCompletions(LiveTemplateCompletionContributor.java:90) at com.intellij.codeInsight.completion.CompletionProvider.addCompletionVariants(CompletionProvider.java:36) at com.intellij.codeInsight.completion.CompletionContributor.fillCompletionVariants(CompletionContributor.java:155) at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:81) at com.intellij.codeInsight.completion.CompletionService.performCompletion(CompletionService.java:110) at com.intellij.codeInsight.completion.CompletionProgressIndicator.calculateItems(CompletionProgressIndicator.java:776) at com.intellij.codeInsight.completion.CompletionProgressIndicator.access$500(CompletionProgressIndicator.java:90) at com.intellij.codeInsight.completion.CompletionProgressIndicator$1CalculateItems.run(CompletionProgressIndicator.java:758) at com.intellij.codeInsight.completion.AsyncCompletion.lambda$null$0(CompletionThreading.java:87) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848) at com.intellij.codeInsight.completion.AsyncCompletion.lambda$null$1(CompletionThreading.java:84) at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155) at com.intellij.codeInsight.completion.AsyncCompletion.lambda$startThread$2(CompletionThreading.java:82) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:307) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.intellij.openapi.progress.ProcessCanceledException at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.checkCanceled(AbstractProgressIndicatorBase.java:130) at com.intellij.openapi.progress.util.AbstractProgressIndicatorExBase.checkCanceled(AbstractProgressIndicatorExBase.java:192) at com.intellij.openapi.progress.impl.CoreProgressManager.doCheckCanceled(CoreProgressManager.java:131) at com.intellij.openapi.progress.ProgressManager.checkCanceled(ProgressManager.java:206) at com.intellij.openapi.progress.ProgressIndicatorProvider.checkCanceled(ProgressIndicatorProvider.java:48) at com.intellij.extapi.psi.StubBasedPsiElementBase.getStub(StubBasedPsiElementBase.java:350) at com.intellij.psi.impl.source.PsiClassImpl.getContainingClass(PsiClassImpl.java:258) at org.intellij.plugins.ceylon.ide.ceylonCode.model.PSIClass.isInnerClass(PSIClass.ceylon:171) at org.intellij.plugins.ceylon.ide.ceylonCode.model.PSIClass.isCeylonToplevelAttribute(PSIClass.ceylon:87) at com.redhat.ceylon.model.loader.AbstractModelLoader.getClassType(AbstractModelLoader.java:1300) at com.redhat.ceylon.model.loader.AbstractModelLoader.findCachedDeclaration(AbstractModelLoader.java:1083) at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:672) at com.redhat.ceylon.model.loader.AbstractModelLoader.access$400(AbstractModelLoader.java:100) at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1788) at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1690) at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:345) at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:124) at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:341) at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1690) at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1686) at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.access$1801(IdeModelLoader.ceylon:100) at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$10.$call$(IdeModelLoader.ceylon:508) ... 146 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.