← Back to team overview

sikuli-driver team mailing list archive

[Bug 1211878] [NEW] [1.0.1] Running runScript.cmd throws java.lang.StringIndexOutOfBoundsException

 

Public bug reported:

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)

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
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] Running runScript.cmd throws
  java.lang.StringIndexOutOfBoundsException

Status in Sikuli:
  New

Bug description:
  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


Follow ups

References