IllegalStateException...

"Jay Bose" <[email protected]>
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <[email protected]>
I am usign sitemesh, and on certain pages I get a blank page and the
exception below. 

The code that attempts to decorate "panel" for me is this:
<page:applyDecorator name="panel"
page="matchinvoice_headerinfo_entry_inc.jsp"/> 

I've already seen the refernces to the WL 6.1 forwardRequest bug. I am
using WL 8.1, so I doubt that's the issue. Any ideas? 

========================================================================
=====================
java.lang.IllegalStateException: Cannot call getWriter() after
getOutputStream()
        at
com.opensymphony.module.sitemesh.filter.PageResponseWrapper.getPageWrite
r(PageResponseWrapper.java:176)
        at
com.opensymphony.module.sitemesh.filter.PageResponseWrapper.getWriter(Pa
geResponseWrapper.java:166)
        at
weblogic.servlet.jsp.JspWriterImpl.makeWriter(JspWriterImpl.java:67)
        at
weblogic.servlet.jsp.JspWriterImpl.write(JspWriterImpl.java:441)
        at
jsp_servlet._jsp._docentry._matchinvoiceentry.__matchinvoice_headerinfo_
entry_inc._writeText(__matchinvoice_headerinfo_entry_inc.java:74)
        at
jsp_servlet._jsp._docentry._matchinvoiceentry.__matchinvoice_headerinfo_
entry_inc._jspService(__matchinvoice_headerinfo_entry_inc.java:273)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:1053)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:387)
        at
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
ava:46)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)
        at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatche
rImpl.java:597)
        at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatche
rImpl.java:409)
        at
com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag.doEndTag(
ApplyDecoratorTag.java:225)
        at
jsp_servlet._jsp._docentry._matchinvoiceentry.__match_invoice_entry_head
er._jspService(__match_invoice_entry_header.java:1143)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:1053)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:387)
        at
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
ava:46)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)
        at
weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(Reques
tDispatcherImpl.java:385)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:317)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
)
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche
rImpl.java:286)
        at
jsi.servlet.handler.DefaultResponseHandler.handleGet(DefaultResponseHand
ler.java:52)
        at
jsi.servlet.FrontControllerServlet.handlePost(FrontControllerServlet.jav
a:183)
        at
jsi.servlet.FrontControllerServlet.doPost(FrontControllerServlet.java:62
)
        at
com.notiva.cbo.buyer.web.CboControllerServlet.doPost(CboControllerServle
t.java:162)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at
jsi.servlet.FrontControllerServlet.service(FrontControllerServlet.java:4
31)
        at
com.notiva.cbo.buyer.web.CboControllerServlet.service(CboControllerServl
et.java:200)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:1053)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:387)
        at
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.
java:129)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
ava:61)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:6316)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:317)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3622)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2569)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
========================================================================
=====================



Jay Bose
[email protected]
O: (952) 767 - 8268
M: (952) 412 - 3251
Notiva, Clarity through Collaboration
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.