cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian May <...@snoopy.apana.org.au>
Subject C2: doesn't work for *my* webapp
Date Mon, 23 Oct 2000 10:04:38 GMT
Hello,

After upgrading from Tomcat 4.0M1 to Tomcat 4.0M3, I can now access
the sample webapp again. Excellent!

However, I can't seem to get my webapp working anymore.

I have a symlink from the tomcat webapps dir to my home directory,
copied are required files across (including jar files), set the
permissions correctly (at first I got an error that it couldn't access
.../error2html.xsl)

I thought everything should be OK, now, but I keep getting this error:

Error creating the resource
 details
 from
 source
         org.xml.sax.SAXException
 description
         java.lang.NullPointerException
 extra info
         java.lang.NullPointerException
                 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java, Compiled Code)
                 at org.apache.cocoon.components.parser.XercesParser.parse(XercesParser.java,
Compiled Code)
                 at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java,
Compiled Code)
                 at org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java,
Compiled Code)
                 at _homes._bam._public_html._sitemap_xmap.process(_sitemap_xmap.java, Compiled
Code)
                 at org.apache.cocoon.sitemap.Handler.process(Handler.java, Compiled Code)
                 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java, Compiled Code)
                 at org.apache.cocoon.Cocoon.process(Cocoon.java, Compiled Code)
                 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java, Compiled
Code)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
                 at org.apache.catalina.core.ApplicationFilterWrapper.doFilter(ApplicationFilterWrapper.java,
Compiled Code)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java,
Compiled Code)
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled
Code)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java,
Compiled Code)
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled
Code)
                 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java,
Compiled Code)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java,
Compiled Code)
                 at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java, Compiled
Code)
                 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java,
Compiled Code)
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled
Code)
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java,
Compiled Code)
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled
Code)
                 at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java,
Compiled Code)
                 at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java,
Compiled Code)
                 at java.lang.Thread.run(Thread.java, Compiled Code)




HTTP Status 500 - Internal Server Error

The server encountered an internal error (Internal Server Error) that prevented it from fulfilling
this request. 


redirection works fine, so my guess is that it has successfully
compiled my sitemap...

Any ideas? NullPointerException means nothing to me... Especially a
coming from Xerces. Perhaps it means it cannot decipher my XML files
(I doubt it, Xalan has no problems processing it), but why?
-- 
Brian May <bam@snoopy.apana.org.au>

Mime
View raw message