eclipse-archived/ceylon-ide-intellij

errors in Android Studio

gavinking opened this issue · 0 comments

I'm getting lots of these in Android Studio:

Entering in a section that would need indexes, but no strategy has been specified.
The strategy used when indexes are unavailable can be specified by one of the following methods:
- concurrencyManager.withUpToDateIndexes()
- concurrencyManager.withAlternateResolution()
- concurrencyManager.outsideDumbMode()
org.intellij.plugins.ceylon.ide.model.IndexNeededWithNoIndexStrategy "Entering in a section that would need indexes, but no strategy has been specified.
The strategy used when indexes are unavailable can be specified by one of the following methods:
- concurrencyManager.withUpToDateIndexes()
- concurrencyManager.withAlternateResolution()
- concurrencyManager.outsideDumbMode()"
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_.needIndexes(concurrencyManager.ceylon:267)
	at org.intellij.plugins.ceylon.ide.model.IdeaModelLoader.buildClassMirrorInternal(IdeaModelLoader.ceylon:235)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$13.$call$(IdeModelLoader.ceylon:517)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$13.$call$(IdeModelLoader.ceylon:508)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$2.$call$(IdeModelLoader.ceylon:121)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$2.call(IdeModelLoader.ceylon:121)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:384)
	at org.intellij.plugins.ceylon.ide.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:135)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:380)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.callWithLock(IdeModelLoader.ceylon:121)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.lookupNewClassMirror(IdeModelLoader.ceylon:548)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$3.call(AbstractModelLoader.java:480)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$3.call(AbstractModelLoader.java:443)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:384)
	at org.intellij.plugins.ceylon.ide.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:135)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:380)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.lookupClassMirror(AbstractModelLoader.java:443)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.loadClass(AbstractModelLoader.java:648)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.loadPackageDescriptor(AbstractModelLoader.java:2136)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.access$600(AbstractModelLoader.java:103)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$7.call(AbstractModelLoader.java:2090)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$7.call(AbstractModelLoader.java:2057)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:384)
	at org.intellij.plugins.ceylon.ide.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:135)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:380)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.findOrCreatePackage(AbstractModelLoader.java:2057)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.access$501(IdeModelLoader.ceylon:93)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$4.$call$(IdeModelLoader.ceylon:163)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$4.$call$(IdeModelLoader.ceylon:162)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$2.$call$(IdeModelLoader.ceylon:121)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader$2.call(IdeModelLoader.ceylon:121)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:384)
	at org.intellij.plugins.ceylon.ide.model.IdeaModelLoader$2.$call$(IdeaModelLoader.ceylon:128)
	at org.intellij.plugins.ceylon.ide.model.IdeaModelLoader$2.run(IdeaModelLoader.ceylon:128)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
	at org.intellij.plugins.ceylon.ide.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:128)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:380)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.callWithLock(IdeModelLoader.ceylon:121)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.findOrCreatePackage(IdeModelLoader.ceylon:179)
	at com.redhat.ceylon.ide.common.model.CeylonProject$1addIfParentAlreadyAdded_.addIfParentAlreadyAdded(CeylonProject.ceylon:677)
	at com.redhat.ceylon.ide.common.model.CeylonProject.addFolderToModel(CeylonProject.ceylon:689)
	at com.redhat.ceylon.ide.common.model.CeylonProject$1updateModelAndConvertToProjectFileChange_$2convertToVirtualFile_.convertToVirtualFile(CeylonProject.ceylon:1154)
	at com.redhat.ceylon.ide.common.model.CeylonProject$1updateModelAndConvertToProjectFileChange_$2.$call$(CeylonProject.ceylon:1165)
	at com.redhat.ceylon.ide.common.model.CeylonProject$1updateModelAndConvertToProjectFileChange_$2.$call$(CeylonProject.ceylon:1165)
	at com.redhat.ceylon.ide.common.model.ChangeAware$impl.toProjectChange(Changes.ceylon:168)
	at com.redhat.ceylon.ide.common.model.CeylonProjects.toProjectChange(CeylonProjects.ceylon)
	at com.redhat.ceylon.ide.common.model.CeylonProject$1changeAndArtifact_.changeAndArtifact(CeylonProject.ceylon:1179)
	at com.redhat.ceylon.ide.common.model.CeylonProject$18.$call$(CeylonProject.ceylon:1186)
	at ceylon.language.Iterable$impl$3$1.next(Iterable.ceylon:400)
	at com.redhat.ceylon.compiler.java.language.ConstantIterable$1.next(ConstantIterable.java:51)
	at ceylon.language.Category$impl.containsAny(Category.ceylon:95)
	at ceylon.collection.HashSet.containsAny(HashSet.ceylon)
	at com.redhat.ceylon.ide.common.util.ImmutableSetWrapper$6.$call$(ImmutableSetWrapper.ceylon:70)
	at com.redhat.ceylon.ide.common.util.ImmutableSetWrapper$6.$call$(ImmutableSetWrapper.ceylon:69)
	at com.redhat.ceylon.ide.common.util.synchronize_.synchronize(synchronize_.java:33)
	at com.redhat.ceylon.ide.common.util.ImmutableSetWrapper.addAll(ImmutableSetWrapper.ceylon:73)
	at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.fileTreeChanged(CeylonProjectBuild.ceylon:557)
	at com.redhat.ceylon.ide.common.model.CeylonProject.projectFileTreeChanged(CeylonProject.ceylon:1183)
	at com.redhat.ceylon.ide.common.model.CeylonProjects.fileTreeChanged(CeylonProjects.ceylon:203)
	at org.intellij.plugins.ceylon.ide.model.CeylonModelManager.submitChangesTask$priv$(CeylonModelManager.ceylon:258)
	at org.intellij.plugins.ceylon.ide.model.CeylonModelManager.access$000(CeylonModelManager.ceylon:191)
	at org.intellij.plugins.ceylon.ide.model.CeylonModelManager$3.$call$(CeylonModelManager.ceylon:284)
	at org.intellij.plugins.ceylon.ide.model.CeylonModelManager$3.run(CeylonModelManager.ceylon)
	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)

And:

Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
	at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:750)
	at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:698)
	at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:681)
	at com.intellij.psi.stubs.StubIndexImpl.doProcessStubs(StubIndexImpl.java:335)
	at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:316)
	at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:146)
	at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:135)
	at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:48)
	at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:91)
	at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:126)
	at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:54)
	at com.intellij.psi.impl.JavaPsiFacadeImpl.doFindClass(JavaPsiFacadeImpl.java:122)
	at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:99)
	at org.intellij.plugins.ceylon.ide.model.PSIAnnotatedMirror$3.$call$(PSIAnnotatedMirror.ceylon:51)
	at org.intellij.plugins.ceylon.ide.model.PSIAnnotatedMirror$3.$call$(PSIAnnotatedMirror.ceylon:51)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_$1funcRunnable_.funcRunnable(concurrencyManager.ceylon:105)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_$2.$call$(concurrencyManager.ceylon)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_$2.run(concurrencyManager.ceylon)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:450)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:198)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_.needReadAccess$canonical$(concurrencyManager.ceylon:112)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_.needReadAccess(concurrencyManager.ceylon:99)
	at org.intellij.plugins.ceylon.ide.model.PSIAnnotatedMirror.getAnnotationName$priv$(PSIAnnotatedMirror.ceylon:51)
	at org.intellij.plugins.ceylon.ide.model.PSIAnnotatedMirror.access$100(PSIAnnotatedMirror.ceylon:27)
	at org.intellij.plugins.ceylon.ide.model.PSIAnnotatedMirror$6$1$1.$next$2(PSIAnnotatedMirror.ceylon:84)
	at org.intellij.plugins.ceylon.ide.model.PSIAnnotatedMirror$6$1$1.next(PSIAnnotatedMirror.ceylon:84)
	at com.redhat.ceylon.compiler.java.language.ConstantIterable$1.next(ConstantIterable.java:51)
	at ceylon.language.Summary.<init>(Iterable.ceylon:1909)
	at ceylon.language.Iterable$impl.summarize(Iterable.ceylon:1768)
	at ceylon.language.impl.BaseIterable.summarize(bases.ceylon)
	at ceylon.language.map_.map(Map.ceylon:452)
	at org.intellij.plugins.ceylon.ide.model.PSIAnnotatedMirror$6.$call$(PSIAnnotatedMirror.ceylon:81)
	at org.intellij.plugins.ceylon.ide.model.PSIAnnotatedMirror$6.$call$(PSIAnnotatedMirror.ceylon:80)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_$1funcRunnable_.funcRunnable(concurrencyManager.ceylon:105)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_$2.$call$(concurrencyManager.ceylon)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_$2.run(concurrencyManager.ceylon)
	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.executeNonCancelableSection(CoreProgressManager.java:198)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_.needReadAccess$canonical$(concurrencyManager.ceylon:112)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_.needReadAccess(concurrencyManager.ceylon:99)
	at org.intellij.plugins.ceylon.ide.model.PSIAnnotatedMirror.getAnnotations$priv$(PSIAnnotatedMirror.ceylon:80)
	at org.intellij.plugins.ceylon.ide.model.PSIAnnotatedMirror.getAnnotation(PSIAnnotatedMirror.ceylon:88)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.getFunctionMethodMirror(AbstractModelLoader.java:5089)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.access$2800(AbstractModelLoader.java:103)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$25.run(AbstractModelLoader.java:5038)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:399)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:384)
	at org.intellij.plugins.ceylon.ide.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:135)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:380)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:396)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.complete(AbstractModelLoader.java:5033)
	at com.redhat.ceylon.model.loader.model.LazyFunction$1.run(LazyFunction.java:88)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:399)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:384)
	at org.intellij.plugins.ceylon.ide.model.IdeaModelLoader$2.$call$(IdeaModelLoader.ceylon:128)
	at org.intellij.plugins.ceylon.ide.model.IdeaModelLoader$2.run(IdeaModelLoader.ceylon:128)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
	at org.intellij.plugins.ceylon.ide.model.IdeaModelLoader.embeddingSync(IdeaModelLoader.ceylon:128)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:380)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:396)
	at com.redhat.ceylon.model.loader.model.LazyFunction.load(LazyFunction.java:83)
	at com.redhat.ceylon.model.loader.model.LazyFunction.getTypeParameters(LazyFunction.java:124)
	at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.getInvokedProducedReference(ExpressionVisitor.java:3370)
	at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.inferParameterTypesDirectly(ExpressionVisitor.java:3262)
	at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.inferParameterTypes(ExpressionVisitor.java:3174)
	at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:3139)
	at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:317)
	at com.redhat.ceylon.compiler.typechecker.tree.Tree$Annotation.visit(Tree.java:7882)
	at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkAnnotationList(Walker.java:1791)
	at com.redhat.ceylon.compiler.typechecker.tree.Tree$AnnotationList.visitChildren(Tree.java:7946)
	at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
	at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:319)
	at com.redhat.ceylon.compiler.typechecker.tree.Tree$AnnotationList.visit(Tree.java:7938)
	at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkModuleDescriptor(Walker.java:37)
	at com.redhat.ceylon.compiler.typechecker.tree.Tree$ModuleDescriptor.visitChildren(Tree.java:78)
	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:27)
	at com.redhat.ceylon.compiler.typechecker.tree.Tree$ModuleDescriptor.visit(Tree.java:70)
	at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkCompilationUnit(Walker.java:20)
	at com.redhat.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visitChildren(Tree.java:30)
	at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
	at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:26)
	at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:214)
	at com.redhat.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visit(Tree.java:22)
	at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.analyseTypes(PhasedUnit.java:428)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer$31$7.$call$(CeylonLocalAnalyzer.ceylon:568)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer$31.$call$(CeylonLocalAnalyzer.ceylon:576)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer$31.$call$(CeylonLocalAnalyzer.ceylon:534)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_.withIndexStrategy$priv$(concurrencyManager.ceylon:202)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_.withAlternateResolution(concurrencyManager.ceylon:214)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer.createPhasedUnitAndTypecheck$priv$(CeylonLocalAnalyzer.ceylon:534)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer.access$1800(CeylonLocalAnalyzer.ceylon:112)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer$30.$call$(CeylonLocalAnalyzer.ceylon:492)
	at com.redhat.ceylon.ide.common.model.BaseCeylonProject.withSourceModel$canonical$(CeylonProject.ceylon:491)
	at com.redhat.ceylon.ide.common.model.BaseCeylonProject.withSourceModel(CeylonProject.ceylon:483)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer.typecheckSourceFile$priv$(CeylonLocalAnalyzer.ceylon:421)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer.access$1200(CeylonLocalAnalyzer.ceylon:112)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer$1typecheckingTask_.typecheckingTask(CeylonLocalAnalyzer.ceylon:326)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer$19.$call$(CeylonLocalAnalyzer.ceylon)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer$9.$call$(CeylonLocalAnalyzer.ceylon:200)
	at org.intellij.plugins.ceylon.ide.psi.CeylonLocalAnalyzer$9.run(CeylonLocalAnalyzer.ceylon:188)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:222)
	at com.intellij.util.Alarm$Request$1.run(Alarm.java:378)
	at com.intellij.util.Alarm$Request.run(Alarm.java:389)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:227)
	at com.intellij.util.concurrency.BoundedTaskExecutor.runFirstTaskThenPollAndRunRest(BoundedTaskExecutor.java:178)
	at com.intellij.util.concurrency.BoundedTaskExecutor.access$000(BoundedTaskExecutor.java:40)
	at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:197)
	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)