hi,
hope anybody can help me, the Sun JSP ref-impl 1.0.1 throws a strange
NPE at me in code it generated.
} catch (Throwable t) {
if (out.getBufferSize() != 0)
out.clear();
throw new JspException("Unknown exception: ", t);
} finally {
>> out.flush();
_jspxFactory.releasePageContext(pageContext);
}
The NPE is thrown in the out.flush() which is generated by the engine,
probably out is NULL. I think the first exception was raised before
out got initialized, probably another one was thrown when it reached
the catch-block and finally (sic!) it threw the last exception which
I got displayed. Any idea how I could get to see the original
exception??
BTW: is anybody from SUN listening? How about checking if out is NULL,
if so, print the exception to stdout or stderr.
tia
matthias
--
_____________________________________________________________________
Matthias Schoger
Software Engineer
Higher-Order Informations- und Kommunikationssysteme GmbH
Burchardstrasse 19, 20095 Hamburg, Germany
fon: +49 (40) 325587-17
fax: +49 (40) 325587-99
email: [EMAIL PROTECTED]
_____________________________________________________________________
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html