logo separator

[mkgmap-dev] exception in --list-styles

From Stefan Aschenbach stefan at binaervarianz.de on Mon Apr 20 09:37:42 BST 2009

Hi,

I just compiled r1006 and it throwed this exception at me when using:


Jonathan:~/Projects/eclipse/mkgmap/dist chaos$ java -jar mkgmap.jar -- 
list-styles
The following styles are available:
Exception in thread "main" java.lang.IllegalStateException: zip file  
closed
         at java.util.zip.ZipFile.ensureOpen(ZipFile.java:518)
         at java.util.zip.ZipFile.getEntry(ZipFile.java:251)
         at java.util.jar.JarFile.getEntry(JarFile.java:204)
         at sun.net.www.protocol.jar.URLJarFile.getEntry 
(URLJarFile.java:90)
         at sun.net.www.protocol.jar.JarURLConnection.connect 
(JarURLConnection.java:112)
         at sun.net.www.protocol.jar.JarURLConnection.getJarFile 
(JarURLConnection.java:69)
         at uk.me.parabola.mkgmap.osmstyle.JarFileLoader.jarInit 
(JarFileLoader.java:76)
         at uk.me.parabola.mkgmap.osmstyle.JarFileLoader.<init> 
(JarFileLoader.java:54)
         at  
uk.me.parabola.mkgmap.osmstyle.StyleFileLoader.classpathLoader 
(StyleFileLoader.java:155)
         at  
uk.me.parabola.mkgmap.osmstyle.StyleFileLoader.createStyleLoader 
(StyleFileLoader.java:78)
         at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init> 
(StyleImpl.java:116)
         at uk.me.parabola.mkgmap.main.Main.listStyles(Main.java:215)
         at uk.me.parabola.mkgmap.main.Main.processOption(Main.java:185)
         at uk.me.parabola.mkgmap.CommandArgs$CommandOption.processArg 
(CommandArgs.java:381)
         at uk.me.parabola.mkgmap.CommandArgs.readArgs 
(CommandArgs.java:119)
         at uk.me.parabola.mkgmap.main.Main.main(Main.java:91)


Is it me or the software doing something wrong here?


Regards

Stefan



More information about the mkgmap-dev mailing list