cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conny Krappatsch <>
Subject NullpointerException on C2 startup
Date Wed, 27 Sep 2000 12:40:24 GMT

I tried to install C2 on Catalina (jakarta-tomcat-4.0-m1) following stefanos
installation guidelines ;-) :
> The "right way" of installing C2 on catalina should be
> ./ -Dinstall.war=../build/tomcat-4.0/webapps
> --Dinclude.webapp.libs=yes install
> and that's it, you don't have to do anything else.
(BTW, documentation suggests something completely different, maybe it's better
to remove this than providing wrong information.)

That seemed to work so far. Catalina works, too.
But if I try to acces C2 ('.../cocoon/welcome') I get a C2 error screen with
the following informations:

type: internal-server-error
message: null
description: java.lang.NullPointerException
sender: org.apache.cocoon.servlet.CocoonServlet
source: Cocoon servlet
        at org.apache.cocoon.sitemap.SitemapHandler.process(
        at org.apache.cocoon.sitemap.SitemapManager.invoke(
        at org.apache.cocoon.Cocoon.process(
        at org.apache.cocoon.servlet.CocoonServlet.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.catalina.core.ApplicationFilterWrapper.doFilter(
        at org.apache.catalina.core.StandardWrapperValve.invoke(
        at org.apache.catalina.core.ContainerBase.invoke(
        at org.apache.catalina.core.StandardContextValve.invoke(
        at org.apache.catalina.core.ContainerBase.invoke(
        at org.apache.catalina.core.StandardContext.invoke(
        at org.apache.catalina.core.StandardHostValve.invoke(
        at org.apache.catalina.valves.ValveBase.invokeNext(
        at org.apache.catalina.valves.AccessLogValve.invoke(
        at org.apache.catalina.core.ContainerBase.invoke(
        at org.apache.catalina.core.StandardEngineValve.invoke(
        at org.apache.catalina.core.ContainerBase.invoke(
        at org.apache.catalina.connector.http.HttpProcessor.process(

I could track down the exception and it results from a previuosly occured

java.lang.LinkageError: Class org/xml/sax/Attributes violates loader

in _sitemap_xmap.class. The code which causes the error is:
confBuilder.startElement ("", "file", "file", attr);

I tried to shuffe some jar packages (catalina comes with xerces +
jaxp + parsers while cocoon's xerces includes all), but without success.

Any further suggestions that could help me getting C2 running.


Conny Krappatsch                   
SMB GmbH                             

View raw message