mbonaci / luke

Automatically exported from code.google.com/p/luke
0 stars 0 forks source link

Crashed with java.lang.NumberFormatException when opening #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Kevin:Downloads majlo$ uname -v
Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; 
root:xnu-1699.22.81~1/RELEASE_X86_64

Kevin:Downloads majlo$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)

Kevin:Downloads majlo$ java -jar lukeall-3.4.0.jar 
java.lang.NumberFormatException: For input string: "60  "
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:458)
    at java.lang.Integer.valueOf(Integer.java:554)
    at thinlet.Thinlet.addAttribute(Unknown Source)
    at thinlet.Thinlet.parse(Unknown Source)
    at thinlet.Thinlet.parse(Unknown Source)
    at thinlet.Thinlet.parse(Unknown Source)
    at thinlet.Thinlet.parse(Unknown Source)
    at org.getopt.luke.Luke.addComponent(Unknown Source)
    at org.getopt.luke.Luke.<init>(Unknown Source)
    at org.getopt.luke.Luke.startLuke(Unknown Source)
    at org.getopt.luke.Luke.main(Unknown Source)
Exception in thread "main" java.lang.IllegalArgumentException: unknown text 
string for null
    at thinlet.Thinlet.getDefinition(Unknown Source)
    at thinlet.Thinlet.setString(Unknown Source)
    at org.getopt.luke.Luke.errorMsg(Unknown Source)
    at org.getopt.luke.Luke.addComponent(Unknown Source)
    at org.getopt.luke.Luke.<init>(Unknown Source)
    at org.getopt.luke.Luke.startLuke(Unknown Source)
    at org.getopt.luke.Luke.main(Unknown Source)

Original issue reported on code.google.com by martin.m...@gmail.com on 3 Oct 2011 at 12:24

GoogleCodeExporter commented 9 years ago
Ugh, last moment changes tend to have fatal consequences... It's a typo in 
luke.xml:211, a mistyped TAB character - remove it, rebuild Luke and all should 
be well.

I'll re-roll the release in a moment.

Original comment by sig...@gmail.com on 3 Oct 2011 at 1:26

GoogleCodeExporter commented 9 years ago
Fixed in 3.4.0_1

Original comment by sig...@gmail.com on 28 Dec 2011 at 3:03