logo separator

[mkgmap-dev] Stackoverflow while loading style files

From Lambertus osm at na1400.info on Sat Jan 14 11:52:45 GMT 2012

Hopefully someone can shed some light on what I'm doing wrong?

java -Xmx1000M -ea -jar ~/garmin/utils/mkgmap/mkgmap.jar 
--style-file=/home/lambertus/garmin/world/styles/default/ 
--input-file=63240001.osm.gz

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)
     at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:140)
     at 
uk.me.parabola.mkgmap.osmstyle.StyleImpl.readBaseStyle(StyleImpl.java:518)
(Lot's of the same errors like the last 6 lines snipped)

The styles directory is an svn export of the styles section in the 
Mkgmap SVN repository, svn info reports version 2160. Mkgmap version is 
r2162.



More information about the mkgmap-dev mailing list