You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create a DualList
2. Add DualListItem item
3. Set data on item, e.g. item.setData("MyKey","MyValue")
4. NPE is thrown
What is the expected output? What do you see instead?
Expected: Data is attached to the item
Result: NullPointerException
java.lang.NullPointerException
at org.mihalis.opal.OpalItem.setData(Unknown Source)
What version of the product are you using? On what operating system?
opal-0.9.9c
Please provide any additional information below.
The OpelItem, the DLItem extends provides methods to set and get data, but does
not initialize the map the data is stored in. As a result, the NPE is thrown.
See code at line 33 of OpelItem
https://code.google.com/a/eclipselabs.org/p/opal/source/browse/src/main/java/org
/mihalis/opal/OpalItem.java#33
Original issue reported on code.google.com by benjamin...@gmail.com on 9 Apr 2014 at 10:05
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
benjamin...@gmail.com
on 9 Apr 2014 at 10:05The text was updated successfully, but these errors were encountered: