org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate() at [TransformerException] - cocoon://fop_post/xsl:148:58 at <map:serialize type="xml"> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/fop_post/sitemap.xmap:10:32 at <map:generate type="stream"> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/fop_post/sitemap.xmap:6:33 at <map:serialize type="fo2pdf"> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/fop_post/sitemap.xmap:38:37 at <map:transform> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/fop_post/sitemap.xmap:31:39 at <map:generate> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/fop_post/sitemap.xmap:30:38 at <map:mount> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/sitemap.xmap:1034:92

Oracle Community | 538097 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Problems with PDF printing, using Apache FOP!

    Oracle Community | 1 decade ago | 538097
    org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate() at [TransformerException] - cocoon://fop_post/xsl:148:58 at <map:serialize type="xml"> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/fop_post/sitemap.xmap:10:32 at <map:generate type="stream"> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/fop_post/sitemap.xmap:6:33 at <map:serialize type="fo2pdf"> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/fop_post/sitemap.xmap:38:37 at <map:transform> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/fop_post/sitemap.xmap:31:39 at <map:generate> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/fop_post/sitemap.xmap:30:38 at <map:mount> - file:/E:/APEX_FOP/apache-tomcat-6.0.13/webapps/cocoon/sitemap.xmap:1034:92
  2. 0

    users-servicemix.apache.org - TransformerException: Source object passed to ''{0}'' has no contents. - msg#00273 - Recent Discussion OSDir.com

    osdir.com | 12 months ago
    javax.xml.transform.TransformerException: Source object passed to ''{0}'' has no contents. at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:756) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:349) at org.apache.servicemix.cxf.transport.nmr.NMRMessageHelper.convertMessageToInputStream(NMRMessageHelper.java:51) at org.apache.servicemix.cxf.transport.nmr.NMRDestination.process(NMRDestination.java:113) at org.apache.servicemix.nmr.core.InternalEndpointWrapper.process(InternalEndpointWrapper.java:86) at org.apache.servicemix.nmr.core.ChannelImpl.process(ChannelImpl.java:255) at org.apache.servicemix.nmr.core.ChannelImpl$1.run(ChannelImpl.java:215) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  3. 0

    [xml-dev] calling java function from xsl throws NullPointerException

    xml.org | 2 years ago
    javax.xml.transform.TransformerException: TRaX Transform Throwable at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j ava:1175) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2811) at java.lang.Thread.run(Thread.java:484) --------- java.lang.NullPointerException at org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:252) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2083) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java: 711) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2083) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java: 711) at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja va:495) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav a:193) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2083) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java: 711) at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja va:495) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav a:193) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2083) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java: 711) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2083) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java: 711) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2083) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer Impl.java:1981) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j ava:1151) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2811)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: POJO services using Serializable objects as messages

    apache.org | 2 years ago
    javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.servicemix.jms.endpoints.JmsProviderEndpoint$1.createMessage(JmsProviderEndpoint.java:358) at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:507) at org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:487) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:428) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:484) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:470) at org.apache.servicemix.jms.endpoints.JmsProviderEndpoint.processInOnly(JmsProviderEndpoint.java:371) at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:100) at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538) at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490) at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46) at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610) at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172) at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167) at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

    Root Cause Analysis

    1. javax.xml.transform.TransformerException

      attribute-set named #TEXT_ALIGN# does not exist

      at org.apache.xalan.templates.ElemUse.applyAttrSets()
    2. Xalan Java
      TransformerHandlerImpl.endDocument
      1. org.apache.xalan.templates.ElemUse.applyAttrSets(ElemUse.java:168)
      2. org.apache.xalan.templates.ElemUse.execute(ElemUse.java:198)
      3. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1338)
      4. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      5. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      6. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      7. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      8. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      9. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      10. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      11. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      12. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      13. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      14. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      15. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      16. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      17. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      18. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      19. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      20. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      21. org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281)
      22. org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367)
      23. org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458)
      24. org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
      24 frames
    3. org.apache.cocoon
      EnvironmentChanger.endDocument
      1. org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56)
      2. org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586)
      3. org.apache.cocoon.components.EnvironmentChanger.endDocument(EnvironmentStack.java:119)
      3 frames
    4. Xerces2-j
      SAXParserImpl$JAXPSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
      2. org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
      3. org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
      4. org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
      5. org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
      6. org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
      7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      8. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      9. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      10. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      11. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      12. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      12 frames
    5. org.apache.excalibur
      JaxpParser.parse
      1. org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315)
      2. org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:334)
      2 frames
    6. org.apache.cocoon
      CocoonServlet.service
      1. org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:154)
      2. org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
      3. org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:279)
      4. org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
      5. org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:413)
      6. org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101)
      7. org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321)
      8. org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:116)
      9. org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:572)
      10. org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:279)
      11. org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
      12. org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:121)
      13. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      14. org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
      15. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      16. org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      17. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      18. org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      19. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      20. org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      21. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
      22. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
      23. org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:253)
      24. org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
      25. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      26. org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      27. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      28. org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      29. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      30. org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      31. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
      32. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
      33. org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:253)
      34. org.apache.cocoon.Cocoon.process(Cocoon.java:699)
      35. org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
      35 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
      8 frames
    9. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame