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

Cannot install Addon from git with branch

XMLWordPrintable

      addon-install-from-git --url https://github.com/jerr/as-forge-addon.git --branch forge2 --coordinate org.jboss.forge.addon:as

      Results in:

      15:53:15,197 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter] (AeshProcess: 7) Failed to execute [addon-install-from-git] due to exception.: org.eclipse.jgit.api.errors.RefAlreadyExistsException: Ref forge2 already exists
      	at org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:133)
      	at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:219)
      	at org.jboss.forge.addon.git.GitUtilsImpl.checkout(GitUtilsImpl.java:92)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_55]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_55]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_55]
      	at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_55]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65) [furnace-proxy-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81) [furnace-proxy-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.addon.git.GitUtilsImpl_$$_javassist_5700a22e-1956-4925-a4f1-71da37ad30e4.checkout(GitUtilsImpl_$$_javassist_5700a22e-1956-4925-a4f1-71da37ad30e4.java)
      	at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand.cloneTo(AddonGitBuildAndInstallCommand.java:164)
      	at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand.execute(AddonGitBuildAndInstallCommand.java:104)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_55]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_55]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_55]
      	at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_55]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65) [furnace-proxy-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81) [furnace-proxy-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand_$$_javassist_b4b7d9b5-2afd-4d35-8754-5ac494379a0f.execute(AddonGitBuildAndInstallCommand_$$_javassist_b4b7d9b5-2afd-4d35-8754-5ac494379a0f.java)
      	at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:88) [ui-impl-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74) [shell-impl-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:300) [aesh-0.54.jar:0.54]
      	at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:37) [aesh-0.54.jar:0.54]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
      
      15:53:15,199 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter] (AeshProcess: 7) Ref forge2 already exists: org.eclipse.jgit.api.errors.RefAlreadyExistsException: Ref forge2 already exists
      	at org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:133)
      	at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:219)
      	at org.jboss.forge.addon.git.GitUtilsImpl.checkout(GitUtilsImpl.java:92)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_55]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_55]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_55]
      	at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_55]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65) [furnace-proxy-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81) [furnace-proxy-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.addon.git.GitUtilsImpl_$$_javassist_5700a22e-1956-4925-a4f1-71da37ad30e4.checkout(GitUtilsImpl_$$_javassist_5700a22e-1956-4925-a4f1-71da37ad30e4.java)
      	at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand.cloneTo(AddonGitBuildAndInstallCommand.java:164)
      	at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand.execute(AddonGitBuildAndInstallCommand.java:104)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_55]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_55]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_55]
      	at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_55]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65) [furnace-proxy-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81) [furnace-proxy-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand_$$_javassist_b4b7d9b5-2afd-4d35-8754-5ac494379a0f.execute(AddonGitBuildAndInstallCommand_$$_javassist_b4b7d9b5-2afd-4d35-8754-5ac494379a0f.java)
      	at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:88) [ui-impl-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74) [shell-impl-2.6.0.Final.jar:2.6.0.Final]
      	at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:300) [aesh-0.54.jar:0.54]
      	at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:37) [aesh-0.54.jar:0.54]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
      

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

                Created:
                Updated:
                Resolved: