MetricsReloaded Exception

I've got the following exception (IDEA 5.1 #4155) and MetricsReloaded 0.6.0.1:


java.lang.NullPointerException

at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.getModuleForFile(ProjectFileIndexImpl.java:15)
at com.sixrr.metrics.utils.ClassUtils.calculateModuleName(ClassUtils.java:91)
at com.sixrr.metrics.moduleCalculators.ElementCountModuleCalculator.beforeFile(ElementCountModuleCalculator.java:45)
at com.sixrr.metrics.execution.Traversal.visitFile(Traversal.java:232)
at com.intellij.psi.PsiRecursiveElementVisitor.visitJspFile(PsiRecursiveElementVisitor.java:44)
at com.intellij.psi.impl.source.jsp.JspxFileImpl.accept(JspxFileImpl.java:245)
at com.sixrr.metrics.execution.MetricsExecutionContextImpl$1.run(MetricsExecutionContextImpl.java:116)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:28)
at com.intellij.openapi.application.impl.ApplicationImpl$1MyThread.run(ApplicationImpl.java:13)



Any idea,
_marc

Please sign in to leave a comment.