IG: Implicit Numeric Conversion Exception

Got this while editing:

ERROR - emon.impl.LocalInspectionsPass - Exception happened in local inspection tool: Implicit numeric conversions
ERROR - emon.impl.LocalInspectionsPass - IntelliJ IDEA (Irida) #3185 Build #3185
ERROR - emon.impl.LocalInspectionsPass - JDK: 1.4.2_06
ERROR - emon.impl.LocalInspectionsPass - VM: Java HotSpot(TM) Client VM
ERROR - emon.impl.LocalInspectionsPass - Vendor: Sun Microsystems Inc.
ERROR - emon.impl.LocalInspectionsPass - OS: Windows XP
ERROR - emon.impl.LocalInspectionsPass - Last Action: CodeCompletion
ERROR - emon.impl.LocalInspectionsPass - Exception happened in local inspection tool: Implicit numeric conversions
java.lang.ArrayIndexOutOfBoundsException: 3
at com.siyeh.ig.psiutils.ExpectedTypeUtils.getTypeOfParemeter(ExpectedTypeUtils.java:209)
at com.siyeh.ig.psiutils.ExpectedTypeUtils.findExpectedType(ExpectedTypeUtils.java:144)
at com.siyeh.ig.confusing.ImplicitNumericConversionInspection$ImplicitNumericConversionVisitor.visitReferenceExpression(Im
plicitNumericConversionInspection.java:207)
at com.intellij.psi.impl.source.tree.a.bl.accept(bl.java:119)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:32)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:11)
at com.intellij.psi.JavaElementVisitor.visitExpressionList(JavaElementVisitor.java:114)
at com.intellij.psi.impl.source.tree.a.t.accept(t.java:24)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:32)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:11)
at com.intellij.psi.JavaElementVisitor.visitExpression(JavaElementVisitor.java:110)
at com.siyeh.ig.confusing.ImplicitNumericConversionInspection$ImplicitNumericConversionVisitor.visitExpression(ImplicitNum
ericConversionInspection.java:225)
at com.intellij.psi.JavaElementVisitor.visitCallExpression(JavaElementVisitor.java:198)
at com.intellij.psi.JavaElementVisitor.visitMethodCallExpression(JavaElementVisitor.java:194)
at com.intellij.psi.impl.source.tree.a.be.accept(be.java:11)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:32)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:11)
at com.intellij.psi.JavaElementVisitor.visitExpression(JavaElementVisitor.java:110)
at com.siyeh.ig.confusing.ImplicitNumericConversionInspection$ImplicitNumericConversionVisitor.visitExpression(ImplicitNum
ericConversionInspection.java:225)
at com.intellij.psi.JavaElementVisitor.visitAssignmentExpression(JavaElementVisitor.java:34)
at com.intellij.psi.impl.source.tree.a.g.accept(g.java)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:32)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:11)
at com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:272)
at com.intellij.psi.JavaElementVisitor.visitExpressionStatement(JavaElementVisitor.java:122)
at com.intellij.psi.impl.source.tree.a.v.accept(v.java:3)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:32)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:11)
at com.intellij.psi.JavaElementVisitor.visitCodeBlock(JavaElementVisitor.java:66)
at com.intellij.psi.impl.source.tree.a.m.accept(m.java:71)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:32)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:11)
at com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:272)
at com.intellij.psi.JavaElementVisitor.visitBlockStatement(JavaElementVisitor.java:46)
at com.intellij.psi.impl.source.tree.a.i.accept(i.java:3)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:32)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:11)
at com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:272)
at com.intellij.psi.JavaElementVisitor.visitWhileStatement(JavaElementVisitor.java:320)
at com.intellij.psi.impl.source.tree.a.bw.accept(bw.java:3)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:32)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:11)
at com.intellij.psi.JavaElementVisitor.visitCodeBlock(JavaElementVisitor.java:66)
at com.intellij.psi.impl.source.tree.a.m.accept(m.java:71)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.acceptChildren(TreeWrapperPsiElement.java:97)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:11)
at com.intellij.psi.JavaElementVisitor.visitMethod(JavaElementVisitor.java:190)
at com.intellij.psi.impl.source.v.accept(v.java:153)
at com.siyeh.ig.ExpressionInspection.checkMethod(ExpressionInspection.java:40)
at com.intellij.codeInsight.daemon.impl.y.doCollectInformation(y.java:41)
at com.intellij.codeInsight.daemon.impl.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:0)
at com.intellij.codeInsight.daemon.impl.bd$1.run(bd$1.java:6)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:139)
at com.intellij.codeInsight.daemon.impl.bd.a(bd.java:14)
at com.intellij.codeInsight.daemon.impl.bd.access$100(bd.java:12)
at com.intellij.codeInsight.daemon.impl.bd$0.run(bd$0.java:1)
at com.intellij.openapi.progress.a.a.runProcess(a.java:72)
at com.intellij.codeInsight.daemon.impl.bd.run(bd.java:9)


Do you want me to file a bug, or has this been seen before?

Mike

3 comments
Comment actions Permalink

In general, file these as bugs. I'm fixing things fast enough and the plugins are close enough to stable that duplicates haven't been a problem. For this one, don't bother, as I've got a fix already. Should be in the next EAP.

--Dave Griffith

0
Comment actions Permalink

In general, file these as bugs. I'm fixing things
fast enough and the plugins are close enough to
stable that duplicates haven't been a problem. For
this one, don't bother, as I've got a fix already.
Should be in the next EAP.


Will you see them automatically, or is there some kind of convention I should use?

Mike

0
Comment actions Permalink

Right now, IG/IPP stuff in tracker gets routed to me by the good folk at JetBrains, and I keep it in a mailbox. Stuff in the forums I try to keep up on, but it's not as gauranteed.

--Dave Griffith

0

Please sign in to leave a comment.