"Null pointer dereference" AND "Nullcheck of value previously dereferenced":
Null pointer dereference
A null pointer is dereferenced here. This will lead to a NullPointerException when the code is executed.
Nullcheck of value previously dereferenced
A value is checked here to see whether it is null, but this value can't be null because it was previously dereferenced and if it were null a null pointer exception would have occurred at the earlier dereference. Essentially, this code and the previous dereference disagree as to whether this value is allowed to be null. Either the check is redundant or the previous dereference is erroneous.
Details:
=========================================
Null pointer dereference of TestResultTable.trCache in com.sun.javatest.TestResultTable.finished()
In file TestResultTable.java, line 472
In class com.sun.javatest.TestResultTable
In method com.sun.javatest.TestResultTable.finished()
Value loaded from field com.sun.javatest.TestResultTable.trCache
Dereferenced at TestResultTable.java:[line 472]
=========================================
Nullcheck of TT_BasicNode.children at line 83 of value previously dereferenced in com.sun.javatest.exec.TT_BasicNode.getChildAt(int)
In file TT_BasicNode.java, line 82
In class com.sun.javatest.exec.TT_BasicNode
In method com.sun.javatest.exec.TT_BasicNode.getChildAt(int)
Value loaded from field com.sun.javatest.exec.TT_BasicNode.children
At TT_BasicNode.java:[line 82]
Redundant null check at TT_BasicNode.java:[line 83]
=========================================
Nullcheck of TT_BasicNode.children at line 101 of value previously dereferenced in com.sun.javatest.exec.TT_BasicNode.getIndex(TreeNode)
In file TT_BasicNode.java, line 100
In class com.sun.javatest.exec.TT_BasicNode
In method com.sun.javatest.exec.TT_BasicNode.getIndex(TreeNode)
Value loaded from field com.sun.javatest.exec.TT_BasicNode.children
At TT_BasicNode.java:[line 100]
Redundant null check at TT_BasicNode.java:[line 101]
Null pointer dereference
A null pointer is dereferenced here. This will lead to a NullPointerException when the code is executed.
Nullcheck of value previously dereferenced
A value is checked here to see whether it is null, but this value can't be null because it was previously dereferenced and if it were null a null pointer exception would have occurred at the earlier dereference. Essentially, this code and the previous dereference disagree as to whether this value is allowed to be null. Either the check is redundant or the previous dereference is erroneous.
Details:
=========================================
Null pointer dereference of TestResultTable.trCache in com.sun.javatest.TestResultTable.finished()
In file TestResultTable.java, line 472
In class com.sun.javatest.TestResultTable
In method com.sun.javatest.TestResultTable.finished()
Value loaded from field com.sun.javatest.TestResultTable.trCache
Dereferenced at TestResultTable.java:[line 472]
=========================================
Nullcheck of TT_BasicNode.children at line 83 of value previously dereferenced in com.sun.javatest.exec.TT_BasicNode.getChildAt(int)
In file TT_BasicNode.java, line 82
In class com.sun.javatest.exec.TT_BasicNode
In method com.sun.javatest.exec.TT_BasicNode.getChildAt(int)
Value loaded from field com.sun.javatest.exec.TT_BasicNode.children
At TT_BasicNode.java:[line 82]
Redundant null check at TT_BasicNode.java:[line 83]
=========================================
Nullcheck of TT_BasicNode.children at line 101 of value previously dereferenced in com.sun.javatest.exec.TT_BasicNode.getIndex(TreeNode)
In file TT_BasicNode.java, line 100
In class com.sun.javatest.exec.TT_BasicNode
In method com.sun.javatest.exec.TT_BasicNode.getIndex(TreeNode)
Value loaded from field com.sun.javatest.exec.TT_BasicNode.children
At TT_BasicNode.java:[line 100]
Redundant null check at TT_BasicNode.java:[line 101]
FindBugs: Null pointer dereference
"Null pointer dereference" AND "Nullcheck of value previously dereferenced":
Null pointer dereference
A null pointer is dereferenced here. This will lead to a NullPointerException when the code is executed.
Nullcheck of value previously dereferenced
A value is checked here to see whether it is null, but this value can't be null because it was previously dereferenced and if it were null a null pointer exception would have occurred at the earlier dereference. Essentially, this code and the previous dereference disagree as to whether this value is allowed to be null. Either the check is redundant or the previous dereference is erroneous.
Details:
=========================================
Null pointer dereference of TestResultTable.trCache in com.sun.javatest.TestResultTable.finished()
In file TestResultTable.java, line 472
In class com.sun.javatest.TestResultTable
In method com.sun.javatest.TestResultTable.finished()
Value loaded from field com.sun.javatest.TestResultTable.trCache
Dereferenced at TestResultTable.java:[line 472]
=========================================
Nullcheck of TT_BasicNode.children at line 83 of value previously dereferenced in com.sun.javatest.exec.TT_BasicNode.getChildAt(int)
In file TT_BasicNode.java, line 82
In class com.sun.javatest.exec.TT_BasicNode
In method com.sun.javatest.exec.TT_BasicNode.getChildAt(int)
Value loaded from field com.sun.javatest.exec.TT_BasicNode.children
At TT_BasicNode.java:[line 82]
Redundant null check at TT_BasicNode.java:[line 83]
=========================================
Nullcheck of TT_BasicNode.children at line 101 of value previously dereferenced in com.sun.javatest.exec.TT_BasicNode.getIndex(TreeNode)
In file TT_BasicNode.java, line 100
In class com.sun.javatest.exec.TT_BasicNode
In method com.sun.javatest.exec.TT_BasicNode.getIndex(TreeNode)
Value loaded from field com.sun.javatest.exec.TT_BasicNode.children
At TT_BasicNode.java:[line 100]
Redundant null check at TT_BasicNode.java:[line 101]
Null pointer dereference
A null pointer is dereferenced here. This will lead to a NullPointerException when the code is executed.
Nullcheck of value previously dereferenced
A value is checked here to see whether it is null, but this value can't be null because it was previously dereferenced and if it were null a null pointer exception would have occurred at the earlier dereference. Essentially, this code and the previous dereference disagree as to whether this value is allowed to be null. Either the check is redundant or the previous dereference is erroneous.
Details:
=========================================
Null pointer dereference of TestResultTable.trCache in com.sun.javatest.TestResultTable.finished()
In file TestResultTable.java, line 472
In class com.sun.javatest.TestResultTable
In method com.sun.javatest.TestResultTable.finished()
Value loaded from field com.sun.javatest.TestResultTable.trCache
Dereferenced at TestResultTable.java:[line 472]
=========================================
Nullcheck of TT_BasicNode.children at line 83 of value previously dereferenced in com.sun.javatest.exec.TT_BasicNode.getChildAt(int)
In file TT_BasicNode.java, line 82
In class com.sun.javatest.exec.TT_BasicNode
In method com.sun.javatest.exec.TT_BasicNode.getChildAt(int)
Value loaded from field com.sun.javatest.exec.TT_BasicNode.children
At TT_BasicNode.java:[line 82]
Redundant null check at TT_BasicNode.java:[line 83]
=========================================
Nullcheck of TT_BasicNode.children at line 101 of value previously dereferenced in com.sun.javatest.exec.TT_BasicNode.getIndex(TreeNode)
In file TT_BasicNode.java, line 100
In class com.sun.javatest.exec.TT_BasicNode
In method com.sun.javatest.exec.TT_BasicNode.getIndex(TreeNode)
Value loaded from field com.sun.javatest.exec.TT_BasicNode.children
At TT_BasicNode.java:[line 100]
Redundant null check at TT_BasicNode.java:[line 101]