xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Tošovský (JIRA) <j...@apache.org>
Subject [jira] [Created] (BATIK-1257) Rasterizer - insuficient permissions when transcoding to PDF
Date Thu, 07 Mar 2019 20:56:00 GMT
Jan Tošovský created BATIK-1257:
-----------------------------------

             Summary: 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ý


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