Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

errors after importing project #533

Closed
gavinking opened this issue Oct 13, 2016 · 5 comments
Closed

errors after importing project #533

gavinking opened this issue Oct 13, 2016 · 5 comments
Labels
Milestone

Comments

@gavinking
Copy link
Contributor

I got lots of these after importing @DiegoCoronel's Swarm example project. I've also seen it recently in other circumstances.

9:09 AM ModelResolutionException: Cannot convert type name "java.lang.Enum" to a Declaration: Failed to resolve java.lang.Enum

9:09 AM ModelResolutionException: Cannot convert type name "java.util.Map" to a Declaration: Failed to resolve java.util.Map

9:09 AM ModelResolutionException: Cannot convert type name "java.util.Map" to a Declaration: Failed to resolve java.util.Map

9:09 AM ModelResolutionException: Cannot convert type name "java.lang.Boolean" to a Declaration: Failed to resolve java.lang.Boolean

9:09 AM ModelResolutionException: Cannot convert type name "java.util.Set" to a Declaration: Failed to resolve java.util.Set

9:09 AM ModelResolutionException: Cannot convert type name "java.lang.Class" to a Declaration: Failed to resolve java.lang.Class

9:09 AM ModelResolutionException: Cannot convert type name "java.net.URL" to a Declaration: Failed to resolve java.net.URL

9:09 AM ModelResolutionException: Cannot convert type name "java.lang.Class" to a Declaration: Failed to resolve java.lang.Class

9:09 AM ModelResolutionException: Cannot convert type name "java.util.List" to a Declaration: Failed to resolve java.util.List

9:09 AM ModelResolutionException: Cannot convert type name "java.io.InputStream" to a Declaration: Failed to resolve java.io.InputStream

9:09 AM ModelResolutionException: Cannot convert type name "java.io.OutputStream" to a Declaration: Failed to resolve java.io.OutputStream

9:09 AM ModelResolutionException: Cannot convert type name "java.net.URL" to a Declaration: Failed to resolve java.net.URL

9:09 AM ModelResolutionException: Cannot convert type name "java.lang.Package" to a Declaration: Failed to resolve java.lang.Package

9:09 AM ModelResolutionException: Cannot convert type name "java.util.Map" to a Declaration: Failed to resolve java.util.Map

The actual stack trace is:

Cannot convert type name "java.lang.Enum" to a Declaration: Failed to resolve java.lang.Enum
com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Enum
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.setExtendedType(AbstractModelLoader.java:4203)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3073)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getMember(LazyClass.java:245)
    at com.redhat.ceylon.compiler.typechecker.analyzer.ImportVisitor.importMember(ImportVisitor.java:374)
    at com.redhat.ceylon.compiler.typechecker.analyzer.ImportVisitor.importMembers(ImportVisitor.java:245)
    at com.redhat.ceylon.compiler.typechecker.analyzer.ImportVisitor.importMember(ImportVisitor.java:352)
    at com.redhat.ceylon.compiler.typechecker.analyzer.ImportVisitor.visit(ImportVisitor.java:93)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$Import.visit(Tree.java:242)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkImportList(Walker.java:80)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$ImportList.visitChildren(Tree.java:222)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:31)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$ImportList.visit(Tree.java:214)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkCompilationUnit(Walker.java:16)
    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.ImportVisitor.visit(ImportVisitor.java:66)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:386)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.beans.PropertyChangeListener
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.setParameters(AbstractModelLoader.java:4338)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3627)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.beans.PropertyChangeListener
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.setParameters(AbstractModelLoader.java:4338)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3627)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.util.List
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.setParameters(AbstractModelLoader.java:4338)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3627)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.util.List
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.setParameters(AbstractModelLoader.java:4338)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3627)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3047)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Integer
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3604)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Integer
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.setParameters(AbstractModelLoader.java:4338)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3627)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Integer
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3604)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3047)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Long
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3604)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Long
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.setParameters(AbstractModelLoader.java:4338)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3627)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Long
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3604)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3047)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Boolean
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3604)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Boolean
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3604)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3047)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Long
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3604)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Long
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.setParameters(AbstractModelLoader.java:4338)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3627)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Long
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3604)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3047)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Long
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3604)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Long
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.setParameters(AbstractModelLoader.java:4338)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3627)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.lang.Long
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3604)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3047)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)


com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve java.util.Map
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1818)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$5.call(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1726)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1722)
    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:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    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.convertDeclaredTypeToDeclaration(AbstractModelLoader.java:653)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.convertNonPrimitiveTypeToDeclaration(AbstractModelLoader.java:613)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.getNonPrimitiveType(AbstractModelLoader.java:5510)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5371)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.obtainType(AbstractModelLoader.java:5326)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.addMethod(AbstractModelLoader.java:3604)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:3026)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.access$1200(AbstractModelLoader.java:100)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$16.run(AbstractModelLoader.java:2405)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:134)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:2401)
    at com.redhat.ceylon.model.loader.model.LazyClass$1.run(LazyClass.java:97)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:361)
    at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:346)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader$1$1.$call$(IdeaModelLoader.ceylon:117)
    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:116)
    at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:113)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:342)
    at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:358)
    at com.redhat.ceylon.model.loader.model.LazyClass.load(LazyClass.java:91)
    at com.redhat.ceylon.model.loader.model.LazyClass.getExtendedType(LazyClass.java:161)
    at com.redhat.ceylon.model.typechecker.model.Type.isRecursiveRawTypeDefinition(Type.java:4041)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.checkForUndecidability(SupertypeVisitor.java:78)
    at com.redhat.ceylon.compiler.typechecker.analyzer.SupertypeVisitor.visit(SupertypeVisitor.java:247)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraint.visit(Tree.java:773)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkTypeConstraintList(Walker.java:203)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visitChildren(Tree.java:753)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
    at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:49)
    at com.redhat.ceylon.compiler.typechecker.tree.Tree$TypeConstraintList.visit(Tree.java:745)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnyClass(Walker.java:244)
    at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:248)
    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.SupertypeVisitor.visit(SupertypeVisitor.java:228)
    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.tree.Tree$CompilationUnit.visit(Tree.java:22)
    at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:388)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
    at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1638)
    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:315)
    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:310)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    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.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    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)
@gavinking gavinking added this to the 1.3.1 milestone Oct 13, 2016
bjansen added a commit that referenced this issue Oct 25, 2016
fatal and we don't want them to be shown to users (#536 #533 #523).
@bjansen
Copy link
Contributor

bjansen commented Nov 3, 2016

It looks like you had no JDK configured for this project, otherwise there's no reason that stuff from java.lang couldn't be found. I'm going to add a big red warning for Ceylon projects that should be compiled for the JVM but have no JDK attached.

@bjansen
Copy link
Contributor

bjansen commented Nov 3, 2016

i.e. Diego's project configuration uses project-jdk-name="1.8", which means if your JDK has a different name in your local IntelliJ, it will count as a missing JDK.

@gavinking
Copy link
Contributor Author

Alright, fine, but it's never OK that compilers crash out with weird stack traces!

That's not how we report errors to users. Not ever.

@bjansen
Copy link
Contributor

bjansen commented Nov 3, 2016

I'm pretty sure these errors could also be found in Eclipse's log. The problem here is that IntelliJ sees those errors and shows them in the UI.

bjansen added a commit to eclipse-archived/ceylon-ide-common that referenced this issue Nov 3, 2016
@bjansen
Copy link
Contributor

bjansen commented Nov 3, 2016

We now have a notification telling users when a JVM project has no associated JDK. It's shown during full builds (when the project is opened and when Reset Ceylon Model is called).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants