[forge-issues] [JBoss JIRA] (FORGE-2046) 'ls' command throws un-useful error when child directory does not exist.

George Gastaldi (JIRA) issues at jboss.org
Fri Sep 26 13:29:03 EDT 2014


     [ https://issues.jboss.org/browse/FORGE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi closed FORGE-2046.
----------------------------------
         Assignee: George Gastaldi
    Fix Version/s: 2.10.2.Final
       Resolution: Done


> 'ls' command throws un-useful error when child directory does not exist.
> ------------------------------------------------------------------------
>
>                 Key: FORGE-2046
>                 URL: https://issues.jboss.org/browse/FORGE-2046
>             Project: Forge
>          Issue Type: Feature Request
>          Components: Builtin Plugins, UI - Shell
>    Affects Versions: 2.10.1.Final
>            Reporter: Lincoln Baxter III
>            Assignee: George Gastaldi
>             Fix For: 2.10.2.Final
>
>
> {code}
> [Desktop]$ ls /Users/lbaxter/projects/jboss-migration/windup/test-files/jee-example-app-1.0.0.ear
> ***ERROR*** Error while executing 'ls'
> java.lang.RuntimeException: no such child: projects
> 	at org.jboss.forge.addon.resource.util.ResourcePathResolver.resolve(ResourcePathResolver.java:235)
> 	at org.jboss.forge.addon.shell.command.LsCommand.execute(LsCommand.java:81)
> 	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:606)
> 	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
> 	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> 	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
> 	at org.jboss.forge.addon.shell.command.LsCommand_$$_javassist_9eb4b11a-8950-4ee1-af6c-0859a534db50.execute(LsCommand_$$_javassist_9eb4b11a-8950-4ee1-af6c-0859a534db50.java)
> 	at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:88)
> 	at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74)
> 	at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:325)
> 	at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)
> ***ERROR*** no such child: projects
> [Desktop]$ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the forge-issues mailing list