cbeust / kobalt

A Kotlin-based build system for the JVM.
Apache License 2.0
433 stars 60 forks source link

NumberFormatException upgrading to 1.0.1 #335

Closed pabl0rg closed 7 years ago

pabl0rg commented 7 years ago

./kobaltw --update fails with

Exception in thread "main" java.lang.NumberFormatException: multiple points
    at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1914)
    at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
    at java.lang.Float.parseFloat(Float.java:451)
    at com.beust.kobalt.wrapper.Main.installDistribution(Main.java:170)
    at com.beust.kobalt.wrapper.Main.installAndLaunchMain(Main.java:80)
    at com.beust.kobalt.wrapper.Main.main(Main.java:17)
cbeust commented 7 years ago

Haha good one. Will fix.

cbeust commented 7 years ago

Should be fixed in 1.0.2, but you'll have to update manually, obviously.

I sent you a kobalt-wrapper.jar with the fix on Slack, you could also override your current with that one and try to update again.