Exception in MetricsReloaded

Happens in build 3378:

com.intellij.psi.PsiClass.getUseScope()Lcom/intellij/psi/search/GlobalSearchScope;
java.lang.NoSuchMethodError:
com.intellij.psi.PsiClass.getUseScope()Lcom/intellij/psi/search/GlobalSearchScope;
at
com.siyeh.metrics.execution.MetricsExecutionContextImpl$2.run(MetricsExecutionContextImpl.java:139)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:56)
at
com.siyeh.metrics.execution.MetricsExecutionContextImpl.findClassReferences(MetricsExecutionContextImpl.java:145)
at
com.siyeh.metrics.execution.BaseMetricsCalculator.findClassReferences(BaseMetricsCalculator.java:197)
at
com.siyeh.metrics.packageCalculators.EncapsulationRatioPackageCalculator.isInternal(EncapsulationRatioPackageCalculator.java:50)
at
com.siyeh.metrics.packageCalculators.EncapsulationRatioPackageCalculator.beforeClass(EncapsulationRatioPackageCalculator.java:42)
at com.siyeh.metrics.execution.Traversal.visitClass(Traversal.java:227)
at com.intellij.psi.impl.source.PsiClassImpl.accept(PsiClassImpl.java:53)
at
com.intellij.psi.impl.source.TreeWrapperPsiElement.acceptChildren(TreeWrapperPsiElement.java:57)
at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:21)
at
com.intellij.psi.JavaElementVisitor.visitFile(JavaElementVisitor.java:130)
at com.siyeh.metrics.execution.Traversal.visitFile(Traversal.java:219)
at
com.intellij.psi.JavaElementVisitor.visitJavaFile(JavaElementVisitor.java:338)
at com.siyeh.metrics.execution.Traversal.visitJavaFile(Traversal.java:151)
at
com.intellij.psi.impl.source.PsiJavaFileBaseImpl.accept(PsiJavaFileBaseImpl.java:71)
at
com.siyeh.metrics.execution.MetricsExecutionContextImpl$1.run(MetricsExecutionContextImpl.java:78)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:56)
at
com.intellij.openapi.application.impl.ApplicationImpl$1MyThread.run(ApplicationImpl.java:13)


--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com

1 comment
Comment actions Permalink

Still happens in 35xx:

com.intellij.psi.PsiClass.getUseScope()Lcom/intellij/psi/search/GlobalSearchScope;
java.lang.NoSuchMethodError:
com.intellij.psi.PsiClass.getUseScope()Lcom/intellij/psi/search/GlobalSearchScope;
at
com.siyeh.metrics.execution.MetricsExecutionContextImpl$2.run(MetricsExecutionContextImpl.java:139)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:77)
at
com.siyeh.metrics.execution.MetricsExecutionContextImpl.findClassReferences(MetricsExecutionContextImpl.java:145)
at
com.siyeh.metrics.execution.BaseMetricsCalculator.findClassReferences(BaseMetricsCalculator.java:197)
at
com.siyeh.metrics.packageCalculators.EncapsulationRatioPackageCalculator.isInternal(EncapsulationRatioPackageCalculator.java:50)
at
com.siyeh.metrics.packageCalculators.EncapsulationRatioPackageCalculator.beforeClass(EncapsulationRatioPackageCalculator.java:42)
at com.siyeh.metrics.execution.Traversal.visitClass(Traversal.java:227)
at com.intellij.psi.impl.source.PsiClassImpl.accept(PsiClassImpl.java:64)
at
com.intellij.psi.impl.source.TreeWrapperPsiElement.acceptChildren(TreeWrapperPsiElement.java:63)
at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:35)
at
com.intellij.psi.JavaElementVisitor.visitFile(JavaElementVisitor.java:140)
at com.siyeh.metrics.execution.Traversal.visitFile(Traversal.java:219)
at
com.intellij.psi.JavaElementVisitor.visitJavaFile(JavaElementVisitor.java:348)
at com.siyeh.metrics.execution.Traversal.visitJavaFile(Traversal.java:151)
at
com.intellij.psi.impl.source.PsiJavaFileBaseImpl.accept(PsiJavaFileBaseImpl.java:64)
at
com.siyeh.metrics.execution.MetricsExecutionContextImpl$1.run(MetricsExecutionContextImpl.java:78)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:77)
at
com.intellij.openapi.application.impl.ApplicationImpl$1MyThread.run(ApplicationImpl.java:4)

0

Please sign in to leave a comment.