InspectionGadgets Exception

FYI.

Regards,
N.

Error message: Exception happened in local inspection tool: Assignment
replacable with operator assignment
java.lang.NullPointerException

at
com.siyeh.ig.verbose.ReplaceAssignmentWithOperatorAssignmentInspection.calculateReplacementExpression(ReplaceAssignmentWithOperatorAssignmentInspection.java:35)

at
com.siyeh.ig.verbose.ReplaceAssignmentWithOperatorAssignmentInspection.buildErrorString(ReplaceAssignmentWithOperatorAssignmentInspection.java:25)

at
com.siyeh.ig.BaseInspectionVisitor.registerError(BaseInspectionVisitor.java:29)

at
com.siyeh.ig.verbose.ReplaceAssignmentWithOperatorAssignmentInspection$ReplaceAssignmentWithOperatorAssignmentVisitor.visitAssignmentExpression(ReplaceAssignmentWithOperatorAssignmentInspection.java:117)

at com.intellij.psi.impl.source.d.a.e.accept(e.java:13)

at com.intellij.psi.impl.source.d.s.acceptChildren(s.java:32)

at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:1)

at
com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:52)

at
com.intellij.psi.JavaElementVisitor.visitExpressionStatement(JavaElementVisitor.java:3)

at com.intellij.psi.impl.source.d.a.r.accept(r.java:9)

at com.intellij.psi.impl.source.d.s.acceptChildren(s.java:32)

at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:1)

at
com.intellij.psi.JavaElementVisitor.visitCodeBlock(JavaElementVisitor.java:37)

at com.intellij.psi.impl.source.d.a.br.accept(br.java:1)

at com.intellij.psi.impl.source.d.s.acceptChildren(s.java:32)

at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:1)

at
com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:52)

at
com.intellij.psi.JavaElementVisitor.visitBlockStatement(JavaElementVisitor.java:90)

at com.intellij.psi.impl.source.d.a.g.accept(g.java:3)

at com.intellij.psi.impl.source.d.s.acceptChildren(s.java:32)

at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:1)

at
com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:52)

at
com.intellij.psi.JavaElementVisitor.visitIfStatement(JavaElementVisitor.java:81)

at com.intellij.psi.impl.source.d.a.t.accept(t.java:29)

at com.intellij.psi.impl.source.d.s.acceptChildren(s.java:32)

at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:1)

at
com.intellij.psi.JavaElementVisitor.visitCodeBlock(JavaElementVisitor.java:37)

at com.intellij.psi.impl.source.d.a.br.accept(br.java:1)

at com.intellij.psi.impl.source.d.s.acceptChildren(s.java:32)

at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:1)

at
com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:52)

at
com.intellij.psi.JavaElementVisitor.visitBlockStatement(JavaElementVisitor.java:90)

at com.intellij.psi.impl.source.d.a.g.accept(g.java:3)

at com.intellij.psi.impl.source.d.s.acceptChildren(s.java:32)

at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:1)

at
com.intellij.psi.JavaElementVisitor.visitStatement(JavaElementVisitor.java:52)

at
com.intellij.psi.JavaElementVisitor.visitForStatement(JavaElementVisitor.java:130)

at com.intellij.psi.impl.source.d.a.s.accept(s.java:1)

at com.intellij.psi.impl.source.d.s.acceptChildren(s.java:32)

at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:1)

at
com.intellij.psi.JavaElementVisitor.visitCodeBlock(JavaElementVisitor.java:37)

at com.intellij.psi.impl.source.d.a.br.accept(br.java:1)

at com.intellij.psi.impl.source.o.acceptChildren(o.java:5)

at
com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:1)

at
com.intellij.psi.JavaElementVisitor.visitMethod(JavaElementVisitor.java:158)

at com.intellij.psi.impl.source.bb.accept(bb.java:59)

at
com.siyeh.ig.ExpressionInspection.checkMethod(ExpressionInspection.java:45)

at com.intellij.codeInsight.a.a.w.a(w.java:34)

at com.intellij.codeInsight.a.a.bj$1.run(bj$1.java:2)

at com.intellij.openapi.application.a.b.runReadAction(b.java:252)

at com.intellij.codeInsight.a.a.bj.a(bj.java:20)

at com.intellij.codeInsight.a.a.bj.access$100(bj.java:16)

at com.intellij.codeInsight.a.a.bj$0.run(bj$0.java:0)

at com.intellij.progress.c.a(c.java:9)

at com.intellij.codeInsight.a.a.bj.run(bj.java:1)


Please sign in to leave a comment.