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
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
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
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.
.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,
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
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