Skip to content

Exception when number of lanes is missing a space character after the comma #3

@selphiron

Description

@selphiron
Exception in thread "main" java.lang.NumberFormatException: For input string: "1,5"
        at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054)
        at java.base/jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
        at java.base/java.lang.Double.parseDouble(Double.java:556)
        at java.base/java.lang.Double.valueOf(Double.java:519)
        at Graph.SegmentImporter.importSegments(SegmentImporter.java:58)
        at Graph.SegmentMapper.doSegmentMapping(SegmentMapper.java:38)
        at main.MainKt.main(Main.kt:16)

happened with: java -jar .\osmColoring-jar-with-dependencies.jar -s $SIMRAROOT -r Karlsruhe -o $OUTPUT --osmDir $OSMDIR --minRides 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions