leedaekyu / kaptcha

Automatically exported from code.google.com/p/kaptcha
Other
0 stars 0 forks source link

java.lang.IllegalStateException: getWriter() has already been called for this response #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I am seeing this in the logs. Any help is appreciated. We use kaptcha2.3.jar

2012-03-01 14:49:11,072 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[Kaptcha]] 
(http-0.0.0.0-8010-10) Servlet.service() for servlet Kaptcha threw exception
java.lang.IllegalStateException: getWriter() has already been called for this 
response
at org.apache.catalina.connector.Response.getOutputStream(Response.java:588)
at 
org.apache.catalina.connector.ResponseFacade.getOutputStream(ResponseFacade.java
:183)
at 
javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java
:102)
at 
javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java
:102)
at com.google.code.kaptcha.servlet.KaptchaServlet.doGet(KaptchaServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
at 
org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter.doFilter(StrutsExecu
teFilter.java:85)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
at 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.doFilter(StrutsPrepa
reFilter.java:82)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:235)

Original issue reported on code.google.com by rnduser...@gmail.com on 23 Mar 2012 at 7:15

GoogleCodeExporter commented 8 years ago
2.3 was released in 2008. Try upgrading?

Original comment by latch...@gmail.com on 23 Mar 2012 at 7:18