xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dian hina (Jira)" <j...@apache.org>
Subject [jira] [Updated] (FOP-1278) PNG missing for RTF output
Date Sat, 26 Jun 2021 20:29:02 GMT

     [ https://issues.apache.org/jira/browse/FOP-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

dian hina updated FOP-1278:
---------------------------

oke finish

> PNG missing for RTF output
> --------------------------
>
>                 Key: FOP-1278
>                 URL: https://issues.apache.org/jira/browse/FOP-1278
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/rtf
>    Affects Versions: 2.5
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Chris Bowditch
>         Attachments: moon.png, test.fo
>
>
> Attached PNG causes a NPE when rendering to RTF. Submitted by Dominic Brugger 
> (brugger.at.puzzle.ch) Stack trace below:
> SEVERE: Error while handling an external-graphic: null
> java.lang.NullPointerException
>         at org.apache.commons.io.IOUtils.copy(IOUtils.java:920)
>         at org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:215)
>         at org.apache.fop.image.AbstractFopImage.loadDefaultOriginalData
> (AbstractFopImage.java:223)
>         at org.apache.fop.image.ImageIOImage.loadOriginalData
> (ImageIOImage.java:217)
>         at org.apache.fop.image.AbstractFopImage.load
> (AbstractFopImage.java:174)
>         at org.apache.fop.render.rtf.RTFHandler.image(RTFHandler.java:1131)
>         at org.apache.fop.render.rtf.RTFHandler.invokeDeferredEvent
> (RTFHandler.java:1492)
>         at org.apache.fop.render.rtf.RTFHandler.recurseFONode
> (RTFHandler.java:1616)
>         at org.apache.fop.render.rtf.RTFHandler.recurseFONode
> (RTFHandler.java:1687)
>         at org.apache.fop.render.rtf.RTFHandler.recurseFONode
> (RTFHandler.java:1687)
>         at org.apache.fop.render.rtf.RTFHandler.recurseFONode
> (RTFHandler.java:1639)
>         at org.apache.fop.render.rtf.RTFHandler.endPageSequence
> (RTFHandler.java:



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message