IDEA X 98.382 Error - Anchor hasn't survived

Whenever I have a java file open, I keep getting this error over and over again.  Anyone else seen this and worked around it?  

Other environmental information:
It's a project that I was using with IDEA 9.
OSX 10.6.5
JDK 1.6.0_22


Anchor hasn't survived: com.intellij.psi.PsiAnchor$TreeRangeReference@3dd5441a: Anchor hasn't survived: com.intellij.psi.PsiAnchor$TreeRangeReference@3dd5441a
com.intellij.psi.PsiInvalidElementAccessException: Anchor hasn't survived: com.intellij.psi.PsiAnchor$TreeRangeReference@3dd5441a
 at com.intellij.jam.JamClassGeneratorImpl$JamReferenceHolderImpl.$$$getPsiRef$$$(JamClassGeneratorImpl.java:294)
 at com.intellij.jam.JamClassGeneratorImpl.b(JamClassGeneratorImpl.java:268)
 at com.intellij.jam.JamClassGeneratorImpl.access$200(JamClassGeneratorImpl.java:33)
 at com.intellij.jam.JamClassGeneratorImpl$5.intercept(JamClassGeneratorImpl.java:65)
 at com.intellij.jpa.model.annotations.mapping.NamedQueryBaseImpl$NamedImpl$$EnhancerByCGLIB$$f767cdd0.hashCode(<generated>)
 at com.intellij.jam.JamClassGeneratorImpl.a(JamClassGeneratorImpl.java:253)
 at com.intellij.jam.JamClassGeneratorImpl.access$400(JamClassGeneratorImpl.java:33)
 at com.intellij.jam.JamClassGeneratorImpl$14.fun(JamClassGeneratorImpl.java:231)
 at com.intellij.jam.JamClassGeneratorImpl$14.fun(JamClassGeneratorImpl.java:224)
 at com.intellij.jam.reflect.JamInstantiator$1.instantiate(JamInstantiator.java:28)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$JamCreator.fun(JamAnnotationAttributeMeta.java:178)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$JamCreator.fun(JamAnnotationAttributeMeta.java:166)
 at com.intellij.semantic.SemServiceImpl$7$1.fun(SemServiceImpl.java:134)
 at com.intellij.semantic.SemServiceImpl$7$1.fun(SemServiceImpl.java:131)
 at com.intellij.semantic.SemServiceImpl.a(SemServiceImpl.java:230)
 at com.intellij.semantic.SemServiceImpl.getSemElements(SemServiceImpl.java:198)
 at com.intellij.semantic.SemService.getSemElement(SemService.java:37)
 at com.intellij.jam.JamService.getJamElement(JamService.java:67)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:137)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.access$200(JamAnnotationAttributeMeta.java:120)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection$1.fun(JamAnnotationAttributeMeta.java:129)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection$1.fun(JamAnnotationAttributeMeta.java:127)
 at com.intellij.jam.reflect.JamAttributeMeta.getCollectionJam(JamAttributeMeta.java:64)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:127)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:120)
 at com.intellij.jam.reflect.JamAnnotationMeta.getAttribute(JamAnnotationMeta.java:66)
 at com.intellij.jam.reflect.JamAnnotationMeta.getAttribute(JamAnnotationMeta.java:61)
 at com.intellij.javaee.util.JamCommonUtil.getElementsIncludingSingle(JamCommonUtil.java:440)
 at com.intellij.jpa.model.annotations.mapping.EntityBaseImpl.getNamedQueries(EntityBaseImpl.java:77)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processMappings(PersistenceRoleHolderImpl.java:120)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.calculateMergedRoles(PersistenceRoleHolderImpl.java:89)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.access$200(PersistenceRoleHolderImpl.java:27)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl$2.compute(PersistenceRoleHolderImpl.java:42)
 at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:45)
 at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:191)
 at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:36)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.getMergedRoles(PersistenceRoleHolderImpl.java:63)
 at com.intellij.jpa.util.JpaUtil.getPersistenceRoles(JpaUtil.java:178)
 at com.intellij.jpa.highlighting.JpaClassAnnotator.annotate(JpaClassAnnotator.java:58)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:125)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:70)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$7.run(GeneralHighlightingPass.java:571)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:615)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3200(GeneralHighlightingPass.java:74)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:621)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:76)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:618)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3200(GeneralHighlightingPass.java:74)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:621)
 at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:238)
 at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:134)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:618)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:610)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:192)
 at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
 at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:337)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1010)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:329)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:327)
 at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:148)
 at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:145)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
 at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:680)



com.intellij.psi.PsiInvalidElementAccessException: Anchor hasn't survived: com.intellij.psi.PsiAnchor$TreeRangeReference@3dd5441a
 at com.intellij.jam.JamClassGeneratorImpl$JamReferenceHolderImpl.$$$getPsiRef$$$(JamClassGeneratorImpl.java:294)
 at com.intellij.jam.JamClassGeneratorImpl.b(JamClassGeneratorImpl.java:268)
 at com.intellij.jam.JamClassGeneratorImpl.access$200(JamClassGeneratorImpl.java:33)
 at com.intellij.jam.JamClassGeneratorImpl$5.intercept(JamClassGeneratorImpl.java:65)
 at com.intellij.jpa.model.annotations.mapping.NamedQueryBaseImpl$NamedImpl$$EnhancerByCGLIB$$f767cdd0.hashCode(<generated>)
 at com.intellij.jam.JamClassGeneratorImpl.a(JamClassGeneratorImpl.java:253)
 at com.intellij.jam.JamClassGeneratorImpl.access$400(JamClassGeneratorImpl.java:33)
 at com.intellij.jam.JamClassGeneratorImpl$14.fun(JamClassGeneratorImpl.java:231)
 at com.intellij.jam.JamClassGeneratorImpl$14.fun(JamClassGeneratorImpl.java:224)
 at com.intellij.jam.reflect.JamInstantiator$1.instantiate(JamInstantiator.java:28)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$JamCreator.fun(JamAnnotationAttributeMeta.java:178)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$JamCreator.fun(JamAnnotationAttributeMeta.java:166)
 at com.intellij.semantic.SemServiceImpl$7$1.fun(SemServiceImpl.java:134)
 at com.intellij.semantic.SemServiceImpl$7$1.fun(SemServiceImpl.java:131)
 at com.intellij.semantic.SemServiceImpl.a(SemServiceImpl.java:230)
 at com.intellij.semantic.SemServiceImpl.getSemElements(SemServiceImpl.java:198)
 at com.intellij.semantic.SemService.getSemElement(SemService.java:37)
 at com.intellij.jam.JamService.getJamElement(JamService.java:67)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:137)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.access$200(JamAnnotationAttributeMeta.java:120)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection$1.fun(JamAnnotationAttributeMeta.java:129)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection$1.fun(JamAnnotationAttributeMeta.java:127)
 at com.intellij.jam.reflect.JamAttributeMeta.getCollectionJam(JamAttributeMeta.java:64)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:127)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:120)
 at com.intellij.jam.reflect.JamAnnotationMeta.getAttribute(JamAnnotationMeta.java:66)
 at com.intellij.jam.reflect.JamAnnotationMeta.getAttribute(JamAnnotationMeta.java:61)
 at com.intellij.javaee.util.JamCommonUtil.getElementsIncludingSingle(JamCommonUtil.java:440)
 at com.intellij.jpa.model.annotations.mapping.EntityBaseImpl.getNamedQueries(EntityBaseImpl.java:77)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processMappings(PersistenceRoleHolderImpl.java:120)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.calculateMergedRoles(PersistenceRoleHolderImpl.java:89)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.access$200(PersistenceRoleHolderImpl.java:27)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl$2.compute(PersistenceRoleHolderImpl.java:42)
 at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:45)
 at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:191)
 at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:36)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.getMergedRoles(PersistenceRoleHolderImpl.java:63)
 at com.intellij.jpa.util.JpaUtil.getPersistenceRoles(JpaUtil.java:178)
 at com.intellij.jpa.highlighting.JpaClassAnnotator.annotate(JpaClassAnnotator.java:58)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:125)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:70)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$7.run(GeneralHighlightingPass.java:571)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:615)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3200(GeneralHighlightingPass.java:74)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:621)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:76)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:618)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3200(GeneralHighlightingPass.java:74)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:621)
 at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:238)
 at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:134)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:618)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:610)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:192)
 at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
 at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:337)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1010)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:329)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:327)
 at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:148)
 at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:145)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
 at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:680)



java.util.concurrent.ExecutionException: com.intellij.psi.PsiInvalidElementAccessException: Anchor hasn't survived: com.intellij.psi.PsiAnchor$TreeRangeReference@3dd5441a
 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
 at java.util.concurrent.FutureTask.get(FutureTask.java:83)
 at com.intellij.concurrency.PrioritizedFutureTask.access$301(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:77)
 at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:680)
Caused by: com.intellij.psi.PsiInvalidElementAccessException: Anchor hasn't survived: com.intellij.psi.PsiAnchor$TreeRangeReference@3dd5441a
 at com.intellij.jam.JamClassGeneratorImpl$JamReferenceHolderImpl.$$$getPsiRef$$$(JamClassGeneratorImpl.java:294)
 at com.intellij.jam.JamClassGeneratorImpl.b(JamClassGeneratorImpl.java:268)
 at com.intellij.jam.JamClassGeneratorImpl.access$200(JamClassGeneratorImpl.java:33)
 at com.intellij.jam.JamClassGeneratorImpl$5.intercept(JamClassGeneratorImpl.java:65)
 at com.intellij.jpa.model.annotations.mapping.NamedQueryBaseImpl$NamedImpl$$EnhancerByCGLIB$$f767cdd0.hashCode(<generated>)
 at com.intellij.jam.JamClassGeneratorImpl.a(JamClassGeneratorImpl.java:253)
 at com.intellij.jam.JamClassGeneratorImpl.access$400(JamClassGeneratorImpl.java:33)
 at com.intellij.jam.JamClassGeneratorImpl$14.fun(JamClassGeneratorImpl.java:231)
 at com.intellij.jam.JamClassGeneratorImpl$14.fun(JamClassGeneratorImpl.java:224)
 at com.intellij.jam.reflect.JamInstantiator$1.instantiate(JamInstantiator.java:28)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$JamCreator.fun(JamAnnotationAttributeMeta.java:178)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$JamCreator.fun(JamAnnotationAttributeMeta.java:166)
 at com.intellij.semantic.SemServiceImpl$7$1.fun(SemServiceImpl.java:134)
 at com.intellij.semantic.SemServiceImpl$7$1.fun(SemServiceImpl.java:131)
 at com.intellij.semantic.SemServiceImpl.a(SemServiceImpl.java:230)
 at com.intellij.semantic.SemServiceImpl.getSemElements(SemServiceImpl.java:198)
 at com.intellij.semantic.SemService.getSemElement(SemService.java:37)
 at com.intellij.jam.JamService.getJamElement(JamService.java:67)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:137)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.access$200(JamAnnotationAttributeMeta.java:120)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection$1.fun(JamAnnotationAttributeMeta.java:129)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection$1.fun(JamAnnotationAttributeMeta.java:127)
 at com.intellij.jam.reflect.JamAttributeMeta.getCollectionJam(JamAttributeMeta.java:64)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:127)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:120)
 at com.intellij.jam.reflect.JamAnnotationMeta.getAttribute(JamAnnotationMeta.java:66)
 at com.intellij.jam.reflect.JamAnnotationMeta.getAttribute(JamAnnotationMeta.java:61)
 at com.intellij.javaee.util.JamCommonUtil.getElementsIncludingSingle(JamCommonUtil.java:440)
 at com.intellij.jpa.model.annotations.mapping.EntityBaseImpl.getNamedQueries(EntityBaseImpl.java:77)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processMappings(PersistenceRoleHolderImpl.java:120)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.calculateMergedRoles(PersistenceRoleHolderImpl.java:89)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.access$200(PersistenceRoleHolderImpl.java:27)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl$2.compute(PersistenceRoleHolderImpl.java:42)
 at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:45)
 at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:191)
 at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:36)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.getMergedRoles(PersistenceRoleHolderImpl.java:63)
 at com.intellij.jpa.util.JpaUtil.getPersistenceRoles(JpaUtil.java:178)
 at com.intellij.jpa.highlighting.JpaClassAnnotator.annotate(JpaClassAnnotator.java:58)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:125)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:70)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$7.run(GeneralHighlightingPass.java:571)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:615)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3200(GeneralHighlightingPass.java:74)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:621)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:76)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:618)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3200(GeneralHighlightingPass.java:74)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:621)
 at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:238)
 at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:134)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:618)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:610)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:192)
 at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
 at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:337)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1010)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:329)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:327)
 at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:148)
 at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:145)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
 ... 4 more



com.intellij.psi.PsiInvalidElementAccessException: Anchor hasn't survived: com.intellij.psi.PsiAnchor$TreeRangeReference@3dd5441a
 at com.intellij.jam.JamClassGeneratorImpl$JamReferenceHolderImpl.$$$getPsiRef$$$(JamClassGeneratorImpl.java:294)
 at com.intellij.jam.JamClassGeneratorImpl.b(JamClassGeneratorImpl.java:268)
 at com.intellij.jam.JamClassGeneratorImpl.access$200(JamClassGeneratorImpl.java:33)
 at com.intellij.jam.JamClassGeneratorImpl$5.intercept(JamClassGeneratorImpl.java:65)
 at com.intellij.jpa.model.annotations.mapping.NamedQueryBaseImpl$NamedImpl$$EnhancerByCGLIB$$f767cdd0.hashCode(<generated>)
 at com.intellij.jam.JamClassGeneratorImpl.a(JamClassGeneratorImpl.java:253)
 at com.intellij.jam.JamClassGeneratorImpl.access$400(JamClassGeneratorImpl.java:33)
 at com.intellij.jam.JamClassGeneratorImpl$14.fun(JamClassGeneratorImpl.java:231)
 at com.intellij.jam.JamClassGeneratorImpl$14.fun(JamClassGeneratorImpl.java:224)
 at com.intellij.jam.reflect.JamInstantiator$1.instantiate(JamInstantiator.java:28)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$JamCreator.fun(JamAnnotationAttributeMeta.java:178)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$JamCreator.fun(JamAnnotationAttributeMeta.java:166)
 at com.intellij.semantic.SemServiceImpl$7$1.fun(SemServiceImpl.java:134)
 at com.intellij.semantic.SemServiceImpl$7$1.fun(SemServiceImpl.java:131)
 at com.intellij.semantic.SemServiceImpl.a(SemServiceImpl.java:230)
 at com.intellij.semantic.SemServiceImpl.getSemElements(SemServiceImpl.java:198)
 at com.intellij.semantic.SemService.getSemElement(SemService.java:37)
 at com.intellij.jam.JamService.getJamElement(JamService.java:67)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:137)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.access$200(JamAnnotationAttributeMeta.java:120)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection$1.fun(JamAnnotationAttributeMeta.java:129)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection$1.fun(JamAnnotationAttributeMeta.java:127)
 at com.intellij.jam.reflect.JamAttributeMeta.getCollectionJam(JamAttributeMeta.java:64)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:127)
 at com.intellij.jam.reflect.JamAnnotationAttributeMeta$Collection.getJam(JamAnnotationAttributeMeta.java:120)
 at com.intellij.jam.reflect.JamAnnotationMeta.getAttribute(JamAnnotationMeta.java:66)
 at com.intellij.jam.reflect.JamAnnotationMeta.getAttribute(JamAnnotationMeta.java:61)
 at com.intellij.javaee.util.JamCommonUtil.getElementsIncludingSingle(JamCommonUtil.java:440)
 at com.intellij.jpa.model.annotations.mapping.EntityBaseImpl.getNamedQueries(EntityBaseImpl.java:77)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processMappings(PersistenceRoleHolderImpl.java:120)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.calculateMergedRoles(PersistenceRoleHolderImpl.java:89)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.access$200(PersistenceRoleHolderImpl.java:27)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl$2.compute(PersistenceRoleHolderImpl.java:42)
 at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:45)
 at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:191)
 at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:36)
 at com.intellij.persistence.roles.PersistenceRoleHolderImpl.getMergedRoles(PersistenceRoleHolderImpl.java:63)
 at com.intellij.jpa.util.JpaUtil.getPersistenceRoles(JpaUtil.java:178)
 at com.intellij.jpa.highlighting.JpaClassAnnotator.annotate(JpaClassAnnotator.java:58)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:125)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:70)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$7.run(GeneralHighlightingPass.java:571)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:615)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3200(GeneralHighlightingPass.java:74)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:621)
 at com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:76)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:618)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3200(GeneralHighlightingPass.java:74)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:621)
 at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:238)
 at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:134)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:618)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:610)
 at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:192)
 at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
 at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:337)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1010)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:329)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:327)
 at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:148)
 at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:145)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
 at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:680)


Please sign in to leave a comment.