Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2046

'ls' command throws un-useful error when child directory does not exist.

XMLWordPrintable

      [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]$ 
      

              rhn-support-ggastald George Gastaldi
              lincolnthree Lincoln Baxter III (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: