Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1094

SEVERE FOP Exceptions should be thrown!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 0.20.5
    • None
    • renderer/svg
    • None
    • Operating System: Windows 2000
      Platform: Other
    • 37505

    Description

      I trace a bug because I saw the following exception in my log file. After
      inspecting my code, I noticed that this is just a log entry probably written by
      FOP/Batik ... the exception itself wasn't thrown further to my calling
      application. At least for the new FOP 1.0 version, such exceptions shouldn't be
      swalled by FOP - a SEVERE problem should always result in an Exception for the
      calling application.

      2005-11-15 10:14:35.277 SEVERE Thread-227: svg graphic could not be built:
      file:/c:/temp/TJ9VV4pz1+FP0cz0bG6gDtdoar7QLGq0bTMTGOQ5bd4=/Perf.svg:28
      The attribute 'transform' of the element <path> is invalid
      org.apache.batik.bridge.BridgeException:
      file:/c:/temp/TJ9VV4pz1+FP0cz0bG6gDtdoar7QLGq0bTMTGOQ5bd4=/Perf.svg:28
      The attribute 'transform' of the element <path> is invalid
      at
      org.apache.batik.bridge.SVGUtilities.convertTransform(SVGUtilities.java:852)
      at
      org.apache.batik.bridge.AbstractGraphicsNodeBridge.createGraphicsNode
      (AbstractGraphicsNodeBridge.java:92)
      at
      org.apache.batik.bridge.SVGShapeElementBridge.createGraphicsNode
      (SVGShapeElementBridge.java:50)
      at
      org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:182)
      at
      org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:148)
      at
      org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:188)
      at
      org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:148)
      at
      org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:188)
      at
      org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:148)
      at
      org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:120)
      at
      org.apache.batik.bridge.SVGImageElementBridge.createSVGImageNode
      (SVGImageElementBridge.java:328)
      at
      org.apache.batik.bridge.SVGImageElementBridge.createGraphicsNode
      (SVGImageElementBridge.java:118)
      at
      org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:182)
      at
      org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:148)
      at
      org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:76)
      at
      org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:590)
      at
      org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:549)
      at org.apache.fop.svg.SVGArea.render
      (SVGArea.java:98)
      at
      org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea
      (PDFRenderer.java:533)
      at
      org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectArea.java:89)
      at
      org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:516)
      at org.apache.fop.layout.LineArea.render
      (LineArea.java:519)
      at
      org.apache.fop.render.AbstractRenderer.renderBlockArea
      (AbstractRenderer.java:485)
      at
      org.apache.fop.layout.BlockArea.render(BlockArea.java:117)
      at
      org.apache.fop.render.AbstractRenderer.renderBlockArea
      (AbstractRenderer.java:485)
      at
      org.apache.fop.layout.BlockArea.render(BlockArea.java:117)
      at
      org.apache.fop.render.AbstractRenderer.renderAreaContainer
      (AbstractRenderer.java:451)
      at
      org.apache.fop.layout.AreaContainer.render(AreaContainer.java:88)
      at
      org.apache.fop.render.AbstractRenderer.renderAreaContainer
      (AbstractRenderer.java:451)
      at
      org.apache.fop.layout.AreaContainer.render(AreaContainer.java:88)
      at
      org.apache.fop.render.AbstractRenderer.renderAreaContainer
      (AbstractRenderer.java:451)
      at
      org.apache.fop.layout.AreaContainer.render(AreaContainer.java:88)
      at
      org.apache.fop.render.AbstractRenderer.renderAreaContainer
      (AbstractRenderer.java:451)
      at
      org.apache.fop.layout.AreaContainer.render(AreaContainer.java:88)
      at
      org.apache.fop.render.AbstractRenderer.renderAreaContainer
      (AbstractRenderer.java:451)
      at
      org.apache.fop.layout.ColumnArea.render(ColumnArea.java:71)
      at
      org.apache.fop.render.AbstractRenderer.renderSpanArea(AbstractRenderer.java:100)
      at org.apache.fop.layout.SpanArea.render
      (SpanArea.java:94)
      at
      org.apache.fop.render.AbstractRenderer.renderBodyAreaContainer
      (AbstractRenderer.java:368)
      at
      org.apache.fop.layout.BodyAreaContainer.render(BodyAreaContainer.java:137)
      at
      org.apache.fop.render.AbstractRenderer.renderRegions(AbstractRenderer.java:529)
      at
      org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:904)
      at
      org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:880)
      at
      org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:302)
      at
      org.apache.fop.layout.AreaTree.addPage(AreaTree.java:108)
      at
      org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:415)
      at
      org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
      at
      org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
      at
      org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
      at
      org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:261)
      at
      org.apache.xalan.templates.ElemLiteralResult.execute
      (ElemLiteralResult.java:1399)
      at
      org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
      (TransformerImpl.java:2411)
      at
      org.apache.xalan.templates.ElemLiteralResult.execute
      (ElemLiteralResult.java:1374)
      at
      org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
      (TransformerImpl.java:2411)
      at
      org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
      (TransformerImpl.java:2281)
      at
      org.apache.xalan.transformer.TransformerImpl.transformNode
      (TransformerImpl.java:1367)
      at
      org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709)
      at
      org.apache.xalan.transformer.TransformerImpl.transform
      (TransformerImpl.java:1284)
      at
      org.apache.xalan.transformer.TransformerImpl.transform
      (TransformerImpl.java:1262)

      Attachments

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            mhilpert@gmx.de M.H.
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: