com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve ceylon.file.File

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by gavinking
, 1 year ago
Failed to resolve java.lang.CharArray
via GitHub by gavinking
, 1 year ago
Failed to resolve org.junit.runners.model.Statement
via GitHub by gavinking
, 1 year ago
Failed to resolve java.util.Map
via GitHub by gavinking
, 1 year ago
Failed to resolve io.netty.channel.ChannelHandlerContext
via GitHub by FroMage
, 1 year ago
Failed to resolve java.lang.IntArray
com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve ceylon.file.File
at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1782)
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)
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.AbstractModelLoader$26.call(AbstractModelLoader.java:5604)
at com.redhat.ceylon.model.loader.AbstractModelLoader$26.call(AbstractModelLoader.java:5574)
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.getDeclaration(AbstractModelLoader.java:5574)
at com.redhat.ceylon.model.loader.TypeParser.loadType(TypeParser.java:681)
at com.redhat.ceylon.model.loader.TypeParser.parseBaseType(TypeParser.java:651)
at com.redhat.ceylon.model.loader.TypeParser.parseQualifiedType(TypeParser.java:578)
at com.redhat.ceylon.model.loader.TypeParser.parseAtomicType(TypeParser.java:243)
at com.redhat.ceylon.model.loader.TypeParser.parsePrimaryType(TypeParser.java:222)
at com.redhat.ceylon.model.loader.TypeParser.parseIntersectionType(TypeParser.java:195)
at com.redhat.ceylon.model.loader.TypeParser.parseUnionType(TypeParser.java:172)
at com.redhat.ceylon.model.loader.TypeParser.parseType(TypeParser.java:155)
at com.redhat.ceylon.model.loader.TypeParser.decodeType(TypeParser.java:129)
at com.redhat.ceylon.model.loader.AbstractModelLoader.decodeType(AbstractModelLoader.java:5171)
at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5216)
at com.redhat.ceylon.model.loader.AbstractModelLoader.setParameters(AbstractModelLoader.java:4246)
at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3013)
at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2369)
at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:360)
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.synchronizedRun(AbstractModelLoader.java:357)
at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2365)
at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:103)
at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:360)
at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:345)
at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:107)
at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withIndexStrategy$priv$(concurrencyManager.ceylon:207)
at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.outsideDumbMode(concurrencyManager.ceylon:238)
at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1.$call$(IdeaModelLoader.ceylon:106)
at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:123)
at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:117)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:967)
at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:103)
at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:341)
at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:357)
at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:97)
at com.redhat.ceylon.model.loader.model.LazyClass.getParameterLists(LazyClass.java:182)
at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.inferParameterTypesDirectly(ExpressionVisitor.java:3082)
at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.inferParameterTypes(ExpressionVisitor.java:2992)
at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:2955)
at com.redhat.ceylon.compiler.typechecker.tree.Tree$InvocationExpression.visit(Tree.java:6198)
at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkExpression(Walker.java:1387)
at com.redhat.ceylon.compiler.typechecker.tree.Tree$Expression.visitChildren(Tree.java:6105)
at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:185)
at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:9261)
at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:258)
at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:302)
at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:256)
at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:7819)
at com.redhat.ceylon.compiler.typechecker.tree.Tree$Expression.visit(Tree.java:6097)
at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkSpecifierOrInitializerExpression(Walker.java:1662)
at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkSpecifierExpression(Walker.java:1666)
at com.redhat.ceylon.compiler.typechecker.tree.Tree$SpecifierExpression.visitChildren(Tree.java:7402)
at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:298)
at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:299)
at com.redhat.ceylon.compiler.typechecker.tree.Tree$SpecifierExpression.visit(Tree.java:7394)
at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAttributeDeclaration(Walker.java:319)
at com.redhat.ceylon.compiler.typechecker.tree.Tree$AttributeDeclaration.visitChildren(Tree.java:1276)
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:64)
at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:65)
at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:1223)
at com.redhat.ceylon.compiler.typechecker.tree.Tree$AttributeDeclaration.visit(Tree.java:1268)
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.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 com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$4.$call$(CeylonProjectBuild.ceylon:654)
at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1637)
at ceylon.language.unflatten_$1.$call$(unflatten_.java:46)
at ceylon.language.Iterable$impl.each(Iterable.ceylon:352)
at ceylon.language.impl.BaseIterable.each(bases.ceylon)
at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.typecheck$priv$(CeylonProjectBuild.ceylon:663)
at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.access$1700(CeylonProjectBuild.ceylon:122)
at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$27$1$1.$call$(CeylonProjectBuild.ceylon:948)
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 com.redhat.ceylon.ide.common.model.CeylonProjectBuild$27$1.$call$(CeylonProjectBuild.ceylon:914)
at com.redhat.ceylon.ide.common.model.withCeylonModelCaching_.withCeylonModelCaching(CeylonProjects.ceylon:52)
at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$27.$call$(CeylonProjectBuild.ceylon:913)
at ceylon.interop.java.internal.synchronize_.synchronize(synchronize_.java:33)
at ceylon.interop.java.synchronize_.synchronize(misc.ceylon:79)
at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.updateCeylonModel(CeylonProjectBuild.ceylon:912)
at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.performBuild$canonical$(CeylonProjectBuild.ceylon:610)
at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.performBuild(CeylonProjectBuild.ceylon:580)
at org.intellij.plugins.ceylon.ide.ceylonCode.model.CeylonModelManager$ModelUpdateBackgroundTask$1.$call$(CeylonModelManager.ceylon:317)
at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withIndexStrategy$priv$(concurrencyManager.ceylon:207)
at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withUpToDateIndexes(concurrencyManager.ceylon:228)
at org.intellij.plugins.ceylon.ide.ceylonCode.model.CeylonModelManager$ModelUpdateBackgroundTask.run(CeylonModelManager.ceylon:312)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
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)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

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.

Know the solutions? Share your knowledge to help other developers to debug faster.