Sylvain Wallez wrote:
Carsten Ziegeler wrote:
If you log an exception, the real cause for the exception is not logged
anymore. For example, I have a problem for example in a portlet where an
NPE is thrown. THis is later catched several times, the new location
information is added and then finally logged. The logged exception
containes the location information, but the NPE got somehow lost.
Any idea how to fix this?
I encountered the same yesterday on one of our portal applications,
where only the TransformerException raised by the portal stylesheet
was reported. I'll fix this ASAP.
Fixed. Please cross-check.
There's still an issue with SAXException which doesn't seem to print its
cause stacktrace, even with JDK 1.4. I'm currently working on it.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://people.apache.org/~sylvain http://www.anyware-tech.com
Apache Software Foundation Member Research & Technology Director