#7016: IntelliLang exception

Upon switching to a Java file:

com.intellij.psi.SingleRootFileViewProvider@16b2bf7
java.lang.AssertionError: com.intellij.psi.SingleRootFileViewProvider@16b2bf7
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:108)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:131)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.access$400(InjectedLanguageUtil.java:142)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$1.addPlace(InjectedLanguageUtil.java:4)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.addPlaceSafe(CustomLanguageInjector.java:327)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:317)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.b(InjectedLanguageUtil.java:32)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.compute(InjectedLanguageUtil.java:15)
at com.intellij.psi.impl.CachedValueImpl.getValue(CachedValueImpl.java:92)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.getInjectedPsiFiles(InjectedLanguageUtil.java:3)
at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.getInjectedPsi(PsiLiteralExpressionImpl.java:147)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:86)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:184)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:186)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:14)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:14)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:12)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:22)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:10)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

2 comments

Sorry, this is a general IDEA problem which all functionality that uses language injection
suffers from :(

See (and vote for) http://www.jetbrains.net/jira/browse/IDEADEV-17244

Sascha

0

Ok, thanks. I voted and added a comment with my stacktrace.

0

Please sign in to leave a comment.