[PATCH] NullPointerException because Object.equals is called instead of boolean==boolean
Hi,
when I run CheckBoxTree.main and then click on the CheckBox of the root node, a NullPointerException is thrown in line 153 of CheckBoxTree.
This happens because the equals method is called on 2 Boolean Objects which are returned by the CheckBoxNodeData.isSelected() method.
The source is from a recent download a few days ago.
cheers
Jürgen
Change History
(5)
Summary: |
NullPointerException because Object.equals is called instead of boolean==boolean → [PATCH] NullPointerException because Object.equals is called instead of boolean==boolean
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Add
null
checks