MetricsReloaded NPE

Hi!
I get a NPE when MetricsReloaded is analyzes are run over my project
with "True comments ratio" metric on.
I hope this newsgroup is fine for posting it. If not, I would
appreciate if somebody points me out where to ask for support.
Thanks and greetings!

Here is the NPE:

No message
java.lang.NullPointerException
at
com.sixrr.metrics.utils.ClassUtils.calculateModuleName(ClassUtils.java:99)
at
com.sixrr.metrics.moduleCalculators.ElementRatioModuleCalculator.incrementDenominator(ElementRatioModuleCalculator.java:69)
at
com.sixrr.metrics.moduleCalculators.TrueCommentRatioModuleCalculator.beforeComment(TrueCommentRatioModuleCalculator.java:33)
at com.sixrr.metrics.execution.Traversal.visitComment(Traversal.java:61)
at
com.intellij.psi.impl.source.tree.PsiCommentImpl.accept(PsiCommentImpl.java:8)
at
com.intellij.psi.impl.source.TreeWrapperPsiElement.acceptChildren(TreeWrapperPsiElement.java:54)
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:93)
at
com.sixrr.metrics.execution.MetricsExecutionContextImpl$1$2.visitFile(MetricsExecutionContextImpl.java:133)
at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:93)
at com.intellij.analysis.AnalysisScope.processFile(AnalysisScope.java:445)
at com.intellij.analysis.AnalysisScope.processFile(AnalysisScope.java:425)
at com.intellij.analysis.AnalysisScope.access$500(AnalysisScope.java:54)
at
com.intellij.analysis.AnalysisScope$4.processFile(AnalysisScope.java:370)
at
com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:30)
at
com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:35)
at
com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:35)
at
com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:35)
at
com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:35)
at
com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:86)
at com.intellij.analysis.AnalysisScope.accept(AnalysisScope.java:368)
at com.intellij.analysis.AnalysisScope.accept(AnalysisScope.java:322)
at
com.sixrr.metrics.execution.MetricsExecutionContextImpl$1.run(MetricsExecutionContextImpl.java:120)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:1)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:75)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:90)
at
com.intellij.openapi.application.impl.ApplicationImpl$7$1.run(ApplicationImpl.java:3)
at
com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:7)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at
com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:6)

Please sign in to leave a comment.