[ 
https://issues.apache.org/jira/browse/FOP-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14079186#comment-14079186
 ] 

Thanasis Giannimaras commented on FOP-2399:
-------------------------------------------

I am unable to reproduce the issue both on fop1.1 and on trunk. FOP doesn't 
crash, it just renders the PDF without the image (which can not access because 
of the 403 error).
 
The warnings I am getting when running fop1.1 are :
Jul 30, 2014 11:51:20 AM org.apache.fop.apps.FOURIResolver resolve
SEVERE: Error with opening URL 'http://192.168.3.200/image1.png': Server 
returned HTTP response code: 403 for URL: http://192.168.3.200/image1.png
Jul 30, 2014 11:51:20 AM org.apache.fop.events.LoggingEventListener processEvent
SEVERE: Image not found. URI: http://192.168.3.200/image1.png. (See position 
12:80)
Jul 30, 2014 11:51:20 AM org.apache.fop.events.LoggingEventListener processEvent
INFO: Rendered page #1.



> External graphics that return 403 error, make FOP crash
> -------------------------------------------------------
>
>                 Key: FOP-2399
>                 URL: https://issues.apache.org/jira/browse/FOP-2399
>             Project: Fop
>          Issue Type: Bug
>          Components: image/unqualified
>    Affects Versions: 1.1
>            Reporter: Konstantin Milyutin
>              Labels: external-graphic
>         Attachments: stack
>
>
> I use external-graphics tag in my template. When a graphic is not found (404 
> response code), the pdf is rendered without a graphic. On the other hand, 
> when the response code is 403 (not authorized), then the FOP crashes with EOF 
> exception somewhere in graphics library.
> The referenced resource doesn't have to be an image. It can even be just 
> simple page, returning 403 error code.
> I think the same error also happens when response code is 401.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to