Inspection gadgets exception
Error message: Exception happened in local inspection tool: Prohibitted exception
declared
java.lang.ClassCastException
at com.siyeh.ig.errorhandling.BadExceptionDeclaredInspection.buildErrorString(BadExceptionDeclaredInspection.java:82)
at com.siyeh.ig.BaseInspectionVisitor.registerError(BaseInspectionVisitor.java:97)
at com.siyeh.ig.errorhandling.BadExceptionDeclaredInspection$BadExceptionDeclaredVisitor.visitMethod(BadExceptionDeclaredInspection.java:119)
at com.intellij.psi.impl.source.u.accept(u.java:72)
at com.siyeh.ig.MethodInspection.checkMethod(MethodInspection.java:20)
at com.intellij.codeInsight.daemon.impl.ba.doCollectInformation(ba.java:105)
at com.intellij.codeInsight.daemon.impl.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:0)
at com.intellij.codeInsight.daemon.impl.bf$1.run(bf$1.java:10)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:304)
at com.intellij.codeInsight.daemon.impl.bf.a(bf.java:24)
at com.intellij.codeInsight.daemon.impl.bf.access$100(bf.java:46)
at com.intellij.codeInsight.daemon.impl.bf$0.run(bf$0.java:3)
at com.intellij.openapi.progress.a.a.runProcess(a.java:60)
at com.intellij.codeInsight.daemon.impl.bf.run(bf.java:39)
Please sign in to leave a comment.
A fix has been submitted for this. Should be in the next EAP. In the future, please submit InspectionGadgets issues via JIRA, as it makes it about ten times less likely they will get lost or forgotten.
--Dave Griffith
Yep, just saw another of your messages about that. Will do.
(and thanks for the fix)
Tobin