RCOD many times per day

Hi - I get the Red Circle of Death a number of times per day from running an ANT build external to IDEA. I believe this problem has been around for quite some time but never gets addressed. I just submitted the 2 stacktraces again which are numbered 81977 81978. Is there any way this can be addressed? I've attached the stack traces at the end of this post as well.

Thanks,
Jon


Assertion failed
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:96)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:54)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:233)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:22)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:83)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:214)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.resolve(PsiJavaCodeReferenceElementImpl.java:102)
at com.intellij.psi.impl.source.PsiImportStatementBaseImpl.resolve(PsiImportStatementBaseImpl.java:23)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.a(PsiJavaFileBaseImpl.java:71)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:233)
at com.intellij.psi.scope.util.PsiScopesUtil.processScope(PsiScopesUtil.java:130)
at com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUtil.java:225)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:46)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:68)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:119)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:16)
at com.intellij.psi.scope.util.PsiScopesUtil.a(PsiScopesUtil.java:132)
at com.intellij.psi.scope.util.PsiScopesUtil.setupAndRunProcessor(PsiScopesUtil.java:147)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.a(PsiReferenceExpressionImpl.java:262)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.access$000(PsiReferenceExpressionImpl.java:114)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver._resolve(PsiReferenceExpressionImpl.java:10)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:12)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:17)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.multiResolve(PsiReferenceExpressionImpl.java:125)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.advancedResolve(PsiReferenceExpressionImpl.java:136)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.getType(PsiMethodCallExpressionImpl.java:26)
at com.intellij.psi.scope.util.PsiScopesUtil.setupAndRunProcessor(PsiScopesUtil.java:166)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.a(PsiReferenceExpressionImpl.java:262)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.access$000(PsiReferenceExpressionImpl.java:114)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver._resolve(PsiReferenceExpressionImpl.java:10)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:12)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:17)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.multiResolve(PsiReferenceExpressionImpl.java:125)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.advancedResolve(PsiReferenceExpressionImpl.java:136)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.getType(PsiMethodCallExpressionImpl.java:26)
at com.intellij.psi.util.PsiUtil.getApplicabilityLevel(PsiUtil.java:796)
at com.intellij.psi.util.PsiUtil.getApplicabilityLevel(PsiUtil.java:784)
at com.intellij.psi.infos.MethodCandidateInfo.getApplicabilityLevelInner(MethodCandidateInfo.java:56)
at com.intellij.psi.infos.MethodCandidateInfo.isApplicable(MethodCandidateInfo.java:50)
at com.intellij.psi.infos.MethodCandidateInfo.isValidResult(MethodCandidateInfo.java:98)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightMethodUtil.checkMethodCall(HighlightMethodUtil.java:202)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitReferenceExpression(HighlightVisitorImpl.java:546)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.accept(PsiReferenceExpressionImpl.java:40)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:58)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:105)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.doCollectInformation(GeneralHighlightingPass.java:79)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:59)
at com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:4)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:124)
at com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:7)
at com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:26)
at com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:80)
at com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:49)



com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.compiled.ClsClassImpl
at com.intellij.psi.impl.compiled.ClsClassImpl.getContainingFile(ClsClassImpl.java:135)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:39)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:233)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:22)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:83)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:214)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.resolve(PsiJavaCodeReferenceElementImpl.java:102)
at com.intellij.psi.impl.source.PsiImportStatementBaseImpl.resolve(PsiImportStatementBaseImpl.java:23)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.a(PsiJavaFileBaseImpl.java:71)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:233)
at com.intellij.psi.scope.util.PsiScopesUtil.processScope(PsiScopesUtil.java:130)
at com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUtil.java:225)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:46)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:68)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:119)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:16)
at com.intellij.psi.scope.util.PsiScopesUtil.a(PsiScopesUtil.java:132)
at com.intellij.psi.scope.util.PsiScopesUtil.setupAndRunProcessor(PsiScopesUtil.java:147)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.a(PsiReferenceExpressionImpl.java:262)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.access$000(PsiReferenceExpressionImpl.java:114)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver._resolve(PsiReferenceExpressionImpl.java:10)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:12)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:17)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.multiResolve(PsiReferenceExpressionImpl.java:125)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.advancedResolve(PsiReferenceExpressionImpl.java:136)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.getType(PsiMethodCallExpressionImpl.java:26)
at com.intellij.psi.scope.util.PsiScopesUtil.setupAndRunProcessor(PsiScopesUtil.java:166)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.a(PsiReferenceExpressionImpl.java:262)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.access$000(PsiReferenceExpressionImpl.java:114)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver._resolve(PsiReferenceExpressionImpl.java:10)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:12)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:17)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.multiResolve(PsiReferenceExpressionImpl.java:125)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.advancedResolve(PsiReferenceExpressionImpl.java:136)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.getType(PsiMethodCallExpressionImpl.java:26)
at com.intellij.psi.util.PsiUtil.getApplicabilityLevel(PsiUtil.java:796)
at com.intellij.psi.util.PsiUtil.getApplicabilityLevel(PsiUtil.java:784)
at com.intellij.psi.infos.MethodCandidateInfo.getApplicabilityLevelInner(MethodCandidateInfo.java:56)
at com.intellij.psi.infos.MethodCandidateInfo.isApplicable(MethodCandidateInfo.java:50)
at com.intellij.psi.infos.MethodCandidateInfo.isValidResult(MethodCandidateInfo.java:98)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightMethodUtil.checkMethodCall(HighlightMethodUtil.java:202)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitReferenceExpression(HighlightVisitorImpl.java:546)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.accept(PsiReferenceExpressionImpl.java:40)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:58)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:105)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.doCollectInformation(GeneralHighlightingPass.java:79)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:59)
at com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:4)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:124)
at com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:7)
at com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:26)
at com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:80)
at com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:49)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:96)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:54)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:233)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:22)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:83)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:214)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:73)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitReferenceElement(HighlightVisitorImpl.java:300)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.accept(PsiJavaCodeReferenceElementImpl.java:388)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:58)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:105)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.doCollectInformation(GeneralHighlightingPass.java:79)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:59)
at com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:4)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:124)
at com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:7)
at com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:26)
at com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:80)
at com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:49)



com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.compiled.ClsClassImpl
at com.intellij.psi.impl.compiled.ClsClassImpl.getContainingFile(ClsClassImpl.java:135)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:39)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:233)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:22)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:83)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:214)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:73)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitReferenceElement(HighlightVisitorImpl.java:300)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.accept(PsiJavaCodeReferenceElementImpl.java:388)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:58)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:105)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.doCollectInformation(GeneralHighlightingPass.java:79)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:59)
at com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:4)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:124)
at com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:7)
at com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:26)
at com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:80)
at com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:49)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:96)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:54)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:233)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:22)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:83)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:214)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.resolve(PsiJavaCodeReferenceElementImpl.java:102)
at com.intellij.psi.impl.source.PsiImportStatementBaseImpl.resolve(PsiImportStatementBaseImpl.java:23)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.a(PsiJavaFileBaseImpl.java:71)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:233)
at com.intellij.psi.scope.util.PsiScopesUtil.processScope(PsiScopesUtil.java:130)
at com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUtil.java:225)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:46)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:68)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:119)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:16)
at com.intellij.psi.scope.util.PsiScopesUtil.a(PsiScopesUtil.java:132)
at com.intellij.psi.scope.util.PsiScopesUtil.setupAndRunProcessor(PsiScopesUtil.java:147)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.a(PsiReferenceExpressionImpl.java:262)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.access$000(PsiReferenceExpressionImpl.java:114)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver._resolve(PsiReferenceExpressionImpl.java:10)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:12)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:17)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.multiResolve(PsiReferenceExpressionImpl.java:125)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.advancedResolve(PsiReferenceExpressionImpl.java:136)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.resolve(PsiReferenceExpressionImpl.java:248)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.resolveMethod(PsiMethodCallExpressionImpl.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.a(RedundantCastUtil.java:104)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitMethodCallExpression(RedundantCastUtil.java:137)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.accept(PsiMethodCallExpressionImpl.java:28)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:292)
at com.intellij.psi.JavaElementVisitor.visitReturnStatement(JavaElementVisitor.java:288)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitReturnStatement(RedundantCastUtil.java:102)
at com.intellij.psi.impl.source.tree.java.PsiReturnStatementImpl.accept(PsiReturnStatementImpl.java:8)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitCodeBlock(JavaElementVisitor.java:76)
at com.intellij.psi.impl.source.tree.java.PsiCodeBlockImpl.accept(PsiCodeBlockImpl.java:38)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.acceptChildren(TreeWrapperPsiElement.java:64)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil.getRedundantCastsInside(RedundantCastUtil.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastInspection.a(RedundantCastInspection.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastInspection.checkMethod(RedundantCastInspection.java:30)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:187)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.doCollectInformation(LocalInspectionsPass.java:172)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:59)
at com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:4)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:124)
at com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:7)
at com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:26)
at com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:80)
at com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:49)



com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.compiled.ClsClassImpl
at com.intellij.psi.impl.compiled.ClsClassImpl.getContainingFile(ClsClassImpl.java:135)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:39)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:233)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:22)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:83)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:214)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.resolve(PsiJavaCodeReferenceElementImpl.java:102)
at com.intellij.psi.impl.source.PsiImportStatementBaseImpl.resolve(PsiImportStatementBaseImpl.java:23)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.a(PsiJavaFileBaseImpl.java:71)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:233)
at com.intellij.psi.scope.util.PsiScopesUtil.processScope(PsiScopesUtil.java:130)
at com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUtil.java:225)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:46)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:68)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:119)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:16)
at com.intellij.psi.scope.util.PsiScopesUtil.a(PsiScopesUtil.java:132)
at com.intellij.psi.scope.util.PsiScopesUtil.setupAndRunProcessor(PsiScopesUtil.java:147)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.a(PsiReferenceExpressionImpl.java:262)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.access$000(PsiReferenceExpressionImpl.java:114)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver._resolve(PsiReferenceExpressionImpl.java:10)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:12)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:17)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.multiResolve(PsiReferenceExpressionImpl.java:125)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.advancedResolve(PsiReferenceExpressionImpl.java:136)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.getType(PsiMethodCallExpressionImpl.java:26)
at com.intellij.psi.scope.util.PsiScopesUtil.setupAndRunProcessor(PsiScopesUtil.java:166)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.a(PsiReferenceExpressionImpl.java:262)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.access$000(PsiReferenceExpressionImpl.java:114)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver._resolve(PsiReferenceExpressionImpl.java:10)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:12)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:17)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.multiResolve(PsiReferenceExpressionImpl.java:125)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.advancedResolve(PsiReferenceExpressionImpl.java:136)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.resolve(PsiReferenceExpressionImpl.java:248)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.resolveMethod(PsiMethodCallExpressionImpl.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.a(RedundantCastUtil.java:104)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitMethodCallExpression(RedundantCastUtil.java:137)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.accept(PsiMethodCallExpressionImpl.java:28)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.a(RedundantCastUtil.java:103)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitMethodCallExpression(RedundantCastUtil.java:137)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.accept(PsiMethodCallExpressionImpl.java:28)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:292)
at com.intellij.psi.JavaElementVisitor.visitReturnStatement(JavaElementVisitor.java:288)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitReturnStatement(RedundantCastUtil.java:102)
at com.intellij.psi.impl.source.tree.java.PsiReturnStatementImpl.accept(PsiReturnStatementImpl.java:8)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitCodeBlock(JavaElementVisitor.java:76)
at com.intellij.psi.impl.source.tree.java.PsiCodeBlockImpl.accept(PsiCodeBlockImpl.java:38)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.acceptChildren(TreeWrapperPsiElement.java:64)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil.getRedundantCastsInside(RedundantCastUtil.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastInspection.a(RedundantCastInspection.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastInspection.checkMethod(RedundantCastInspection.java:30)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:187)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.doCollectInformation(LocalInspectionsPass.java:172)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:59)
at com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:4)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:124)
at com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:7)
at com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:26)
at com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:80)
at com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:49)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:96)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:54)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:233)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:22)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:83)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:214)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.resolve(PsiJavaCodeReferenceElementImpl.java:102)
at com.intellij.psi.impl.source.PsiImportStatementBaseImpl.resolve(PsiImportStatementBaseImpl.java:23)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.a(PsiJavaFileBaseImpl.java:71)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:233)
at com.intellij.psi.scope.util.PsiScopesUtil.processScope(PsiScopesUtil.java:130)
at com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUtil.java:225)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:46)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:68)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:119)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:16)
at com.intellij.psi.scope.util.PsiScopesUtil.a(PsiScopesUtil.java:132)
at com.intellij.psi.scope.util.PsiScopesUtil.setupAndRunProcessor(PsiScopesUtil.java:147)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.a(PsiReferenceExpressionImpl.java:262)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.access$000(PsiReferenceExpressionImpl.java:114)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver._resolve(PsiReferenceExpressionImpl.java:10)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:12)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:17)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.multiResolve(PsiReferenceExpressionImpl.java:125)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.advancedResolve(PsiReferenceExpressionImpl.java:136)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.resolve(PsiReferenceExpressionImpl.java:248)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.resolveMethod(PsiMethodCallExpressionImpl.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.a(RedundantCastUtil.java:104)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitMethodCallExpression(RedundantCastUtil.java:137)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.accept(PsiMethodCallExpressionImpl.java:28)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.a(RedundantCastUtil.java:103)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitMethodCallExpression(RedundantCastUtil.java:137)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.accept(PsiMethodCallExpressionImpl.java:28)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitExpression(JavaElementVisitor.java:120)
at com.intellij.psi.JavaElementVisitor.visitBinaryExpression(JavaElementVisitor.java:48)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitBinaryExpression(RedundantCastUtil.java:71)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:47)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitExpression(JavaElementVisitor.java:120)
at com.intellij.psi.JavaElementVisitor.visitBinaryExpression(JavaElementVisitor.java:48)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitBinaryExpression(RedundantCastUtil.java:71)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:47)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:292)
at com.intellij.psi.JavaElementVisitor.visitReturnStatement(JavaElementVisitor.java:288)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitReturnStatement(RedundantCastUtil.java:102)
at com.intellij.psi.impl.source.tree.java.PsiReturnStatementImpl.accept(PsiReturnStatementImpl.java:8)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitCodeBlock(JavaElementVisitor.java:76)
at com.intellij.psi.impl.source.tree.java.PsiCodeBlockImpl.accept(PsiCodeBlockImpl.java:38)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.acceptChildren(TreeWrapperPsiElement.java:64)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil.getRedundantCastsInside(RedundantCastUtil.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastInspection.a(RedundantCastInspection.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastInspection.checkMethod(RedundantCastInspection.java:30)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:187)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.doCollectInformation(LocalInspectionsPass.java:172)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:59)
at com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:4)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:124)
at com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:7)
at com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:26)
at com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:80)
at com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:49)



com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.compiled.ClsClassImpl
at com.intellij.psi.impl.compiled.ClsClassImpl.getContainingFile(ClsClassImpl.java:135)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:39)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:233)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:22)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:83)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:214)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.resolve(PsiJavaCodeReferenceElementImpl.java:102)
at com.intellij.psi.impl.source.PsiImportStatementBaseImpl.resolve(PsiImportStatementBaseImpl.java:23)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.a(PsiJavaFileBaseImpl.java:71)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:233)
at com.intellij.psi.scope.util.PsiScopesUtil.processScope(PsiScopesUtil.java:130)
at com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUtil.java:225)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:46)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:68)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:119)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:16)
at com.intellij.psi.scope.util.PsiScopesUtil.a(PsiScopesUtil.java:132)
at com.intellij.psi.scope.util.PsiScopesUtil.setupAndRunProcessor(PsiScopesUtil.java:147)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.a(PsiReferenceExpressionImpl.java:262)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.access$000(PsiReferenceExpressionImpl.java:114)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver._resolve(PsiReferenceExpressionImpl.java:10)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:12)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:17)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.multiResolve(PsiReferenceExpressionImpl.java:125)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.advancedResolve(PsiReferenceExpressionImpl.java:136)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.resolve(PsiReferenceExpressionImpl.java:248)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.resolveMethod(PsiMethodCallExpressionImpl.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.a(RedundantCastUtil.java:104)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitMethodCallExpression(RedundantCastUtil.java:137)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.accept(PsiMethodCallExpressionImpl.java:28)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.a(RedundantCastUtil.java:103)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitMethodCallExpression(RedundantCastUtil.java:137)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.accept(PsiMethodCallExpressionImpl.java:28)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitExpression(JavaElementVisitor.java:120)
at com.intellij.psi.JavaElementVisitor.visitBinaryExpression(JavaElementVisitor.java:48)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitBinaryExpression(RedundantCastUtil.java:71)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:47)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitExpression(JavaElementVisitor.java:120)
at com.intellij.psi.JavaElementVisitor.visitBinaryExpression(JavaElementVisitor.java:48)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitBinaryExpression(RedundantCastUtil.java:71)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:47)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:292)
at com.intellij.psi.JavaElementVisitor.visitReturnStatement(JavaElementVisitor.java:288)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyIsRedundantVisitor.visitReturnStatement(RedundantCastUtil.java:102)
at com.intellij.psi.impl.source.tree.java.PsiReturnStatementImpl.accept(PsiReturnStatementImpl.java:8)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:9)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil$MyCollectingVisitor.visitElement(RedundantCastUtil.java:5)
at com.intellij.psi.JavaElementVisitor.visitCodeBlock(JavaElementVisitor.java:76)
at com.intellij.psi.impl.source.tree.java.PsiCodeBlockImpl.accept(PsiCodeBlockImpl.java:38)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.acceptChildren(TreeWrapperPsiElement.java:64)
at com.intellij.codeInspection.redundantCast.RedundantCastUtil.getRedundantCastsInside(RedundantCastUtil.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastInspection.a(RedundantCastInspection.java:21)
at com.intellij.codeInspection.redundantCast.RedundantCastInspection.checkMethod(RedundantCastInspection.java:30)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:187)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.doCollectInformation(LocalInspectionsPass.java:172)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:59)
at com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:4)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:124)
at com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:7)
at com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:26)
at com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:80)
at com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:49)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:96)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:54)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:233)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:22)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:83)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:214)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.resolve(PsiJavaCodeReferenceElementImpl.java:102)
at com.intellij.psi.impl.source.PsiImportStatementBaseImpl.resolve(PsiImportStatementBaseImpl.java:23)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.a(PsiJavaFileBaseImpl.java:71)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:233)
at com.intellij.psi.scope.util.PsiScopesUtil.processScope(PsiScopesUtil.java:130)
at com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUtil.java:225)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:46)
at com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:68)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:119)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.multiResolve(PsiJavaCodeReferenceElementImpl.java:328)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.advancedResolve(PsiJavaCodeReferenceElementImpl.java:323)
at com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:16)
at com.intellij.psi.scope.util.PsiScopesUtil.a(PsiScopesUtil.java:132)
at com.intellij.psi.scope.util.PsiScopesUtil.setupAndRunProcessor(PsiScopesUtil.java:147)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.a(PsiReferenceExpressionImpl.java:262)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.access$000(PsiReferenceExpressionImpl.java:114)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver._resolve(PsiReferenceExpressionImpl.java:10)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:12)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl$OurGenericsResolver.resolve(PsiReferenceExpressionImpl.java:17)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:37)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.multiResolve(PsiReferenceExpressionImpl.java:125)
at com.intellij.psi.impl.source.tree.java.PsiReferenceExpressionImpl.advancedResolve(PsiReferenceExpressionImpl.java:136)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.resolveMethodGenerics(PsiMethodCallExpressionImpl.java:25)
at com.intellij.codeInsight.ExceptionUtil.getUnhandledExceptions(ExceptionUtil.java:222)
at com.intellij.codeInsight.ExceptionUtil.a(ExceptionUtil.java:79)
at com.intellij.codeInsight.ExceptionUtil.collectUnhandledExceptions(ExceptionUtil.java:190)
at com.intellij.psi.controlFlow.ControlFlowAnalyzer.d(ControlFlowAnalyzer.java:149)
at com.intellij.psi.controlFlow.ControlFlowAnalyzer.visitMethodCallExpression(ControlFlowAnalyzer.java:446)
at com.intellij.psi.impl.source.tree.java.PsiMethodCallExpressionImpl.accept(PsiMethodCallExpressionImpl.java:28)
at com.intellij.psi.controlFlow.ControlFlowAnalyzer.visitAssignmentExpression(ControlFlowAnalyzer.java:600)
at com.intellij.psi.impl.source.tree.java.PsiAssignmentExpressionImpl.accept(PsiAssignmentExpressionImpl.java:23)
at com.intellij.psi.controlFlow.ControlFlowAnalyzer.visitExpressionStatement(ControlFlowAnalyzer.java:455)
at com.intellij.psi.impl.source.tree.java.PsiExpressionStatementImpl.accept(PsiExpressionStatementImpl.java:22)
at com.intellij.psi.controlFlow.ControlFlowAnalyzer.visitCodeBlock(ControlFlowAnalyzer.java:773)
at com.intellij.psi.impl.source.tree.java.PsiCodeBlockImpl.accept(PsiCodeBlockImpl.java:38)
at com.intellij.psi.controlFlow.ControlFlowAnalyzer.buildControlFlow(ControlFlowAnalyzer.java:52)
at com.intellij.psi.controlFlow.ControlFlowFactory.getControlFlow(ControlFlowFactory.java:28)
at com.intellij.psi.controlFlow.ControlFlowFactory.getControlFlow(ControlFlowFactory.java:47)
at com.intellij.codeInspection.varScopeCanBeNarrowed.FieldCanBeLocalInspection$2.a(FieldCanBeLocalInspection.java:13)
at com.intellij.codeInspection.varScopeCanBeNarrowed.FieldCanBeLocalInspection$2.visitMethod(FieldCanBeLocalInspection.java:14)
at com.intellij.psi.impl.source.PsiMethodImpl.accept(PsiMethodImpl.java:83)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.acceptChildren(TreeWrapperPsiElement.java:64)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:37)
at com.intellij.codeInspection.varScopeCanBeNarrowed.FieldCanBeLocalInspection$2.visitElement(FieldCanBeLocalInspection.java:12)
at com.intellij.psi.JavaElementVisitor.visitClass(JavaElementVisitor.java:64)
at com.intellij.psi.impl.source.PsiClassImpl.accept(PsiClassImpl.java:19)
at com.intellij.codeInspection.varScopeCanBeNarrowed.FieldCanBeLocalInspection.checkClass(FieldCanBeLocalInspection.java:11)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:216)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.doCollectInformation(LocalInspectionsPass.java:172)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:59)
at com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:4)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:124)
at com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:7)
at com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:26)
at com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:80)
at com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:49)



com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.compiled.ClsClassImpl
at com.intellij.psi.impl.compiled.ClsClassImpl.getContainingFile(ClsClassImpl.java:135)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:39)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:233)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:22)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:83)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.b(PsiJavaCodeReferenceElementImpl.java:214)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$000(PsiJavaCodeReferenceElementImpl.java:195)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver._resolve(PsiJavaCodeReferenceElementImpl.java:5)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:16)
at com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:2)
at com.intellij.psi.impl.source.resolve.ResolveCache.reso

6 comments
Comment actions Permalink

Will you guys be able to look into this? Since this isn't an issue that I can track, it would be nice if JetBrains could let me know. This really is a painpoint.

Thanks,
Jon

0
Comment actions Permalink

Jon, I hope I have fixed this. Could you please verify it in the next EAP?

0
Comment actions Permalink

I'd be glad to try it, Eugene. Is the possible fix in build 6137 or one after that?
Thanks,
Jon

0
Comment actions Permalink

No, I guess you have to wait until the next build.

0
Comment actions Permalink

Eugene - I do get fewer RCOD's per day during builds as of 614x. A more recent one I got during a build was "Submitted as 83298" but a different type of exception I think.

Thanks,
Jon

0
Comment actions Permalink

Jon,
This is indeed a different type of exception, in completely different subsystem.

Eugene.

0

Please sign in to leave a comment.