Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004293 [Resin] minor always 11-15-10 08:35 01-12-11 16:53
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.15 Product Version 4.0.13
  Product Build
Summary 0004293: IllegalStateException forward() after commit
Description (rep by Dan Kelly)

[10-11-11 18:23:45.382] {http://192.168.16.165:443-485} [^] java.lang.IllegalStateException: forward() not allowed after buffer has committed.
                                                                at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:149)
                                                                at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:100)
                                                                at com.caucho.security.FormLogin.loginChallenge(FormLogin.java:363)
                                                                at com.caucho.security.AbstractLogin.login(AbstractLogin.java:314)
                                                                at com.caucho.server.security.FormLoginServlet.service(FormLoginServlet.java:69)
                                                                at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109)
                                                                at com.caucho.server.webapp.NamedDispatcherImpl.forward(NamedDispatcherImpl.java:179)
                                                                at com.caucho.server.dispatch.ForwardFilterChain.doFilter(ForwardFilterChain.java:88)
                                                                at com.caucho.server.security.SecurityFilterChain.doFilter(SecurityFilterChain.java:131)
                                                                at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
                                                                at com.caucho.server.cache.ProxyCacheFilterChain.doFilter(ProxyCacheFilterChain.java:160)
                                                                at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
                                                                at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:287)
                                                                at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:792)
                                                                at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:675)
                                                                at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:637)
                                                                at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:588)
                                                                at com.caucho.network.listen.TcpSocketLink$AcceptTask.doTask(TcpSocketLink.java:1175)
                                                                at com.caucho.network.listen.TcpSocketLink$ConnectionReadTask.runThread(TcpSocketLink.java:1108)
                                                                at com.caucho.network.listen.TcpSocketLink$AcceptTask.run(TcpSocketLink.java:1142)
                                                                at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:182)
                                                                at com.caucho.env.thread.ResinThread.run(ResinThread.java:126)
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004838)
ferg
11-15-10 08:38

[10-11-11 18:23:46.559] {http://192.168.16.165:443-581} [^] java.lang.IllegalStateException: getWriter() can't be called after getOutputStream().
                                                                at com.caucho.server.http.HttpServletResponseImpl.getWriter(HttpServletResponseImpl.java:175)
                                                                at com.caucho.server.webapp.ErrorPageManager.sendServletErrorImpl(ErrorPageManager.java:457)
                                                                at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:189)
                                                                at com.caucho.server.webapp.ErrorPageManager.sendServletErrorImpl(ErrorPageManager.java:326)
                                                                at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:189)
                                                                at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:185)
                                                                at com.caucho.server.cache.ProxyCacheFilterChain.doFilter(ProxyCacheFilterChain.java:160)
                                                                at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
                                                                at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:287)
                                                                at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:792)
                                                                at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:675)
                                                                at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:637)
                                                                at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:588)
                                                                at com.caucho.network.listen.TcpSocketLink$AcceptTask.doTask(TcpSocketLink.java:1175)
                                                                at com.caucho.network.listen.TcpSocketLink$ConnectionReadTask.runThread(TcpSocketLink.java:1108)
                                                                at com.caucho.network.listen.TcpSocketLink$AcceptTask.run(TcpSocketLink.java:1142)
                                                                at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:182)
                                                                at com.caucho.env.thread.ResinThread.run(ResinThread.java:126)
 
(0004839)
ferg
11-15-10 08:39

The IllegalStateException stack traces are below. We're using the form login method of authentication method with SSL. We extend AbstractAuthenticator as part of that.
 
(0004924)
ferg
01-12-11 16:53

server/1ab6
 

- Issue History
Date Modified Username Field Change
11-15-10 08:35 ferg New Issue
11-15-10 08:38 ferg Note Added: 0004838
11-15-10 08:39 ferg Note Added: 0004839
01-12-11 16:53 ferg Note Added: 0004924
01-12-11 16:53 ferg Assigned To  => ferg
01-12-11 16:53 ferg Status new => closed
01-12-11 16:53 ferg Resolution open => fixed
01-12-11 16:53 ferg Fixed in Version  => 4.0.15


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