Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004874 [Resin] minor always 11-25-11 02:29 11-28-11 11:44
Reporter mate View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.23
Summary 0004874: javax.servlet.error.exception_type invalidly cast to Throwable in PageContextImpl
Description In com.caucho.jsp.PageContextImpl.getThrowable() the "javax.servlet.error.exception_type" attribute of the request is cast to a java.lang.Throwable even though the specification says it should be a java.lang.Class
Additional Information This will cause problems getting error data out of the request, such as <c:out value="${pageContext.errorData.throwable.localizedMessage}" />
Attached Files

- Relationships

- Notes
(0005626)
mate
11-25-11 02:39

I suppose line 947 should simply be changed from
  exn = (Throwable) getCauchoRequest().getAttribute(RequestDispatcher.ERROR_EXCEPTION_TYPE);
to
  exn = (Throwable) getCauchoRequest().getAttribute(RequestDispatcher.ERROR_EXCEPTION);
 
(0005631)
ferg
11-28-11 11:44

jsp/315p
 

- Issue History
Date Modified Username Field Change
11-25-11 02:29 mate New Issue
11-25-11 02:37 mate Issue Monitored: mate
11-25-11 02:39 mate Note Added: 0005626
11-28-11 11:44 ferg Note Added: 0005631
11-28-11 11:44 ferg Assigned To  => ferg
11-28-11 11:44 ferg Status new => closed
11-28-11 11:44 ferg Resolution open => fixed
11-28-11 11:44 ferg Fixed in Version  => 4.0.25


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker