[mkgmap-dev] java.lang.NumberFormatException: For input string: ""
From Felix Hartmann extremecarver at gmail.com on Sat May 15 13:33:14 BST 2021
This error happens on conoturlines generation - any ideas? Should I upload the files for debug? I first thought phyghtmap may have produced data with an empty string and on the ft to m conversion this error appears. However I kinda excluded that from happening by making sure only lines with a number are used & ( ele>0 | ele=0 | ele<0 ) Happens on a couple of countries worldwide and seems to be style related - but the same style works on most countries data so the style itself is not broken. SEVERE (global): Unexpected error java.lang.NumberFormatException: For input string: "" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68) at java.base/java.lang.Integer.parseInt(Integer.java:662) at java.base/java.lang.Integer.parseInt(Integer.java:770) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) at uk.me.parabola.mkgmap.build.MapBuilder.parseDemDists(MapBuilder.java:280) at uk.me.parabola.mkgmap.build.MapBuilder.config(MapBuilder.java:275) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:113) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:70) at uk.me.parabola.mkgmap.main.Main.lambda$processFilename$1(Main.java:290) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) at java.base/java.lang.Thread.run(Thread.java:832) SEVERE (global): Exiting due to unexpected error Number of ExitExceptions: 1 Time finished: Sat May 15 14:27:05 CEST 2021 -- Felix Hartman - Openmtbmap.org & VeloMap.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210515/2fa00a1b/attachment.html>
- Previous message: [mkgmap-dev] logging improvement
- Next message: [mkgmap-dev] java.lang.NumberFormatException: For input string: ""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list