The person.name check getPerson().setName() , getName(). If the person is
null you will get a nullpointer.

If you do get( 0 ) on a list and the null doens't exists then you will get a
IndexOutOfBoundException. Just try with a normal list and an object.

The list is probably initialized like with hibernate you will get an empty
list. But doens't contains any elements.
-- 
View this message in context: 
http://www.nabble.com/IndexOutOfBoundException-and-PropertyModel-tp17315359p17316645.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to