← Back to team overview

sikuli-driver team mailing list archive

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

 

Verified fixed. Thanks a lot RaiMain

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1211878

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

Status in Sikuli:
  Fix Committed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1211878/+subscriptions


References