You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/11/20 21:41:57 UTC

DO NOT REPLY [Bug 24871] New: - jsp block functionality broken, running on resin 3.0.x

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24871>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24871

jsp block functionality broken, running on resin 3.0.x

           Summary: jsp block functionality broken, running on resin 3.0.x
           Product: Cocoon 2
           Version: 2.1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: robert@gslt.hum.gu.se


compiled and installed cocoon 2.1.2, running on the resin 3.0.4 application
server. everything seems to be working just fine, though when trying to run jsp
within cocoon i get a java null pointer exception. this bug was also confirmed
by joerg heinicki on the users@cocoon.apache.org mailing list, see emails
<16...@elfrida.gslt.hum.gu.se>, <3F...@virbus.de>,
and <16...@mozart.gslt.hum.gu.se>.

the error we get is

Original Exception: java.lang.NullPointerException
	at com.caucho.jsp.BufferedJspWriter.flushBuffer(BufferedJspWriter.java:424)
	at com.caucho.jsp.BufferedJspWriter.privateClose(BufferedJspWriter.java:372)
	at com.caucho.jsp.PageContextImpl.release(PageContextImpl.java:1014)
	at com.caucho.jsp.QJspFactory.freePageContext(QJspFactory.java:115)
	at _samples._jsp._welcome__jsp._jspService(_welcome__jsp.java:37)
	at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
	at com.caucho.jsp.QServlet.service(QServlet.java:164)
	at
org.apache.cocoon.components.jsp.JSPEngineImpl.executeJSP(JSPEngineImpl.java:122)
	at org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:114)

works every time :)