dev@glassfish.java.net

./asadmin list-commands _ ->java.lang.StringIndexOutOfBoundsException

From: Ludovic Champenois <ludovic.champenois_at_oracle.com>
Date: Tue, 06 Jul 2010 11:58:49 -0700

$ ./asadmin list-commands _
********** Local Commands **********
_create-instance-filesystem
_synchronize-instance

********** Remote Commands **********
Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
String index out of range: -10
     at java.lang.String.substring(String.java:1937)
     at
com.sun.enterprise.admin.cli.ListCommandsCommand.justify(ListCommandsCommand.java:283)
     at
com.sun.enterprise.admin.cli.ListCommandsCommand.printRemoteCommands(ListCommandsCommand.java:271)
     at
com.sun.enterprise.admin.cli.ListCommandsCommand.executeCommand(ListCommandsCommand.java:123)
     at com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:255)
     at
com.sun.enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.java:229)
     at com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:167)