Open dmbeer opened 11 years ago
Tracking as https://issues.jboss.org/browse/FORGEPLUGINS-133
@dmbeer Could you please add more details to the JIRA (like, environment, command run, etc)? We couldn' t reproduce this problem you' re having.
@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.
Do you think you could email us a zip file of your demo project? forge-dev@lists.jboss.org Thanks!
@lincolnthree sent project as zip to.
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)