Probably not related to your problem, but I was seeing an NPE from the exact
same line of code when passing the palette a Set (instead of a List).

-james

On Wed, Dec 3, 2008 at 11:27 AM, zack1403 <[EMAIL PROTECTED]> wrote:

>
> Ive overridden both equals and hashCode (neither were overridden before)
> and
> have been waiting for the issue to reproduce.  It is very intermittent and
> a
> simple f5 makes it go away which is frustrating.  I also am trying using
> GenericSelectModel as the encoder and model which might make the issue go
> away.  Ill follow up if that fixes it.  Thanks!
>
> Zack
>
>
> Nicolas Charles wrote:
> >
> > I just had this issue; it was because the object overrided the "equals"
> > method, but not "hashCode", hence the selected object couldn't be found
> > in the selected set.
> >
> > Nick
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/-T5--Palette-NPE-tp20652729p20819782.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
James A. Hillyerd <[EMAIL PROTECTED]>

Reply via email to