SikuliX-2014 icon indicating copy to clipboard operation
SikuliX-2014 copied to clipboard

Some java.version give an exception

Open wernight opened this issue 8 years ago • 1 comments

Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.sikuli.basics.Debug.log(Debug.java:697)
        at org.sikuli.basics.Debug.logx(Debug.java:675)
        at org.sikuli.script.RunTime.log(RunTime.java:99)
        at org.sikuli.script.RunTime.get(RunTime.java:184)
        at org.sikuli.setup.RunSetup.main(RunSetup.java:165)
Caused by: java.lang.NumberFormatException: For input string: "i"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:679)
        at java.lang.Integer.parseInt(Integer.java:797)
        at org.sikuli.basics.Settings.<clinit>(Settings.java:123)
        ... 5 more

From Settings.java it should have a try-catch and/or handle more cases. My java.version is 9-internal hence it'd try to Integer.parseInt("i") which fails of course.

wernight avatar Jan 05 '16 12:01 wernight

Thanks. ... coming right back from the future ;-)

RaiMan avatar Feb 14 '16 17:02 RaiMan