You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Andreas L. Delmelle (JIRA)" <ji...@apache.org> on 2015/05/18 19:33:03 UTC

[jira] [Commented] (FOP-2399) External graphics that return 403 error, make FOP crash

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

Andreas L. Delmelle commented on FOP-2399:
------------------------------------------

Looking at the stack trace, it seems like this one could very well be related to FOP-2343, which is something to be solved in XGCommons... 
Same java.lang.reflect.UndeclaredThrowableException, thrown from the very same line in the very same class within XGC

> 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.3.4#6332)