[infinispan-issues] [JBoss JIRA] (ISPN-3272) Help of Put, Replace, Rollback, Start CLI commands got StringIndexOutOfBoundsException
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Mon Jul 29 10:53:26 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manik Surtani updated ISPN-3272:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 6.0.0.Alpha2
Resolution: Done
> Help of Put, Replace, Rollback, Start CLI commands got StringIndexOutOfBoundsException
> --------------------------------------------------------------------------------------
>
> Key: ISPN-3272
> URL: https://issues.jboss.org/browse/ISPN-3272
> Project: Infinispan
> Issue Type: Bug
> Components: CLI
> Affects Versions: 5.3.0.Final
> Reporter: Vitalii Chepeliuk
> Assignee: Tristan Tarrant
> Fix For: 6.0.0.Alpha2, 6.0.0.Final
>
>
> When want to run commands---------------------------------------------
> >>>1. ispn-cli.sh -f put.sc
> >>>2. ispn-cli.sh -f replace.sc
> >>>3. ispn-cli.sh -f rollback.sc
> >>>4. ispn-cli.sh -f start.sc
> cat put.sc------------------------------------------------------------
> help put
> cat replace.sc--------------------------------------------------------
> help replace
> cat rollback.sc-------------------------------------------------------
> help rollback
> cat start.sc----------------------------------------------------------
> help start
> Exception is thrown outside JConsole shell----------------------------
> Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.charAt(String.java:658)
> at org.infinispan.cli.shell.Man2Ansi.fit(Man2Ansi.java:108)
> at org.infinispan.cli.shell.Man2Ansi.render(Man2Ansi.java:78)
> at org.infinispan.cli.commands.client.Help.execute(Help.java:67)
> at org.infinispan.cli.shell.ShellImpl.execute(ShellImpl.java:181)
> at org.infinispan.cli.shell.ShellImpl.batchRun(ShellImpl.java:136)
> at org.infinispan.cli.shell.ShellImpl.run(ShellImpl.java:123)
> at org.infinispan.cli.Main.main(Main.java:41)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.modules.Module.run(Module.java:262)
> at org.jboss.modules.Main.main(Main.java:329)
> Other errors inside jconsole shell------------------------------------
> run command: ispn-cli.sh -
> [disconnected//]> help rollback
> String index out of range: -1
> [disconnected//]> help start
> String index out of range: -1
> >>>5. help upgrade, 3rd paragraph in USAGE is not aligned
> USAGE
> In order to perform a rolling upgrade of a HotRod cluster, the following steps must be taken
> 1. Configure and start a new cluster with a RemoteCacheStore pointing to the old cluster and the
> hotRodWrapping flag enabled
> 2. Configure all clients so that they will connect to the new cluster
> 3. Invoke the
> upgrade --dumpkeys command on the old cluster for all of the caches that need to be migrated
> 4. Invoke the
> upgrade --synchronize=hotrod command on the new cluster to ensure that all data is migrated from the old cluster to the new one
> 5. Invoke the
> upgrade --disconnectsource=hotrod command on the new cluster to disable the RemoteCacheStore used to migrate the data
> 6. Switch off the old cluster
> >>>6. help container, wrong argument
> SYNOPSIS
> container [ containername ]
>
> DESCRIPTION
> Shows the available containers or selects a container to be used as default for CLI operations
>
> ARGUMENTS
> cachename <<<<<<<<<<<<<, here should be container name and not cache name
> (optional) the name of the container to set as default for the following operations
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list