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

java.lang.StringIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • CLI-2.x
    • None
    • Operating System: All
      Platform: All

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: