Thanks!
Funnily enough the same exception also appeared when doing:
public String toString(){
if (value!=null && value.getName()!=null){
//return value.getName();
return "some value";
}
else {
return "blabla"; //getText();
}
}
-------- Original-Nachricht --------
> Datum: Sun, 25 Jan 2009 19:48:24 -0300
> Von: "Thiago H. de Paula Figueiredo" <[email protected]>
> An: "Tapestry users" <[email protected]>
> Betreff: Re: Weird Bug II
> Em Sun, 25 Jan 2009 18:37:25 -0300, Tobias Marx <[email protected]>
> escreveu:
>
> > Caused by: java.lang.NullPointerException
> > at java.lang.String.concat(String.java:1827)
> > at
> >
> tm.framework.entities.ConfigurationValue.toString(ConfigurationValue.java:45)
> > at java.lang.String.valueOf(String.java:2615)
>
> This seems to be the culprit here: your ConfigurationValue.toString()
> passing a null value to String.concat() and a NullPointerException is
> being thrown. This seems to be happening when Tapestry's ExceptionReport
> page tries to show the session attribute values. So that's why the error
> page is being served by Jetty, not by Tapestry: ExceptionReport throws an
> unhandled exception during its rendering. ;)
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]