InspectionGadgets 0.0.3 ClassCastException

I've got a couple of source files that generate this error repeatedly.
Disabling the local variable neming conventions check avoids them.


java.lang.ClassCastException
at
com.siyeh.ig.naming.LocalVariableNamingConventionInspection.buildErrorString(LocalVariableNamingConventionInspection.java:43)
at
com.siyeh.ig.BaseInspectionVisitor.registerError(BaseInspectionVisitor.java:46)
at
com.siyeh.ig.naming.LocalVariableNamingConventionInspection$NamingConventionsVisitor.visitParameter(LocalVariableNamingConventionInspection.java:164)
at com.intellij.psi.impl.source.bx.accept(bx.java:46)
at com.intellij.psi.impl.source.f.s.acceptChildren(s.java:70)
at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:2)
at
com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:61)
at
com.intellij.psi.JavaElementVisitor.visitTryStatement(JavaElementVisitor.java:64)
at com.intellij.psi.impl.source.f.a.bq.accept(bq.java:32)
at com.intellij.psi.impl.source.f.s.acceptChildren(s.java:70)
at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:2)
at
com.intellij.psi.JavaElementVisitor.visitCodeBlock(JavaElementVisitor.java:34)
at com.intellij.psi.impl.source.f.a.bt.accept(bt.java:2)
at com.intellij.psi.impl.source.bg.acceptChildren(bg.java:9)
at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:2)
at
com.intellij.psi.JavaElementVisitor.visitMethod(JavaElementVisitor.java:118)
at com.intellij.psi.impl.source.bt.accept(bt.java:1)
at
com.siyeh.ig.naming.LocalVariableNamingConventionInspection.checkMethod(LocalVariableNamingConventionInspection.java:95)
at com.intellij.codeInsight.i.a.bv.a(bv.java:101)
at com.intellij.codeInsight.i.a.cm.run(cm.java:1)
at com.intellij.openapi.application.b.d.runReadAction(d.java:24)
at com.intellij.codeInsight.i.a.cx.a(cx.java:7)
at com.intellij.codeInsight.i.a.cx.b(cx.java:8)
at com.intellij.codeInsight.i.a.cl.run(cl.java:1)
at com.intellij.progress.c.a(c.java:52)
at com.intellij.codeInsight.i.a.cx.run(cx.java:3)

Please sign in to leave a comment.