Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. TiredOldDev

    Jasper Exception

    Oh yes, I should add I did find the error (this time). I forgot to put an object into the request attributes which the JSP was expecting. So when I tried to use the object, instant NullPointerException. But it would have been nice to know the line number.....
  2. TiredOldDev

    Jasper Exception

    Sigh. Yes MVC is nice and all, but I hate a lot of code mixed with HTML. So I use a servlet and JSP mix. And as for the stack trace, that IS what I get: StackTraceElement[] trace = fatal.getStackTrace(); which is what myException.printStackTrace(System.err); does. The trace gets put into a...
  3. TiredOldDev

    Jasper Exception

    More than just the NullPointerException, though i do not even get that. The code I use (in an all-encompassing try block): catch (Exception fatal) { // if we are here, then something somewhere has seriously failed StackTraceElement[] trace = fatal.getStackTrace(); for (int i = 0; i <...
  4. TiredOldDev

    Jasper Exception

    Ok, I get this error quite a bit. It is not really helpful. In most cases a null reference is being used. However the error msg does not tell me WHERE the error occured. I can locate the working Tomcat .class and .java files for the JSP easily enough. Is there a way to get Tomcat to report at...

Part and Inventory Search

Back
Top