[infinispan-issues] [JBoss JIRA] (ISPN-3272) Help of Put, Replace, Rollback, Start CLI commands got StringIndexOutOfBoundsException

Vitalii Chepeliuk (JIRA) jira-events at lists.jboss.org
Wed Jun 26 09:02:21 EDT 2013


Vitalii Chepeliuk created ISPN-3272:
---------------------------------------

             Summary: 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


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

--
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