logo separator

[mkgmap-dev] '--style-file' gives java.lang.StackOverflowError

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu May 17 11:34:49 BST 2012

Hi maning,

the help files says:
The directory path must be absolute or relative to the current working directory when mkgmap is invoked. 

I'd try this.

Gerd

> From: emmanuel.sambale at gmail.com
> Date: Thu, 17 May 2012 16:50:26 +0800
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: [mkgmap-dev] '--style-file' gives java.lang.StackOverflowError
> 
> Reported here:
> 
> https://github.com/maning/osmphgps/issues/49
> 
> 
> I'm trying to use a different style then the built-in one. Running (r2277):
> 
> ```
> java -ea -Xmx4000m -classpath mkgmap/dist -jar mkgmap/dist/mkgmap.jar
> --style-file=mkgmap/resources/styles/default --list-styles
> ```
> 
> gives:
> 
> ```
> The following styles are available:
> Exception in thread "main" java.lang.StackOverflowError
>         at sun.nio.cs.UTF_8.updatePositions(UTF_8.java:58)
>         at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(UTF_8.java:392)
>         at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:447)
>         at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544)
>         at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:240)
>         at java.lang.StringCoding.encode(StringCoding.java:272)
>         at java.lang.String.getBytes(String.java:946)
>         at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
>         at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
>         at java.io.File.isDirectory(File.java:754)
>         at uk.me.parabola.mkgmap.osmstyle.DirectoryFileLoader.<init>(DirectoryFileLoader.java:47)
>         at uk.me.parabola.mkgmap.osmstyle.StyleFileLoader.createStyleLoader(StyleFileLoader.java:64)
>         at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:132)
>         at uk.me.parabola.mkgmap.osmstyle.StyleImpl.readBaseStyle(StyleImpl.java:518)
>         at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:140)
>         at uk.me.parabola.mkgmap.osmstyle.StyleImpl.readBaseStyle(StyleImpl.java:518)
> ...
> ```
> 
> -- 
> cheers,
> maning
> ------------------------------------------------------
> "Freedom is still the most radical idea of all" -N.Branden
> wiki: http://esambale.wikispaces.com/
> blog: http://epsg4253.wordpress.com/
> ------------------------------------------------------
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120517/0d9948be/attachment.html 


More information about the mkgmap-dev mailing list