problem resolved
I implement equals in a wrong way
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/NullPointerException-when-using-Palette-tp4430840p4430966.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
GenericSelectModel is initialised like this
if (types == null) {
types = new
GenericSelectModel(typeManager.findAll(), //findAll()
returns List
Type.class,
EntityDisplay.getColumn(Type.class),
Palette NPE
I try to use Palette, but always get a NPE when set the its selected
property.
I have already tried to override equals, hashCode, toString, but still have
this exception.
Anyone have any clue what I might be doing wrong? Thanks!
Caused by: java.lang.NullPointerException
at
or