cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18003] New: - JSPReader & JSPGenerator
Date Fri, 14 Mar 2003 17:10:33 GMT
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=18003>.
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=18003

JSPReader & JSPGenerator

           Summary: JSPReader & JSPGenerator
           Product: Cocoon 2
           Version: 2.0.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: gilles.cheyrouze@voila.fr


I use cocoon 2.0.4 with tomcat 4.1.18.

JSP samples work perfectly for me
When I try reading JSP in my own project I have an exception:

    org.apache.cocoon.ProcessingException: Exception JspGenerator.generate(): 
java.lang.NullPointerException 
    Original exception : java.lang.NullPointerException 
    at java.util.Hashtable.put(Hashtable.java:386) 
    at java.util.Properties.setProperty(Properties.java:102) 
    at org.apache.jasper.EmbededServletOptions.setProperty
(EmbededServletOptions.java:177) 
    at org.apache.jasper.EmbededServletOptions.<init>
(EmbededServletOptions.java:294) 
    at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:129) 
    at org.apache.cocoon.components.jsp.JSPEngineImpl.executeJSP
(JSPEngineImpl.java:121) 
    at org.apache.cocoon.generation.JspGenerator.generate
(JspGenerator.java:120) 
    at org.apache.cocoon.components.pipeline.CachingEventPipeline.process
(CachingEventPipeline.java:250) 
    at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process
(CachingStreamPipeline.java:395) 
    at org.apache.cocoon.www.sitemap_xmap.matchN40020D(E:\Apache Group\Tomcat 
4.1\work\Standalone\localhost\Simcar\cocoon-    
files\org/apache/cocoon/www\sitemap_xmap.java:1679) 
    at org.apache.cocoon.www.sitemap_xmap.process(E:\Apache Group\Tomcat 4.1
\work\Standalone\localhost\Simcar\cocoon-
files\org/apache/cocoon/www\sitemap_xmap.java:1460) 
    at org.apache.cocoon.www.sitemap_xmap.process(E:\Apache Group\Tomcat 4.1
\work\Standalone\localhost\Simcar\cocoon-
files\org/apache/cocoon/www\sitemap_xmap.java:1394) 
    ...

In my web.xml, I have 

<context-param>
  <param-name>param</param-name>
  <param-value>3</param-value>
</context-param>


If you try adding a context-param in cocoon's web.xml, JSP don't work.

Mime
View raw message