Found the cause of this issue - after a painful search... :) It was my mistake.
For anyone running into the same issue with NullPointerException and Palette component, if you want to use the Palette component with objects (e.g. list of domain objects returned from a database) remember to implement equals and hashCode properly. The issue also was not related to the server-side validators in any way. It simply occurs when the page containing the Palette component needs to render itself after processing a server-side event. So if such an event (e.g. onSuccess) returns another page instance (effectively resulting in a redirect after processing the event) no problems will occur. But if it returns null, and at the same time some items are on the selected side within the Palette, the NullPointerException will be thrown. Rado -- View this message in context: http://www.nabble.com/T5.1%3A-Palette-causing-a-NPE-upon-form-submit-tp23996561p24061989.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org