cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Víctor Pergolesi <victorpergol...@codimat.com.ar>
Subject Re: Unknown request object encountered named template : null
Date Mon, 18 May 2009 16:10:38 GMT
Hi Rover:

I had similar problems when the pdf is bigger.

I minimize them working in the xsl(fo). Sometimes modifying the sentences in the xsl the processing
and the demand of memory change.

I proved compile the xsl too, but the result is similar. 

The problem is in memory when the document is very big.


Victor Pergolesi
Codimat S.A.
Área Sistemas
Web: www.codimat.com.ar
Tel.: (0291) 459-2480 | 459-2424
Fax: (0291) 459-2400 | 0-800-666-42266
Don Bosco 1495 - B8003CAA Bahía Blanca - Argentina
  _____  

From: Rover Rock [mailto:rockrover@gmail.com]
To: users@cocoon.apache.org
Sent: Sun, 17 May 2009 19:35:25 -0300
Subject: Unknown request object encountered named template : null

Hi All!

I use Oracle Application Express with Apache+Tomcat+Cocoon (APEX_FOP) to print document in
PDF format.
It is working.
But, if i use a big select which has a big report i get an error message. (it is displayed
below).
  This problem is very strange. Because if i reduce the result sets (rownum<3000) of the
report it works until 525 pages PDF document. For the full results it does not work.

Can u help me? How can I solve it?

  Versions:
Operating system: Windows XP SP3
Oracle Database: 10.2.0.4
Oracle Application Express: 3.2
Apache Tomcat: 6.0.18
Cocoon: 2.1.1

thank you.

The error message:
An error has occured
  org.apache.cocoon.ProcessingException: Unknown request object encountered named template
: null
Cocoon stacktrace[hide] 
Exception in StreamGenerator.generate() 
file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap
- 17:32    <map:serialize type="xml">
  file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap
- 13:33    <map:generate type="stream">

Unable to get transformer handler for cocoon://fop_post/xsl 
  file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap
- 38:37    <map:serialize type="fo2pdf">
file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap
- 31:39    <map:transform>
  file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap
- 30:38    <map:generate>
file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/sitemap.xmap
- 1034:92    <map:mount>
  
Java stacktrace[hide] 
org.apache.cocoon.ProcessingException: Unknown request object encountered named template :
null
    at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:122)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
      at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
    at org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:306)
    at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:241)
      at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
    at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:453)
      at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
      at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
      at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)
Java full stacktrace[hide] 
org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://fop_post/xsl
    at <map:serialize type="fo2pdf"> - file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap:38:37
      at <map:transform> - file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap:31:39
    at <map:generate> - file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap:30:38
      at <map:mount> - file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/sitemap.xmap:1034:92
    at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:339)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:453)
    at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
      at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
      at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception when creating Transformer
from cocoon://fop_post/xsl
    at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:300)
      at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
    ... 41 more
Caused by: org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate()
    at <map:serialize type="xml"> - file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap:17:32
      at <map:generate type="stream"> - file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap:13:33
    at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:424)
      at org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:306)
    at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:241)
    ... 42 more
  Caused by: org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate()
    at <map:serialize type="xml"> - file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap:17:32
      at <map:generate type="stream"> - file:///E:/oracle/product/10.2.0/apex/Fop/apache-tomcat-6.0.18/webapps/cocoon/fop_post/sitemap.xmap:13:33
    at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:163)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
    at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
    at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
    ... 44 more
  Caused by: org.apache.cocoon.ProcessingException: Unknown request object encountered named
template : null
    at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:122)
    ... 48 more
The Apache Cocoon Project 
  


    


Este mensaje y sus adjuntos contienen información confidencial y son para uso exclusivo del
destinatario. Si hubiese recibido este mensaje por error, o contuviera información que Ud.
no desea recibir, por favor le agradecemos nos lo haga saber y lo elimine de su sistema. Cualquier
inconveniente, enviarlo a librodequejas@codimat.com.ar.
Este correo ha sido chequeado por el servidor de Codimat S.A. www.codimat.com.ar

Mime
View raw message