Exception in MetricsReloaded

I added a few module-metrics and ran the calculation.
(3354, 5.0 Update3, MR 0.5.1)


java.lang.NoSuchMethodError:
com.intellij.psi.PsiClass.getUseScope()Lcom/intellij/psi/search/GlobalSearch
Scope;
at
com.siyeh.metrics.execution.MetricsExecutionContextImpl$2.run(MetricsExecuti
onContextImpl.java:139)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressMa
nagerImpl.java:7)
at
com.siyeh.metrics.execution.MetricsExecutionContextImpl.findClassReferences(
MetricsExecutionContextImpl.java:145)
at
com.siyeh.metrics.execution.BaseMetricsCalculator.findClassReferences(BaseMe
tricsCalculator.java:197)
at
com.siyeh.metrics.moduleCalculators.EncapsulationRatioModuleCalculator.isInt
ernal(EncapsulationRatioModuleCalculator.java:23)
at
com.siyeh.metrics.moduleCalculators.EncapsulationRatioModuleCalculator.befor
eClass(EncapsulationRatioModuleCalculator.java:15)
at
com.siyeh.metrics.execution.Traversal.visitClass(Traversal.java:227)
at
com.intellij.psi.impl.compiled.ClsClassImpl.accept(ClsClassImpl.java:148)
at
com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:24)
at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElement
Visitor.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:33
8)
at
com.siyeh.metrics.execution.Traversal.visitJavaFile(Traversal.java:151)
at
com.intellij.psi.impl.compiled.ClsFileImpl.accept(ClsFileImpl.java:36)
at
com.siyeh.metrics.execution.MetricsExecutionContextImpl$1.run(MetricsExecuti
onContextImpl.java:78)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressMa
nagerImpl.java:7)
at
com.intellij.openapi.application.impl.ApplicationImpl$1MyThread.run(Applicat
ionImpl.java:4)


1 comment
Comment actions Permalink

I had an exception as well...

i wanted to calculate project and module metrices and got the exception as
attached...

-claude





Attachment(s):
exception.txt
0

Please sign in to leave a comment.