Hi!

Just to wrap this up in case someone needs the information later:

After some time, I got the idea to override the default exception reporter
page with my own, and copy the T5 default code into my new exception
reporter. Then I started removing parts from it until it stopped crashing.
It turned out that it was the rendering of "request" that crashed. I don't
have the time to find out excatly what did it, and I don't really need to
either. We primarily need the exception report, we rarely use the session,
request and system property dump so I just removed them all.

It's a big win for us just to have the exception report back on track!

Feedback to the list: A hint about the above approach would have been
extremely useful. I definitely should have thought about that a long time
ago myself...

Thanks anyway :)

Inge


On Thu, Mar 4, 2010 at 9:39 AM, Inge Solvoll <inge.tapes...@gmail.com>wrote:

> I've been wondering about that myself :)
>
> It's probably something related to the fact that I've got Struts 1, T4 and
> T5 running together.
>
> So what you're saying is that I've probably put something in the session
> that has a bad toString(). I guess that's why it often works a few times
> before it crashes...
>
>
> On Wed, Mar 3, 2010 at 9:34 PM, Thiago H. de Paula Figueiredo <
> thiag...@gmail.com> wrote:
>
>> Tapestry 5.1 error page fails when something in the session has a
>> toString() or a getter method that throws some exception when invoked.
>>
>>
>>  Caused by: java.lang.NullPointerException
>>> at
>>> org.apache.jasper.compiler.TagLibraryInfoImpl.toString(TagLibraryInfoImpl.java:127)
>>>
>>
>> Why would a JSP compiler appear in the middle of your Tapestry stack
>> trace?
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
>> and instructor
>> Owner, software architect and developer, Ars Machina Tecnologia da
>> Informação Ltda.
>> http://www.arsmachina.com.br
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

Reply via email to