IDE Internal errors with SEAM EJBs (#8637)

Hi.


When I open a seam component, which is also an ejb, Diana has internal erros.
I have no problems editing seam pojos or ejbs alone. Build 8618 threw these as well. Build 8526 did not. I keep blaming IntelliLang, but I thought I'd post here as well. The exceptions are:

DummyHolder; com.intellij.psi.DummyHolderViewProvider@1d179be
java.lang.AssertionError: DummyHolder; com.intellij.psi.DummyHolderViewProvider@1d179be
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$MyMultiHostRegistrar.startInjecting(InjectedLanguageUtil.java:18)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector$1.process(CustomLanguageInjector.java:436)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector$1.process(CustomLanguageInjector.java:417)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector.processInjectionWithContext(CustomLanguageInjector.java:374)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector.processInjection(CustomLanguageInjector.java:323)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector.processLiteralExpressionInjections(CustomLanguageInjector.java:269)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector.getInjectedLanguage(CustomLanguageInjector.java:109)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector.access$400(CustomLanguageInjector.java:60)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:417)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$MyInjProcessor.process(InjectedLanguageUtil.java:4)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.processInPlaceInjectorsFor(InjectedLanguageManagerImpl.java:9)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.a(InjectedLanguageUtil.java:4)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.access$400(InjectedLanguageUtil.java:2)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:90)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.enumerate(InjectedLanguageUtil.java:187)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.enumerate(InjectedLanguageUtil.java:39)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.forceInjectionOnElement(InjectedLanguageUtil.java:152)
at com.intellij.jpa.QueryReferencesUtil.addParamMapsByQueryElement(QueryReferencesUtil.java:241)
at com.intellij.jpa.QueryReferencesUtil.addParamMapsByQueryElement(QueryReferencesUtil.java:268)
at com.intellij.jpa.QueryReferencesUtil.getParamMapsByQueryHoldingElement(QueryReferencesUtil.java:233)
at com.intellij.jpa.QueryReferencesUtil.access$200(QueryReferencesUtil.java:57)
at com.intellij.jpa.QueryReferencesUtil$QueryParameterReference.initMapList(QueryReferencesUtil.java:438)
at com.intellij.jpa.QueryReferencesUtil$QueryParameterReference.resolve(QueryReferencesUtil.java:447)
at com.intellij.psi.PsiReferenceBase.isReferenceTo(PsiReferenceBase.java:105)
at com.intellij.psi.impl.search.CachesBasedRefSearcher$3.execute(CachesBasedRefSearcher.java:6)
at com.intellij.psi.impl.search.LowLevelSearchUtil.a(LowLevelSearchUtil.java:29)
at com.intellij.psi.impl.search.LowLevelSearchUtil.processElementsContainingWordInElement(LowLevelSearchUtil.java:8)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$2.compute(PsiSearchHelperImpl.java:3)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$2.compute(PsiSearchHelperImpl.java:5)
at com.intellij.openapi.application.impl.ApplicationImpl$12.run(ApplicationImpl.java:2)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:318)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:229)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.a(PsiSearchHelperImpl.java:132)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.processElementsWithWord(PsiSearchHelperImpl.java:45)
at com.intellij.psi.impl.search.CachesBasedRefSearcher.execute(CachesBasedRefSearcher.java:4)
at com.intellij.psi.impl.search.CachesBasedRefSearcher.execute(CachesBasedRefSearcher.java:6)
at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:35)
at com.intellij.util.AbstractExecutorsQuery.forEach(AbstractExecutorsQuery.java:66)
at com.intellij.util.UniqueResultsQuery.doForEach(UniqueResultsQuery.java:54)
at com.intellij.util.UniqueResultsQuery.forEach(UniqueResultsQuery.java:62)
at com.intellij.psi.util.PsiUtil.isAssigned(PsiUtil.java:691)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightControlFlowUtil.isReassigned(HighlightControlFlowUtil.java:71)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitVariable(HighlightVisitorImpl.java:489)
at com.intellij.psi.JavaElementVisitor.visitParameter(JavaElementVisitor.java:211)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitParameter(HighlightVisitorImpl.java:155)
at com.intellij.psi.impl.source.PsiParameterImpl.accept(PsiParameterImpl.java:40)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:139)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$6.run(GeneralHighlightingPass.java:24)
at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:74)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:295)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:141)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:37)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:9)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:16)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:318)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:89)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:1)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)



java.lang.AssertionError: DummyHolder; com.intellij.psi.DummyHolderViewProvider@1d179be
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$MyMultiHostRegistrar.startInjecting(InjectedLanguageUtil.java:18)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector$1.process(CustomLanguageInjector.java:436)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector$1.process(CustomLanguageInjector.java:417)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector.processInjectionWithContext(CustomLanguageInjector.java:374)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector.processInjection(CustomLanguageInjector.java:323)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector.processLiteralExpressionInjections(CustomLanguageInjector.java:269)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector.getInjectedLanguage(CustomLanguageInjector.java:109)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector.access$400(CustomLanguageInjector.java:60)
at org.intellij.plugins.intelliLang.inject.CustomLanguageInjector$MyLanguageInjector.getLanguagesToInject(CustomLanguageInjector.java:417)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider$MyInjProcessor.process(InjectedLanguageUtil.java:4)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.processInPlaceInjectorsFor(InjectedLanguageManagerImpl.java:9)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.a(InjectedLanguageUtil.java:4)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil$InjectedPsiProvider.access$400(InjectedLanguageUtil.java:2)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:90)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.enumerate(InjectedLanguageUtil.java:187)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.enumerate(InjectedLanguageUtil.java:39)
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.forceInjectionOnElement(InjectedLanguageUtil.java:152)
at com.intellij.jpa.QueryReferencesUtil.addParamMapsByQueryElement(QueryReferencesUtil.java:241)
at com.intellij.jpa.QueryReferencesUtil.addParamMapsByQueryElement(QueryReferencesUtil.java:268)
at com.intellij.jpa.QueryReferencesUtil.getParamMapsByQueryHoldingElement(QueryReferencesUtil.java:233)
at com.intellij.jpa.QueryReferencesUtil.access$200(QueryReferencesUtil.java:57)
at com.intellij.jpa.QueryReferencesUtil$QueryParameterReference.initMapList(QueryReferencesUtil.java:438)
at com.intellij.jpa.QueryReferencesUtil$QueryParameterReference.resolve(QueryReferencesUtil.java:447)
at com.intellij.jpa.highlighting.JpaQueryApiInspection.checkFile(JpaQueryApiInspection.java:62)
at com.intellij.codeInspection.BaseJavaLocalInspectionTool$1.visitFile(BaseJavaLocalInspectionTool.java:105)
at com.intellij.psi.JavaElementVisitor.visitJavaFile(JavaElementVisitor.java:319)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.accept(PsiJavaFileBaseImpl.java:188)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1$1.run(LocalInspectionsPass.java:5)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:89)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:7)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:8)
at com.intellij.concurrency.JobUtil$1.run(JobUtil.java:44)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:18)
at com.intellij.concurrency.JobUtil.invokeConcurrentlyForAll(JobUtil.java:51)
at com.intellij.concurrency.JobUtil.invokeConcurrentlyForAll(JobUtil.java:27)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:30)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:135)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:245)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:9)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:16)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:9)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:318)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:89)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:1)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

Please sign in to leave a comment.