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

Unable to launch forge 2.0.0.Final shell in a linux (opensuse) machine.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 2.0.0.Final
    • Fix Version/s: 2.1.0.Final
    • Component/s: UI - Shell
    • Labels:
      None

      Description

      Unable to launch forge 2.0.0.Final shell in a linux (opensuse) machine. $forge command throws the following error :

      kumaran@linux-p1a9:~> forge 
       
          _____                    
         |  ___|__  _ __ __ _  ___ 
         | |_ / _ \| `__/ _` |/ _ \  \\
         |  _| (_) | | | (_| |  __/  //
         |_|  \___/|_|  \__, |\___| 
                         |___/      
       
      JBoss Forge, version [ 2.0.0.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]
       
      Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /tmp/1391710914740-0/native/unix_32_xadisk.native which might have disabled stack guard. The VM will try to fix the stack guard now.
      It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
      java.io.IOException: Cannot run program "infocmp": error=2, No such file or directory
      	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
      	at org.jboss.aesh.terminal.InfocmpHandler.fetchInfocmp(InfocmpHandler.java:51)
      	at org.jboss.aesh.terminal.InfocmpHandler.parseInfocmp(InfocmpHandler.java:42)
      	at org.jboss.aesh.terminal.InfocmpHandler.<init>(InfocmpHandler.java:36)
      	at org.jboss.aesh.terminal.InfocmpHandler.<init>(InfocmpHandler.java:20)
      	at org.jboss.aesh.terminal.InfocmpHandler$InfocmpHolder.<clinit>(InfocmpHandler.java:27)
      	at org.jboss.aesh.terminal.InfocmpHandler.getInstance(InfocmpHandler.java:31)
      	at org.jboss.aesh.terminal.InfocmpManager.alternateBuffer(InfocmpManager.java:165)
      	at org.jboss.aesh.util.ANSI.<clinit>(ANSI.java:39)
      	at org.jboss.aesh.terminal.TerminalCharacter.toString(TerminalCharacter.java:97)
      	at org.jboss.aesh.console.Prompt.generateOutString(Prompt.java:75)
      	at org.jboss.aesh.console.Prompt.<init>(Prompt.java:61)
      	at org.jboss.forge.addon.shell.ShellImpl.createPrompt(ShellImpl.java:131)
      	at org.jboss.forge.addon.shell.ShellImpl.<init>(ShellImpl.java:84)
      	at org.jboss.forge.addon.shell.ShellFactoryImpl.createShell(ShellFactoryImpl.java:51)
      	at org.jboss.forge.addon.shell.ShellInitializer.startupDefaultShell(ShellInitializer.java:36)
      	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.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)
      	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:274)
      	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:261)
      	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:240)
      	at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:171)
      	at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:167)
      	at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:121)
      	at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:114)
      	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:673)
      	at org.jboss.weld.util.ForwardingBeanManager.fireEvent(ForwardingBeanManager.java:101)
      	at org.jboss.forge.furnace.container.cdi.lifecycle.WeldAddonLifecycleProvider.postStartup(WeldAddonLifecycleProvider.java:106)
      	at org.jboss.forge.furnace.impl.addons.AddonRunnable$2.call(AddonRunnable.java:101)
      	at org.jboss.forge.furnace.impl.addons.AddonRunnable$2.call(AddonRunnable.java:85)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
      	at org.jboss.forge.furnace.impl.addons.AddonRunnable.run(AddonRunnable.java:84)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	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:744)
      Caused by: java.io.IOException: error=2, No such file or directory
      	at java.lang.UNIXProcess.forkAndExec(Native Method)
      	at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
      	at java.lang.ProcessImpl.start(ProcessImpl.java:130)
      	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
      	... 39 more
      [kumaran]$ 
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lincolnthree Lincoln Baxter III
                  Reporter:
                  jbosspriyan Karthikeyan Annamalai
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: