[forge-issues] [JBoss JIRA] (FORGE-1043) Unable to install AS7 plugin

Hardy Ferentschik (JIRA) jira-events at lists.jboss.org
Fri Jul 26 09:17:26 EDT 2013


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

Hardy Ferentschik updated FORGE-1043:
-------------------------------------

    Description: 
Trying to follow the forge-from-scratch (http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/forge-from-scratch/) tutorial, I reached the point where I am supposed to install the AS 7 plugin. I get (verbose format):

{noformat}
[demo] demo $  forge install-plugin jboss-as-7
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: jboss-as-7
***INFO*** Checking out plugin source files to [/var/folders/0p/_bb9yrwj0xvb1f_98jp8h_c40000gn/T/forgetemp3225640766693782497/repo] via 'git'
***INFO*** Switching to branch/tag [refs/tags/1.0.5.Final]
 ? The project does not appear to be a Forge Plugin Project, install anyway? [y/N] y
Wrote /Users/hardy/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml
***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces)
java.lang.NullPointerException
	at org.jboss.forge.shell.plugins.builtin.ForgePlugin.buildFromCurrentProject(ForgePlugin.java:616)
	at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromGit(ForgePlugin.java:398)
	at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromIndex(ForgePlugin.java:239)
	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:601)
	at org.jboss.forge.shell.command.Execution.perform(Execution.java:134)
	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
	at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:818)
	at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:841)
	at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:631)
	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:601)
	at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
	at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
	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:601)
	at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
	at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
	at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
	at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
	at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
	at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
	at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
	at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
	at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)
	at java.lang.Thread.run(Thread.java:722)

{noformat}

  was:
Trying to follow the forge-from-scratch (http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/forge-from-scratch/) tutorial, I reached the point where I am supposed to install the AS 7 plugin. I get (verbose format+:

{noformat}
[demo] demo $  forge install-plugin jboss-as-7
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: jboss-as-7
***INFO*** Checking out plugin source files to [/var/folders/0p/_bb9yrwj0xvb1f_98jp8h_c40000gn/T/forgetemp3225640766693782497/repo] via 'git'
***INFO*** Switching to branch/tag [refs/tags/1.0.5.Final]
 ? The project does not appear to be a Forge Plugin Project, install anyway? [y/N] y
Wrote /Users/hardy/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml
***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces)
java.lang.NullPointerException
	at org.jboss.forge.shell.plugins.builtin.ForgePlugin.buildFromCurrentProject(ForgePlugin.java:616)
	at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromGit(ForgePlugin.java:398)
	at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromIndex(ForgePlugin.java:239)
	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:601)
	at org.jboss.forge.shell.command.Execution.perform(Execution.java:134)
	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
	at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:818)
	at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:841)
	at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:631)
	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:601)
	at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
	at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
	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:601)
	at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
	at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
	at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
	at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
	at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
	at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
	at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
	at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
	at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)
	at java.lang.Thread.run(Thread.java:722)

{noformat}


    
> Unable to install AS7 plugin 
> -----------------------------
>
>                 Key: FORGE-1043
>                 URL: https://issues.jboss.org/browse/FORGE-1043
>             Project: Forge
>          Issue Type: Feature Request
>         Environment: JBoss Forge, version [ 1.1.1.Final ] - JBoss, by Red Hat, Inc. [ http://jboss.org/forge ]
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: /opt/java/maven
> Java version: 1.7.0_10-ea, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>            Reporter: Hardy Ferentschik
>
> Trying to follow the forge-from-scratch (http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/forge-from-scratch/) tutorial, I reached the point where I am supposed to install the AS 7 plugin. I get (verbose format):
> {noformat}
> [demo] demo $  forge install-plugin jboss-as-7
> Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
> ***INFO*** Preparing to install plugin: jboss-as-7
> ***INFO*** Checking out plugin source files to [/var/folders/0p/_bb9yrwj0xvb1f_98jp8h_c40000gn/T/forgetemp3225640766693782497/repo] via 'git'
> ***INFO*** Switching to branch/tag [refs/tags/1.0.5.Final]
>  ? The project does not appear to be a Forge Plugin Project, install anyway? [y/N] y
> Wrote /Users/hardy/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml
> ***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces)
> java.lang.NullPointerException
> 	at org.jboss.forge.shell.plugins.builtin.ForgePlugin.buildFromCurrentProject(ForgePlugin.java:616)
> 	at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromGit(ForgePlugin.java:398)
> 	at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromIndex(ForgePlugin.java:239)
> 	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:601)
> 	at org.jboss.forge.shell.command.Execution.perform(Execution.java:134)
> 	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
> 	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
> 	at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:818)
> 	at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:841)
> 	at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:631)
> 	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:601)
> 	at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
> 	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
> 	at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
> 	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:601)
> 	at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
> 	at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> 	at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
> 	at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
> 	at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
> 	at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
> 	at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> 	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> 	at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> 	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
> 	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
> 	at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)
> 	at java.lang.Thread.run(Thread.java:722)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list