[1.0.1 ok] Running runIDE(.cmd) or runScript(.cmd) throws Exception with option -h

Bug #1211878 reported by Techno.Scavenger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

Bug Description

--- fixed in version 1.0.1 per August 14 10 am gmt+1
affected sikuli-ide.jar and sikuli-script.jar
If you want the fixed version: run setup again.
Only needed, if your last setup run was before the above given fix time
-----------------------------------------------------------------------

Environment:
OS: W7 32-bit
Java: JRE 1.7 Update 25

Installed SikuliX 1.0.1 then tried to run runScript.cmd -h to view options. Observed error below:

See below for error message:
C:\SikuliX>runScript.cmd -h
+++ running this Java
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
+++ trying to start Sikuli Script
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\SikuliX\sikuli-script.jar -h
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String ind
ex out of range: 94
        at java.lang.String.charAt(Unknown Source)
        at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:9
04)
        at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter.
java:835)
        at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java:
694)
        at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java:
679)
        at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:493
)
        at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:418
)
        at org.sikuli.basics.CommandArgs.printHelp(CommandArgs.java:160)
        at org.sikuli.basics.SikuliScript.main(SikuliScript.java:73)

RaiMan (raimund-hocke)
summary: - [1.0.1] Running runScript.cmd throws
- java.lang.StringIndexOutOfBoundsException
+ [1.0.1] Running runScript.cmd throws Exception with option -h --- fixed
+ August 14
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → Critical
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
summary: - [1.0.1] Running runScript.cmd throws Exception with option -h --- fixed
- August 14
+ [1.0.1] Running runIDE(.cmd) or runScript(.cmd) throws Exception with
+ option -h --- fixed August 14
description: updated
RaiMan (raimund-hocke)
summary: - [1.0.1] Running runIDE(.cmd) or runScript(.cmd) throws Exception with
- option -h --- fixed August 14
+ [1.0.1 ok] Running runIDE(.cmd) or runScript(.cmd) throws Exception with
+ option -h
Revision history for this message
Techno.Scavenger (techno-scavenger) wrote :

Verified fixed. Thanks a lot RaiMain

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.