[
https://issues.jboss.org/browse/GTNMGMT-24?page=com.atlassian.jira.plugin...
]
Nick Scavelli resolved GTNMGMT-24.
----------------------------------
Fix Version/s: 1.0.0-Beta05
Resolution: Done
Unexpected exception when "cd .." on root resource
--------------------------------------------------
Key: GTNMGMT-24
URL:
https://issues.jboss.org/browse/GTNMGMT-24
Project: GateIn Management
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: cli
Affects Versions: 1.0.0-Beta04
Reporter: Tomas Kyjovsky
Assignee: Nick Scavelli
Priority: Optional
Fix For: 1.0.0-Beta05
09:31:57,429 ERROR [CRaSH] Error while evaluating request 'cd ..' Unexpected
exception: fromIndex(0) > toIndex(-1)
java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1)
at java.util.SubList.<init>(AbstractList.java:604)
at java.util.RandomAccessSubList.<init>(AbstractList.java:758)
at java.util.RandomAccessSubList.subList(AbstractList.java:762)
at org.gatein.management.api.PathAddress.subAddress(PathAddress.java:140)
at
org.gatein.management.cli.crash.commands.ManagementCommand.getAddress(ManagementCommand.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:267)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
at cd.main(cd:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.crsh.cmdline.matcher.MethodMatch.doInvoke(MethodMatch.java:153)
at org.crsh.cmdline.matcher.CommandMatch.invoke(CommandMatch.java:76)
at org.crsh.command.CRaSHCommand$1.invoke(CRaSHCommand.java:250)
at org.crsh.shell.impl.AST$Expr$ShellProcessImpl.execute(AST.java:113)
at org.crsh.shell.impl.AST$Expr$ShellProcessImpl.invoke(AST.java:88)
at org.crsh.shell.impl.CRaSHProcess.execute(CRaSHProcess.java:45)
at org.crsh.shell.concurrent.AsyncShell$Process.run(AsyncShell.java:158)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira