Re: NullPointerException when using Palette

2011-05-26 Thread michael pe
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.

Re: NullPointerException when using Palette

2011-05-26 Thread michael pe
GenericSelectModel is initialised like this if (types == null) { types = new GenericSelectModel(typeManager.findAll(), //findAll() returns List Type.class, EntityDisplay.getColumn(Type.class),

NullPointerException when using Palette

2011-05-26 Thread michael pe
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