Re: NPE in Tree when I dont have any data

2013-03-01 Thread bhorvat
and double check my findings? Cheers and thanks everyone for help. -- View this message in context: http://tapestry.1045711.n5.nabble.com/NPE-in-Tree-when-I-dont-have-any-data-tp5720289p5720308.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: NPE in Tree when I dont have any data

2013-03-01 Thread bhorvat
public String getId() { return "assets"; } } -- View this message in context: http://tapestry.1045711.n5.nabble.com/NPE-in-Tree-when-I-dont-have-any-data-tp5720289p5720306.html Sent from the Tapestry - User mail

Re: NPE in Tree when I dont have any data

2013-03-01 Thread bhorvat
estry.1045711.n5.nabble.com/NPE-in-Tree-when-I-dont-have-any-data-tp5720289p5720305.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For addit

Re: NPE in Tree when I dont have any data

2013-03-01 Thread Geoff Callender
irst > constructor because this will create a list with 1 null element in it (which > is probably causing your NPE). Instead, pass Collections.emptyList() (or > possibly null) to the second constructor. > > > > -- > View this message in context: > http://tapestry.

Re: NPE in Tree when I dont have any data

2013-03-01 Thread Lance Java
.nabble.com/NPE-in-Tree-when-I-dont-have-any-data-tp5720289p5720296.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands,

Re: NPE in Tree when I dont have any data

2013-03-01 Thread Lance Java
Can you post your TreeModel? Are you returning null from getRootNodes()? If so, I suggest returning an empty list instead. -- View this message in context: http://tapestry.1045711.n5.nabble.com/NPE-in-Tree-when-I-dont-have-any-data-tp5720289p5720295.html Sent from the Tapestry - User mailing

NPE in Tree when I dont have any data

2013-02-28 Thread bhorvat
jira for this? -- View this message in context: http://tapestry.1045711.n5.nabble.com/NPE-in-Tree-when-I-dont-have-any-data-tp5720289.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e