cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <cromo...@gmx.net>
Subject Re: [BUG?] jx:import doesn't work in JXTemplateTransformer
Date Wed, 31 Mar 2004 06:19:51 GMT

Hello Oliver;

the stacktrace:

Original Exception: java.lang.NullPointerException
    at 
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:290)
    at 
org.apache.cocoon.generation.JXTemplateGenerator.execute(JXTemplateGenerator.java:3856) 

    at 
org.apache.cocoon.generation.JXTemplateGenerator.performGeneration(JXTemplateGenerator.java:2957)


    at 
org.apache.cocoon.generation.JXTemplateGenerator$TransformerAdapter$TemplateConsumer.endDocument(JXTemplateGenerator.java:2731)


    at 
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
    at 
org.apache.cocoon.components.sax.XMLTeePipe.endDocument(XMLTeePipe.java:102) 

    at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown 
Source)
    at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown 
Source)
    at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
    at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
    at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
    at 
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown 
Source)
    at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318)
    at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:337)
    at 
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:284)
    at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:141)
    at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:272)


    at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:525)


    at 
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:155)


    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)


    at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)


    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)


    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:162)


    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)


    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:136)


    at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:371) 

    at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.handleCocoonRedirect(TreeProcessor.java:416)


    at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.access$000(TreeProcessor.java:101)


    at 
org.apache.cocoon.components.treeprocessor.TreeProcessor$TreeProcessorRedirector.cocoonRedirect(TreeProcessor.java:577)


    at 
org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:93) 

    at 
org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode.invoke(RedirectToURINode.java:104)


    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)


    at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)


    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)


    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:162)


    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)


    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:136)


    at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:371) 

    at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:312) 

    at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:133) 

    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)


    at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)


    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)


    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:162)


    at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)


    at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:136)


    at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:371) 

    at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:312) 

    at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
    at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1112)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)


    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)


    at 
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:305) 

    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)


    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)


    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257) 

    at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) 

    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
    at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)


    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) 

    at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) 

    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184) 

    at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) 

    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) 

    at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) 

    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156) 

    at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) 

    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
    at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
    at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
    at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
    at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)


    at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
    at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688) 

    at java.lang.Thread.run(Thread.java:534

Mime
View raw message