EAP 15 Django indexing causes exception loop.

Starting with the last release of the EAP 15, IntelliJ will continuiously loop through indexing until forcibly killed. The issue seems to be an inability to find a stub for Django templates. This makes actually using IntelliJ impractical, because many features pause while an index is running.

Running IntelliJ EAP 15 with bundled JRE on OSX 10.10.4 (Yosemite)

See below for an entry from the log:

2015-07-29 14:18:24,428 [ 768394]   INFO - il.indexing.FileBasedIndexImpl - scheduleIndexRebuild, reason: checkRebuild
2015-07-29 14:18:24,558 [ 768524]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 17ms; general responsiveness: ok; EDT responsiveness: ok
2015-07-29 14:18:24,663 [ 768629]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 104ms; general responsiveness: ok; EDT responsiveness: ok
2015-07-29 14:18:24,664 [ 768630]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 2772 files to update
2015-07-29 14:18:58,971 [ 802937]   INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 34307ms; general responsiveness: ok; EDT responsiveness: ok
2015-07-29 14:18:59,845 [ 803811]   INFO - tellij.psi.stubs.StubIndexImpl - unable to get stub builder for com.jetbrains.django.lang.template.DjangoTemplateFileType@3230855
java.lang.AssertionError: unable to get stub builder for com.jetbrains.django.lang.template.DjangoTemplateFileType@3230855
 at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:79)
 at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:52)
 at com.intellij.psi.stubs.StubIndexImpl$2.process(StubIndexImpl.java:258)
 at com.intellij.psi.stubs.StubIndexImpl$StubIdListContainerAction.perform(StubIndexImpl.java:584)
 at com.intellij.psi.stubs.StubIndexImpl$StubIdListContainerAction.perform(StubIndexImpl.java:572)
 at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:81)
 at com.intellij.psi.stubs.StubIndexImpl.a(StubIndexImpl.java:279)
 at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:250)
 at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:239)
 at com.intellij.psi.css.CssAttributeDescriptorsProvider.getDescriptor(CssAttributeDescriptorsProvider.java:115)
 at com.intellij.psi.css.CssAttributeDescriptorsProvider.access$000(CssAttributeDescriptorsProvider.java:42)
 at com.intellij.psi.css.CssAttributeDescriptorsProvider$1.compute(CssAttributeDescriptorsProvider.java:70)
 at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
 at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
 at com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:48)
 at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
 at com.intellij.psi.css.CssAttributeDescriptorsProvider.getAttributeDescriptors(CssAttributeDescriptorsProvider.java:90)
 at com.intellij.html.impl.RelaxedHtmlFromSchemaElementDescriptor.addAttrDescriptorsForFacelets(RelaxedHtmlFromSchemaElementDescriptor.java:83)
 at com.intellij.psi.impl.source.html.dtd.HtmlElementDescriptorImpl.getAttributesDescriptors(HtmlElementDescriptorImpl.java:204)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.a(XmlHighlightVisitor.java:307)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.b(XmlHighlightVisitor.java:297)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.a(XmlHighlightVisitor.java:167)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.visitXmlToken(XmlHighlightVisitor.java:131)
 at com.intellij.psi.impl.source.xml.XmlTokenImpl.accept(XmlTokenImpl.java:46)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.visit(XmlHighlightVisitor.java:740)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:354)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$100(GeneralHighlightingPass.java:65)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$3.run(GeneralHighlightingPass.java:283)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:308)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$200(GeneralHighlightingPass.java:65)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$4.run(GeneralHighlightingPass.java:314)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.analyze(XmlHighlightVisitor.java:750)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:311)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$200(GeneralHighlightingPass.java:65)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$4.run(GeneralHighlightingPass.java:314)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:86)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:311)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:280)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:219)
 at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:82)
 at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:444)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1182)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:435)
 at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
 at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:432)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
 at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:208)
 at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
 at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
 at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
 at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
 at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
2015-07-29 14:18:59,852 [ 803818]   INFO - il.indexing.FileBasedIndexImpl - Rebuild requested for index Stubs
java.lang.Throwable: java.lang.AssertionError: unable to get stub builder for com.jetbrains.django.lang.template.DjangoTemplateFileType@3230855
 at com.intellij.util.indexing.FileBasedIndexImpl.scheduleRebuild(FileBasedIndexImpl.java:1237)
 at com.intellij.psi.stubs.StubIndexImpl.forceRebuild(StubIndexImpl.java:306)
 at com.intellij.psi.stubs.StubIndexImpl.a(StubIndexImpl.java:298)
 at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:250)
 at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:239)
 at com.intellij.psi.css.CssAttributeDescriptorsProvider.getDescriptor(CssAttributeDescriptorsProvider.java:115)
 at com.intellij.psi.css.CssAttributeDescriptorsProvider.access$000(CssAttributeDescriptorsProvider.java:42)
 at com.intellij.psi.css.CssAttributeDescriptorsProvider$1.compute(CssAttributeDescriptorsProvider.java:70)
 at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
 at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
 at com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:48)
 at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
 at com.intellij.psi.css.CssAttributeDescriptorsProvider.getAttributeDescriptors(CssAttributeDescriptorsProvider.java:90)
 at com.intellij.html.impl.RelaxedHtmlFromSchemaElementDescriptor.addAttrDescriptorsForFacelets(RelaxedHtmlFromSchemaElementDescriptor.java:83)
 at com.intellij.psi.impl.source.html.dtd.HtmlElementDescriptorImpl.getAttributesDescriptors(HtmlElementDescriptorImpl.java:204)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.a(XmlHighlightVisitor.java:307)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.b(XmlHighlightVisitor.java:297)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.a(XmlHighlightVisitor.java:167)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.visitXmlToken(XmlHighlightVisitor.java:131)
 at com.intellij.psi.impl.source.xml.XmlTokenImpl.accept(XmlTokenImpl.java:46)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.visit(XmlHighlightVisitor.java:740)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:354)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$100(GeneralHighlightingPass.java:65)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$3.run(GeneralHighlightingPass.java:283)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:308)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$200(GeneralHighlightingPass.java:65)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$4.run(GeneralHighlightingPass.java:314)
 at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.analyze(XmlHighlightVisitor.java:750)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:311)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$200(GeneralHighlightingPass.java:65)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$4.run(GeneralHighlightingPass.java:314)
 at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:86)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:311)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:280)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:219)
 at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:82)
 at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:444)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1182)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:435)
 at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
 at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:432)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
 at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:208)
 at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
 at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
 at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
 at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
 at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
Caused by: java.lang.AssertionError: unable to get stub builder for com.jetbrains.django.lang.template.DjangoTemplateFileType@3230855
 at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:79)
 at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:52)
 at com.intellij.psi.stubs.StubIndexImpl$2.process(StubIndexImpl.java:258)
 at com.intellij.psi.stubs.StubIndexImpl$StubIdListContainerAction.perform(StubIndexImpl.java:584)
 at com.intellij.psi.stubs.StubIndexImpl$StubIdListContainerAction.perform(StubIndexImpl.java:572)
 at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:81)
 at com.intellij.psi.stubs.StubIndexImpl.a(StubIndexImpl.java:279)
 ... 48 more



Attachment(s):
idea.log.zip
1 comment
Comment actions Permalink

Previously I fixed this problem by moving project to another folder.

0

Please sign in to leave a comment.