xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "simon steiner (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (BATIK-1257) Rasterizer - insuficient permissions when transcoding to PDF
Date Fri, 08 Mar 2019 09:58:00 GMT

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

simon steiner reassigned BATIK-1257:
------------------------------------

    Assignee: simon steiner

> Rasterizer - insuficient permissions when transcoding to PDF
> ------------------------------------------------------------
>
>                 Key: BATIK-1257
>                 URL: https://issues.apache.org/jira/browse/BATIK-1257
>             Project: Batik
>          Issue Type: Bug
>          Components: SVG Rasterizer
>    Affects Versions: 1.11
>            Reporter: Jan Tošovský
>            Assignee: simon steiner
>            Priority: Major
>
> After resolving BATIK-1256 if the next conversion is invoked, I am getting some permission
error:
> {code:none}
> java -jar batik-rasterizer-1.11.jar -m application/pdf text_on_path.svg
> About to transcode 1 SVG file(s)
> Converting text_on_path.svg to text_on_path.pdf ... Exception in thread "main" java.lang.ExceptionInInitializerError
>         at org.apache.fop.svg.AbstractFOPTranscoder.setupImageInfrastructure(AbstractFOPTranscoder.java:259)
>         at org.apache.fop.svg.PDFTranscoder.transcode(PDFTranscoder.java:121)
>         at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142)
>         at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156)
>         at org.apache.batik.apps.rasterizer.SVGConverter.transcode(SVGConverter.java:1002)
>         at org.apache.batik.apps.rasterizer.SVGConverter.execute(SVGConverter.java:717)
>         at org.apache.batik.apps.rasterizer.Main.execute(Main.java:937)
>         at org.apache.batik.apps.rasterizer.Main.main(Main.java:990)
> Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission"
"org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.no-source-reuse" "read")
>         at java.base/java.security.AccessControlContext.checkPermission(Unknown Source)
>         at java.base/java.security.AccessController.checkPermission(Unknown Source)
>         at java.base/java.lang.SecurityManager.checkPermission(Unknown Source)
>         at java.base/java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
>         at java.base/java.lang.System.getProperty(Unknown Source)
>         at org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.<clinit>(AbstractImageSessionContext.java:64)
>         ... 8 more
> {code}
> Win 10 / Oracle JDK 9.0.1



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message