IG: NPE in java.nio.ByteBuffer
Hello,
Error message: Exception happened in local inspection tool: Object comparison
using ==, instead of '.equals()'
java.lang.NullPointerException
at com.siyeh.ig.bugs.ObjectEqualityInspection$ObjectEqualityVisitor.visitBinaryExpression(ObjectEqualityInspection.java:146)
at com.intellij.psi.impl.source.tree.a.h.accept(h.java:37)
at com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:14)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:11)
at com.intellij.psi.JavaElementVisitor.visitExpression(JavaElementVisitor.java:110)
at com.intellij.psi.JavaElementVisitor.visitParenthesizedExpression(JavaElementVisitor.java:234)
at com.intellij.psi.impl.source.tree.a.bi.accept(bi.java:16)
at com.siyeh.ig.ExpressionInspection.checkField(ExpressionInspection.java:63)
at com.intellij.codeInsight.daemon.impl.z.doCollectInformation(z.java:69)
at com.intellij.codeInsight.daemon.impl.w.collectInformation(w.java:3)
at com.intellij.codeInsight.daemon.impl.be$1.run(be$1.java:0)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:195)
at com.intellij.codeInsight.daemon.impl.be.a(be.java:32)
at com.intellij.codeInsight.daemon.impl.be.access$100(be.java:33)
at com.intellij.codeInsight.daemon.impl.be$0.run(be$0.java:0)
at com.intellij.openapi.progress.a.a.runProcess(a.java:37)
at com.intellij.codeInsight.daemon.impl.be.run(be.java:10)
Thanks!
--
Alexey Efimov, Java Developer
Tops BI
http://www.topsbi.ru
Please sign in to leave a comment.
Hi Alexy,
Alexey Efimov wrote:
Since Inspection Gadgets is included in IDEA it easier to submit
exceptions to the tracker. Otherwise it might not get noticed.
Bas
Hello Bas,
BL> Since Inspection Gadgets is included in IDEA it easier to submit
BL> exceptions to the tracker. Otherwise it might not get noticed.
I can 'Uninstall' only :)) There is no 'send' button...
Thanks!
--
Alexey Efimov, Java Developer
Tops BI
http://www.topsbi.ru
If you include these in the tracker, I'm much more likely to see them, and much less likely to drop them on the floor.
--Dave Griffith
Hello Dave,
DG> If you include these in the tracker, I'm much more likely to see
DG> them, and much less likely to drop them on the floor.
Is any difference?
http://www.intellij.net/tracker/idea/viewSCR?publicId=42185
Thank you
--
Alexey Efimov, Java Developer
Tops BI
http://www.topsbi.ru