Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-46

java.lang.StringIndexOutOfBoundsException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: CLI-2.x
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      24780

      Description

      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.charAt(Unknown Source)
      at org.apache.commons.cli.HelpFormatter.rtrim(HelpFormatter.java:505)
      at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter.java:416)
      at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java:324)
      at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java:318)
      at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:212)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jakarta-bugzilla@thomas.beck.name Thomas A Beck
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: