cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject [c2] runtime error with latest cocoon
Date Sat, 14 Apr 2001 20:42:20 GMT
when running the latest c2 with my own c2 site, i get the 'Resource not
found' error message when i request a url from the sitemap. poking through
the cocoon.log file, i note that it finds the proper pipeline, but runs
into this exception:

DEBUG   52156   [cocoon  ] (HttpProcessor[8080][3]): Error processing
pipeline
org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:java.lang.Nul
lPointerException
        at
org.apache.cocoon.components.pipeline.NonCachingStreamPipeline.proces
s(NonCachingStreamPipeline.java:149)
        at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:726)
        at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:629)

the relevant section of the sitemap is:

        if (!internalRequest) {
          boolean result = false;

          try {
            result = pipeline.process(environment);
          } catch (Exception pipelineExceptionN102) {
            getLogger().debug("Error processing pipeline",
                              pipelineExceptionN102);
            throw pipelineExceptionN102;
          }

the underlying exception seems to be:

java.lang.NullPointerException
        at
org.apache.cocoon.transformation.TraxTransformer.setConsumer(TraxTran
sformer.java:306)
        at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.connectPi
peline(AbstractEventPipeline.java:191)

and then i get a similar error when it reverts to the error page:

DEBUG   52174   [cocoon  ] (HttpProcessor[8080][3]): Component
transformer:xslt(
 emptyParam )
DEBUG   52174   [cocoon  ] (HttpProcessor[8080][3]):
Source=style/error2html.xsl
DEBUG   52174   [cocoon  ] (HttpProcessor[8080][3]): Component
serializer:html(
emptyParam  )
DEBUG   52226   [cocoon  ] (HttpProcessor[8080][3]): Error processing
pipeline
org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:java.lang.Nul
lPointerException
        at
org.apache.cocoon.components.pipeline.NonCachingStreamPipeline.proces
s(NonCachingStreamPipeline.java:149)
        at
org.apache.cocoon.www.sitemap_xmap.error_process_1(sitemap_xmap.java:
843)

underlying exception in this case being:

java.lang.NullPointerException
        at
org.apache.cocoon.transformation.TraxTransformer.setConsumer(TraxTran
sformer.java:306)
        at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.connectPi
peline(AbstractEventPipeline.java:205)

bummer.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message