MetricsReloaded exception

IDEA build 6146 running on JDK 6.0

I had just created a profile that ran every metric, and was running it when
this exception was thrown.

No message
java.lang.NullPointerException
at com.sixrr.metrics.utils.ClassUtils.calculateModuleName(ClassUtils.java:99)
at com.sixrr.metrics.moduleCalculators.ElementRatioModuleCalculator.incrementNumerator(ElementRatioModuleCalculator.java:62)
at com.sixrr.metrics.moduleCalculators.CommentRatioModuleCalculator.beforeComment(CommentRatioModuleCalculator.java:33)
at com.sixrr.metrics.execution.Traversal.visitComment(Traversal.java:61)
at com.intellij.psi.impl.source.tree.PsiCommentImpl.accept(PsiCommentImpl.java:2)
at com.intellij.extapi.psi.ASTWrapperPsiElement.acceptChildren(ASTWrapperPsiElement.java:23)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:37)
at com.intellij.extapi.psi.PsiElementBase.accept(PsiElementBase.java:15)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.acceptChildren(TreeWrapperPsiElement.java:99)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:37)
at com.intellij.psi.JavaElementVisitor.visitFile(JavaElementVisitor.java:140)
at com.sixrr.metrics.execution.Traversal.visitFile(Traversal.java:234)
at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:15)
at com.sixrr.metrics.execution.MetricsExecutionContextImpl$1$2.visitFile(MetricsExecutionContextImpl.java:133)
at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:15)
at com.intellij.analysis.AnalysisScope$3.processFile(AnalysisScope.java:351)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:1)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:5)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:5)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:109)
at com.intellij.analysis.AnalysisScope.accept(AnalysisScope.java:345)
at com.sixrr.metrics.execution.MetricsExecutionContextImpl$1.run(MetricsExecutionContextImpl.java:120)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:84)
at com.intellij.openapi.application.impl.ApplicationImpl$1MyThread.run(ApplicationImpl.java:11)


Please sign in to leave a comment.