Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forge install plugin fails on Forge 1.3.3.FINAL #31

Open
dmbeer opened this issue Aug 20, 2013 · 5 comments
Open

forge install plugin fails on Forge 1.3.3.FINAL #31

dmbeer opened this issue Aug 20, 2013 · 5 comments

Comments

@dmbeer
Copy link

dmbeer commented Aug 20, 2013

Plugin install fails with forge 1.3.3.FINAL. I am trying to follow the arquillian tutorial.

`
forge install-plugin arquillian
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
_INFO_ Preparing to install plugin: arquillian
_INFO_ Checking out plugin source files to [/tmp/forgetemp2717179280024408314] via 'git'
_INFO_ Switching to branch/tag [refs/heads/1.0.6.Final]
_INFO_ Project found
_INFO_ Name: arquillian-plugin
_INFO_ Version: 1.0.0-SNAPSHOT
_INFO_ Type: Java Application

? The project does not appear to be a Forge Plugin Project, install anyway? [y/N] y
_INFO_ Project found
_INFO_ Name: arquillian-demo
_INFO_ Version: 1.0.0-SNAPSHOT
_INFO_ Type: Java Application

_INFO_ Cleaning up temp workspace [/tmp/forgetemp2717179280024408314]
Wrote /home/dbeer/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml
Deleted /tmp/forgetemp2717179280024408314
_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:625)
at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromGit(ForgePlugin.java:414)
at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromIndex(ForgePlugin.java:233)
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.shell.command.Execution.perform(Execution.java:160)
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:795)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:818)
at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:608)
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.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:606)
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:186)
at java.lang.Thread.run(Thread.java:724)

@VineetReynolds
Copy link
Member

@gastaldi
Copy link
Member

@dmbeer Could you please add more details to the JIRA (like, environment, command run, etc)? We couldn' t reproduce this problem you' re having.

@dmbeer
Copy link
Author

dmbeer commented Aug 21, 2013

@gastaldi This is a fresh install of jboss forge on Ubuntu 12.04.

Java Version:
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

JBoss Forge, version [ 1.3.3.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]

forge command :

forge install-plugin arquillian

Below is my complete forge output

Warning: JAVA_HOME environment variable is not set.
    _____                    
   |  ___|__  _ __ __ _  ___ 
   | |_ / _ \| `__/ _` |/ _ \  \\
   |  _| (_) | | | (_| |  __/  //
   |_|  \___/|_|  \__, |\___| 
                   |___/      

JBoss Forge, version [ 1.3.3.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]
[no project] dbeer $ cd Software-Development/forge-
forge-distribution-1.3.0.Final.zip   forge-distribution-1.3.3.Final/      forge-distribution-1.3.3.Final.zip   forge-examples/                      
[no project] dbeer $ cd Software-Development/forge-examples/
as7forge/           forge-arquillian/   
[no project] dbeer $ cd Software-Development/forge-examples/forge-arquillian/arquillian-demo/
[arquillian-demo] arquillian-demo $ forge install-plugin arquillian
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: arquillian
***INFO*** Checking out plugin source files to [/tmp/forgetemp5433219605941373486] via 'git'
***INFO*** Switching to branch/tag [refs/heads/1.0.6.Final]
 ? The project does not appear to be a Forge Plugin Project, install anyway? [y/N] y
***INFO*** Cleaning up temp workspace [/tmp/forgetemp5433219605941373486]
Wrote /home/dbeer/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml
Deleted /tmp/forgetemp5433219605941373486
***ERROR*** Exception encountered: null (type "set VERBOSE true" to enable stack traces)
[arquillian-demo] arquillian-demo $ forge install-plugin arquillian
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: arquillian
***INFO*** Checking out plugin source files to [/tmp/forgetemp5637042512034915608] via 'git'
***INFO*** Switching to branch/tag [refs/heads/1.0.6.Final]
 ? The project does not appear to be a Forge Plugin Project, install anyway? [y/N] y
***INFO*** Cleaning up temp workspace [/tmp/forgetemp5637042512034915608]
Wrote /home/dbeer/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml
Deleted /tmp/forgetemp5637042512034915608
***ERROR*** Exception encountered: null (type "set VERBOSE true" to enable stack traces)
[arquillian-demo] arquillian-demo $

Hope this helps.

@lincolnthree
Copy link
Member

Do you think you could email us a zip file of your demo project? [email protected] Thanks!

@dmbeer
Copy link
Author

dmbeer commented Aug 21, 2013

@lincolnthree sent project as zip to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants