Too much information in stack traces?

Andrew Haley aph@redhat.com
Wed Oct 2 10:40:00 GMT 2002


Anthony Green writes:
 > While running a fully compiled Tomcat with jsp is extremely cool -
 > there's one thing that's been bugging me.  Any time there's an exception
 > in the servlet or jsp, Tomcat displays a page with a nice html version
 > of the stack trace.  It's fun to see the gcj stack traces there -- but
 > I'm wondering if we're exposing too much information.
 > 
 > The stack traces include PC addresses.

Your gcj is out of date.  I get:

Exception in thread "main" java.lang.NullPointerException
   at Foo.main(java.lang.String[]) (/cuddles/aph/home/foo.java:15)

Andrew.



More information about the Java mailing list