[Bug 944546] Re: StringIndexOutOfBoundsException in HelpFormatter.findWrapPos

James Page james.page at ubuntu.com
Tue Jun 19 15:39:09 UTC 2012


mkdir classes
javac -d classes -classpath /usr/share/java/commons-cli.jar TestCLIFailure.java
java -classpath /usr/share/java/commons-cli.jar:classes org.apache.commons.cli.TestCLIFailure
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 5
	at java.lang.String.charAt(String.java:695)
	at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:904)
	at org.apache.commons.cli.TestCLIFailure.main(TestCLIFailure.java:8)


** Attachment added: "TestCLIFailure.java"
   https://bugs.launchpad.net/ubuntu/+source/libcommons-cli-java/+bug/944546/+attachment/3196142/+files/TestCLIFailure.java

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libcommons-cli-java in Ubuntu.
https://bugs.launchpad.net/bugs/944546

Title:
  StringIndexOutOfBoundsException in HelpFormatter.findWrapPos

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcommons-cli-java/+bug/944546/+subscriptions



More information about the Ubuntu-server-bugs mailing list