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

"Phil (JIRA)" <[email protected]>
Newsgroups gmane.text.xml.batik.devel
Message-ID <[email protected]>
Phil created BATIK-1212:
---------------------------

             Summary: 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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.