Changeset 6767


Ignore:
Timestamp:
Mar 10, 2015, 8:23:57 AM (7 years ago)
Author:
Nicklas Nordborg
Message:

References #1927: Test BASE with Tomcat 8

JSP compilation error result in a JasperException without any root cause. Need to check for null before replacing the exception or the error page will just be empty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/exception/exception.jsp

    r6766 r6767  
    6161  {
    6262    org.apache.jasper.JasperException jex = (org.apache.jasper.JasperException)ex;
    63     ex = jex.getRootCause();
     63    if (jex.getRootCause() != null) ex = jex.getRootCause();
    6464  }
    6565 
Note: See TracChangeset for help on using the changeset viewer.