You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2017/12/27 10:59:00 UTC

[jira] [Comment Edited] (BATIK-1212) Command line NPE when using Java 1.7

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

simon steiner edited comment on BATIK-1212 at 12/27/17 10:58 AM:
-----------------------------------------------------------------

What about copying the svg file to your local pc before running batik or update cacerts file in jdk


was (Author: ssteiner1):
What about copying the svg file to your local pc before running batik

> Command line NPE when using Java 1.7
> ------------------------------------
>
>                 Key: BATIK-1212
>                 URL: https://issues.apache.org/jira/browse/BATIK-1212
>             Project: Batik
>          Issue Type: Bug
>          Components: SVG Rasterizer
>    Affects Versions: 1.9
>         Environment: Production server running Java 1.7 and fails in this environment.  
> Tested Java 1.8 and runs successfully in this environment.
>            Reporter: Phil
>
> C:\Program Files\Java\jdk1.7.0_80\bin>java -version
> java version "1.7.0_80"
> Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
> C:\Program Files\Java\jdk1.7.0_80\bin>java -cp C:\batik; -jar C:\batik\batik-rasterizer-1.9.jar -m image/jpg -q .75 -w 500 -d c:\batik\samples\test.jpg https://
> www.gate1travel.com/shared/india/maps/2017/9DIndia17.svg
> About to transcode 1 SVG file(s)
> Converting https://www.gate1travel.com/shared/india/maps/2017/9DIndia17.svg to c:\batik\samples\test.jpg ... Exception in thread "main" java.lang.NullPointerExc
> eption
>         at org.apache.batik.apps.rasterizer.SVGConverter.transcode(SVGConverter.
> java:966)
>         at org.apache.batik.apps.rasterizer.SVGConverter.execute(SVGConverter.ja
> va:717)
>         at org.apache.batik.apps.rasterizer.Main.execute(Main.java:938)
>         at org.apache.batik.apps.rasterizer.Main.main(Main.java:992)
> C:\Program Files\Java\jdk1.7.0_80\bin>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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