Bug 36100

Summary: ClassCastException in JSTL1.1
Product: Taglibs Reporter: zen <hellomrsenthil>
Component: Page TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED INVALID    
Severity: critical    
Priority: P2    
Version: 1.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   

Description zen 2005-08-09 14:22:08 UTC
java.lang.ClassCastException: [Ljavax.servlet.jsp.tagext.Tag;
	at org.apache.catalina.core.ApplicationHttpResponse.addDateHeader
(Ljava.lang.String;J)V(ApplicationHttpResponse.java:200)
	at org.apache.jsp.jsp.console.universal.spView_jsp._jspx_meth_c_set_0
(Ljavax.servlet.jsp.PageContext;)Z(spView_jsp.java:373)
	at org.apache.jsp.jsp.console.universal.spView_jsp._jspService
(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;
)V(spView_jsp.java:90)
	at org.apache.jasper.runtime.HttpJspBase.service
(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;
)V(HttpJspBase.java:94)
	at javax.servlet.http.HttpServlet.service
(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V
(HttpServlet.java:810)
	at org.apache.jasper.servlet.JspServletWrapper.service
(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;
Z)V(JspServletWrapper.java:324)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile
(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;
Ljava.lang.String;Ljava.lang.Throwable;Z)V(JspServlet.java:292)
	at org.apache.jasper.servlet.JspServlet.service
(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;
)V(JspServlet.java:236)
	at javax.servlet.http.HttpServlet.service
(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V
(HttpServlet.java:810)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V
(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V
(ApplicationFilterChain.java:173)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.Fil
terChain;)V(ReplyHeaderFilter.java:75)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V
(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V
(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;Lorg.apache.catalina
.ValveContext;)V(StandardWrapperValve.java:214)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;)V
(StandardValveContext.java:104)
	at org.apache.catalina.core.StandardPipeline.invoke
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;)V
(StandardPipeline.java:520)
	at org.apache.catalina.core.StandardContextValve.invokeInternal
(Lorg.apache.catalina.Wrapper;Lorg.apache.catalina.Request;Lorg.apache.catalina.
Response;)V(StandardContextValve.java:198)
	at org.apache.catalina.core.StandardContextValve.invoke
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;Lorg.apache.catalina
.ValveContext;)V(StandardContextValve.java:152)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;)V
(StandardValveContext.java:104)
	at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;Lorg.apache.catalina
.ValveContext;)V(CustomPrincipalValve.java:66)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;)V
(StandardValveContext.java:102)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;Lorg.apache.catalina
.ValveContext;)V(SecurityAssociationValve.java:162)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;)V
(StandardValveContext.java:102)
	at org.apache.catalina.core.StandardPipeline.invoke
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;)V
(StandardPipeline.java:520)
	at org.apache.catalina.core.StandardHostValve.invoke
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;Lorg.apache.catalina
.ValveContext;)V(StandardHostValve.java:137)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;)V
(StandardValveContext.java:104)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;Lorg.apache.catalina
.ValveContext;)V(ErrorReportValve.java:118)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;)V
(StandardValveContext.java:102)
	at org.apache.catalina.core.StandardPipeline.invoke
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;)V
(StandardPipeline.java:520)
	at org.apache.catalina.core.StandardEngineValve.invoke
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;Lorg.apache.catalina
.ValveContext;)V(StandardEngineValve.java:109)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(Lorg.apache.catalina.Request;Lorg.apache.catalina.Response;)V
(StandardValveContext.java:104)
Comment 1 Martin Cooper 2005-08-09 18:45:20 UTC
There is nothing in the stack trace that has anything to do with Jakarta Taglibs
or JSTL.
Comment 2 zen 2005-08-09 18:48:33 UTC
but i am getting exception at 
org.apache.catalina.core.ApplicationHttpResponse.addDateHeader

what is the necessary to call addDateHeader here, who's calling that method !?
Comment 3 Martin Cooper 2005-08-09 18:59:01 UTC
The org.apache.catalina package is part of Tomcat, and has nothing to do with
Jakarta Taglibs. I'm not a Tomcat developer, so I don't know what's calling the
addDateHeader method, but I would guess that the method is adding an HTTP header
to the response. Again, that has nothing at all to do with Jakarta Taglibs.

I would recommend that you first search the archives for the Tomcat User mailing
list. If you don't find an answer there, post a message to that mailing list.
Please do not simply file another bug report with nothing more than a stack trace.