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

GitHub | MikhailMalyutin | 2 months ago
  1. 0

    Error message in IDEA Plugin ( Failed to resolve ceylon.file.File)

    GitHub | 2 months ago | MikhailMalyutin
    com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve ceylon.file.File
  2. 0

    error at startup in JS-only project

    GitHub | 1 month ago | gavinking
    com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.CharArray
  3. 0

    ModelResolutionException during completion

    GitHub | 3 months ago | gavinking
    com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve com.intellij.lang.properties.psi.Property
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android exception on IntelliJ

    GitHub | 2 months ago | FroMage
    com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.IntArray
  6. 0

    errors after importing project

    GitHub | 2 months ago | gavinking
    com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Boolean

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.redhat.ceylon.model.loader.ModelResolutionException

      Failed to resolve ceylon.file.File

      at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call()
    2. com.redhat.ceylon
      AbstractModelLoader$1.call
      1. com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1782)
      2. com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1690)
      3. com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:345)
      3 frames
    3. org.intellij.plugins
      IdeaModelLoader.embeddingSync
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:124)
      1 frame
    4. com.redhat.ceylon
      AbstractModelLoader$1.call
      1. com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:341)
      2. com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1690)
      3. com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1686)
      4. com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.access$1801(IdeModelLoader.ceylon:100)
      5. com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$10.$call$(IdeModelLoader.ceylon:508)
      6. com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$10.$call$(IdeModelLoader.ceylon:497)
      7. com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$1anonymous_0_.call(IdeModelLoader.ceylon:133)
      8. com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:345)
      8 frames
    5. org.intellij.plugins
      IdeaModelLoader.embeddingSync
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:124)
      1 frame
    6. com.redhat.ceylon
      AbstractModelLoader$1.call
      1. com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:341)
      2. com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.callWithLock(IdeModelLoader.ceylon:132)
      3. com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.convertToDeclaration(IdeModelLoader.ceylon:517)
      4. com.redhat.ceylon.model.loader.AbstractModelLoader$26.call(AbstractModelLoader.java:5604)
      5. com.redhat.ceylon.model.loader.AbstractModelLoader$26.call(AbstractModelLoader.java:5574)
      6. com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:345)
      6 frames
    7. org.intellij.plugins
      IdeaModelLoader.embeddingSync
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:124)
      1 frame
    8. com.redhat.ceylon
      AbstractModelLoader$1.call
      1. com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:341)
      2. com.redhat.ceylon.model.loader.AbstractModelLoader.getDeclaration(AbstractModelLoader.java:5574)
      3. com.redhat.ceylon.model.loader.TypeParser.loadType(TypeParser.java:681)
      4. com.redhat.ceylon.model.loader.TypeParser.parseBaseType(TypeParser.java:651)
      5. com.redhat.ceylon.model.loader.TypeParser.parseQualifiedType(TypeParser.java:578)
      6. com.redhat.ceylon.model.loader.TypeParser.parseAtomicType(TypeParser.java:243)
      7. com.redhat.ceylon.model.loader.TypeParser.parsePrimaryType(TypeParser.java:222)
      8. com.redhat.ceylon.model.loader.TypeParser.parseIntersectionType(TypeParser.java:195)
      9. com.redhat.ceylon.model.loader.TypeParser.parseUnionType(TypeParser.java:172)
      10. com.redhat.ceylon.model.loader.TypeParser.parseType(TypeParser.java:155)
      11. com.redhat.ceylon.model.loader.TypeParser.decodeType(TypeParser.java:129)
      12. com.redhat.ceylon.model.loader.AbstractModelLoader.decodeType(AbstractModelLoader.java:5171)
      13. com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5216)
      14. com.redhat.ceylon.model.loader.AbstractModelLoader.setParameters(AbstractModelLoader.java:4246)
      15. com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3013)
      16. com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
      17. com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2369)
      18. com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:360)
      19. com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:345)
      19 frames
    9. org.intellij.plugins
      IdeaModelLoader.embeddingSync
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:124)
      1 frame
    10. com.redhat.ceylon
      AbstractModelLoader$1.call
      1. com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:341)
      2. com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:357)
      3. com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2365)
      4. com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:103)
      5. com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:360)
      6. com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:345)
      6 frames
    11. org.intellij.plugins
      IdeaModelLoader$1.$call$
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:107)
      2. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withIndexStrategy$priv$(concurrencyManager.ceylon:207)
      3. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.outsideDumbMode(concurrencyManager.ceylon:238)
      4. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1.$call$(IdeaModelLoader.ceylon:106)
      4 frames
    12. ceylon.interop.java
      JavaRunnable.run
      1. ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
      1 frame
    13. IDEA
      DumbService.runReadActionInSmartMode
      1. com.intellij.openapi.project.DumbService$2.compute(DumbService.java:123)
      2. com.intellij.openapi.project.DumbService$2.compute(DumbService.java:117)
      3. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:967)
      4. com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:117)
      4 frames
    14. org.intellij.plugins
      IdeaModelLoader.embeddingSync
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:103)
      1 frame
    15. com.redhat.ceylon
      Util.apply
      1. com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:341)
      2. com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:357)
      3. com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:97)
      4. com.redhat.ceylon.model.loader.model.LazyClass.getParameterLists(LazyClass.java:182)
      5. com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.inferParameterTypesDirectly(ExpressionVisitor.java:3082)
      6. com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.inferParameterTypes(ExpressionVisitor.java:2992)
      7. com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:2955)
      8. com.redhat.ceylon.compiler.typechecker.tree.Tree$InvocationExpression.visit(Tree.java:6198)
      9. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkExpression(Walker.java:1387)
      10. com.redhat.ceylon.compiler.typechecker.tree.Tree$Expression.visitChildren(Tree.java:6105)
      11. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
      12. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:185)
      13. com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:9261)
      14. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:258)
      15. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:302)
      16. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:256)
      17. com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:7819)
      18. com.redhat.ceylon.compiler.typechecker.tree.Tree$Expression.visit(Tree.java:6097)
      19. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkSpecifierOrInitializerExpression(Walker.java:1662)
      20. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkSpecifierExpression(Walker.java:1666)
      21. com.redhat.ceylon.compiler.typechecker.tree.Tree$SpecifierExpression.visitChildren(Tree.java:7402)
      22. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
      23. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:298)
      24. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:299)
      25. com.redhat.ceylon.compiler.typechecker.tree.Tree$SpecifierExpression.visit(Tree.java:7394)
      26. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAttributeDeclaration(Walker.java:319)
      27. com.redhat.ceylon.compiler.typechecker.tree.Tree$AttributeDeclaration.visitChildren(Tree.java:1276)
      28. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
      29. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:131)
      30. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:132)
      31. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:40)
      32. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:63)
      33. com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:2202)
      34. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:64)
      35. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:65)
      36. com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:1223)
      37. com.redhat.ceylon.compiler.typechecker.tree.Tree$AttributeDeclaration.visit(Tree.java:1268)
      38. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkBody(Walker.java:437)
      39. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkBlock(Walker.java:442)
      40. com.redhat.ceylon.compiler.typechecker.tree.Tree$Block.visitChildren(Tree.java:1846)
      41. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
      42. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:83)
      43. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:84)
      44. com.redhat.ceylon.compiler.typechecker.tree.Tree$Block.visit(Tree.java:1838)
      45. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkMethodDefinition(Walker.java:352)
      46. com.redhat.ceylon.compiler.typechecker.tree.Tree$MethodDefinition.visitChildren(Tree.java:1416)
      47. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
      48. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:131)
      49. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:132)
      50. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:40)
      51. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:63)
      52. com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:2202)
      53. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:68)
      54. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:69)
      55. com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:2123)
      56. com.redhat.ceylon.compiler.typechecker.tree.Tree$MethodDefinition.visit(Tree.java:1408)
      57. com.redhat.ceylon.compiler.typechecker.tree.Walker.walkCompilationUnit(Walker.java:30)
      58. com.redhat.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visitChildren(Tree.java:30)
      59. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
      60. com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:26)
      61. com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:215)
      62. com.redhat.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visit(Tree.java:22)
      63. com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.analyseTypes(PhasedUnit.java:424)
      64. com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$4.$call$(CeylonProjectBuild.ceylon:654)
      65. com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
      66. com.redhat.ceylon.compiler.java.Util.apply(Util.java:1637)
      66 frames
    16. ceylon.language
      Iterable$impl.each
      1. ceylon.language.unflatten_$1.$call$(unflatten_.java:46)
      2. ceylon.language.Iterable$impl.each(Iterable.ceylon:352)
      2 frames
    17. ceylon.language.impl
      BaseIterable.each
      1. ceylon.language.impl.BaseIterable.each(bases.ceylon)
      1 frame
    18. com.redhat.ceylon
      CeylonProjectBuild$27.$call$
      1. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.typecheck$priv$(CeylonProjectBuild.ceylon:663)
      2. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.access$1700(CeylonProjectBuild.ceylon:122)
      3. com.redhat.ceylon.ide.common.model.CeylonProjectBuild$27$1$1.$call$(CeylonProjectBuild.ceylon:948)
      4. com.redhat.ceylon.ide.common.model.BaseCeylonProject.withSourceModel$canonical$(CeylonProject.ceylon:446)
      5. com.redhat.ceylon.ide.common.model.BaseCeylonProject.withSourceModel(CeylonProject.ceylon:438)
      6. com.redhat.ceylon.ide.common.model.CeylonProjectBuild$27$1.$call$(CeylonProjectBuild.ceylon:914)
      7. com.redhat.ceylon.ide.common.model.withCeylonModelCaching_.withCeylonModelCaching(CeylonProjects.ceylon:52)
      8. com.redhat.ceylon.ide.common.model.CeylonProjectBuild$27.$call$(CeylonProjectBuild.ceylon:913)
      8 frames
    19. ceylon.interop.java
      synchronize_.synchronize
      1. ceylon.interop.java.internal.synchronize_.synchronize(synchronize_.java:33)
      2. ceylon.interop.java.synchronize_.synchronize(misc.ceylon:79)
      2 frames
    20. com.redhat.ceylon
      CeylonProjectBuild.performBuild
      1. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.updateCeylonModel(CeylonProjectBuild.ceylon:912)
      2. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.performBuild$canonical$(CeylonProjectBuild.ceylon:610)
      3. com.redhat.ceylon.ide.common.model.CeylonProjectBuild.performBuild(CeylonProjectBuild.ceylon:580)
      3 frames
    21. org.intellij.plugins
      CeylonModelManager$ModelUpdateBackgroundTask.run
      1. org.intellij.plugins.ceylon.ide.ceylonCode.model.CeylonModelManager$ModelUpdateBackgroundTask$1.$call$(CeylonModelManager.ceylon:317)
      2. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withIndexStrategy$priv$(concurrencyManager.ceylon:207)
      3. org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.withUpToDateIndexes(concurrencyManager.ceylon:228)
      4. org.intellij.plugins.ceylon.ide.ceylonCode.model.CeylonModelManager$ModelUpdateBackgroundTask.run(CeylonModelManager.ceylon:312)
      4 frames
    22. IDEA
      ApplicationImpl$8.run
      1. com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
      2. com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
      3. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
      4. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
      5. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      6. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
      7. com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
      8. com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:366)
      8 frames
    23. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames
    24. IDEA
      PooledThreadExecutor$1$1.run
      1. org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)
      1 frame