dev@glassfish.java.net

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

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Tue, 06 Jul 2010 12:33:33 -0700

interesting. the problem is a gigantic command name (> 40 chars)

_get-connection-definition-properties-and-defaults


On 7/6/2010 11:58 AM, Ludovic Champenois wrote:
> $ ./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)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Byron Nevins  -  Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188