[richfaces-issues] [JBoss JIRA] (RF-11625) Cannot install richfaces Forge Plugin

Jan Papousek (Issue Comment Edited) (JIRA) jira-events at lists.jboss.org
Wed Nov 23 09:15:41 EST 2011


    [ https://issues.jboss.org/browse/RF-11625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645124#comment-12645124 ] 

Jan Papousek edited comment on RF-11625 at 11/23/11 9:15 AM:
-------------------------------------------------------------

I have the same problem (create project -> install richfaces), but when the project is created after the richfaces installation, it works correctly.

EDIT: I must correct my previous statement. If I have richfaces plugin installed, the "entity" command throws throws error.
                
      was (Author: jpapouse):
    I have the same problem (create project -> install richfaces), but when the project is created after the richfaces installation, it works correctly.
                  
> Cannot install richfaces Forge Plugin
> -------------------------------------
>
>                 Key: RF-11625
>                 URL: https://issues.jboss.org/browse/RF-11625
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: third-party
>    Affects Versions: 4.1.0.Milestone3
>         Environment: Ubuntu 11.04 64-bit, Sun JDK 6, Forge 1.0.0.Beta3
>            Reporter: Hendy Irawan
>            Assignee: Brian Leathem
>
> {code}
> [ecommerce-web] ecommerce-sample $ forge install-plugin richfaces
> Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
> ***INFO*** Preparing to install plugin: richfaces
> ***INFO*** Checking out plugin source files to [/tmp/forgetemp162131015872653215/repo] via 'git'
> Receiving objects:      100% (165/165)
> Resolving deltas:       100% (43/43)
> ***WARNING*** Dependency [org.jboss.forge:forge-shell-api:jar::1.0.0-SNAPSHOT] was not correctly marked as PROVIDED scope; this has been corrected.
> ***WARNING*** Dependency [org.jboss.forge:forge-javaee-api:jar::1.0.0-SNAPSHOT] was not correctly marked as PROVIDED scope; this has been corrected.
> ***INFO*** Invoking build with underlying build system.
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.richfaces.forge:richfaces-forge-plugin:jar:1.0.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 27, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building richfaces-forge-plugin 1.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-javaee-api/1.0.0-SNAPSHOT/maven-metadata.xml
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-parent/1.0.0-SNAPSHOT/maven-metadata.xml
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-shell-api/1.0.0-SNAPSHOT/maven-metadata.xml
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-parser-java-api/1.0.0-SNAPSHOT/maven-metadata.xml
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-parser-xml/1.0.0-SNAPSHOT/maven-metadata.xml
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-event-bus/1.0.0-SNAPSHOT/maven-metadata.xml
> [INFO] 
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ richfaces-forge-plugin ---
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ richfaces-forge-plugin ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 5 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ richfaces-forge-plugin ---
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 3 source files to /tmp/forgetemp162131015872653215/repo/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ richfaces-forge-plugin ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /tmp/forgetemp162131015872653215/repo/src/test/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ richfaces-forge-plugin ---
> [INFO] No sources to compile
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ richfaces-forge-plugin ---
> [INFO] No tests to run.
> [INFO] Surefire report directory: /tmp/forgetemp162131015872653215/repo/target/surefire-reports
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ richfaces-forge-plugin ---
> [INFO] Building jar: /tmp/forgetemp162131015872653215/repo/target/richfaces-forge-plugin-1.0.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5.258s
> [INFO] Finished at: Tue Nov 01 20:57:54 WIT 2011
> [INFO] Final Memory: 10M/150M
> [INFO] ------------------------------------------------------------------------
> ***SUCCESS*** Build successful.
> ***INFO*** Installing plugin artifact.
> Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
> Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
> Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
> ***SUCCESS*** Installed from [git://github.com/forge/plugin-richfaces.git] successfully.
> Wrote /tmp/forgetemp162131015872653215/repo/pom.xml
> Wrote /home/ceefour/.forge/plugins/org
> Wrote /home/ceefour/.forge/plugins/org/richfaces
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29/richfaces-forge-plugin.jar
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29/module.xml
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/dependencies
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/dependencies/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/dependencies/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29/module.xml
> Exception in thread "Thread-7" javax.enterprise.event.ObserverException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at java.lang.Class.newInstance0(Class.java:355)
>         at java.lang.Class.newInstance(Class.java:308)
>         at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
>         at org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
>         at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
>         at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
>         at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
>         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:628)
>         at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
>         at org.jboss.forge.shell.project.CurrentProject.setCurrentResource(CurrentProject.java:91)
>         at org.jboss.forge.shell.ShellImpl.init(ShellImpl.java:319)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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.init(ShellImpl$Proxy$_$$_WeldClientProxy.java)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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:85)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NoSuchMethodError: org.jboss.forge.project.Project.hasAllFacets(Ljava/util/Collection;)Z
>         at org.richfaces.forge.RichFacesFacet.isInstalled(RichFacesFacet.java:55)
>         at org.jboss.forge.project.BaseProject.registerFacet(BaseProject.java:159)
>         at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:218)
>         at org.jboss.forge.project.services.ProjectFactory.registerFacets(ProjectFactory.java:188)
>         at org.jboss.forge.project.services.ProjectFactory.findProjectRecursively(ProjectFactory.java:129)
>         at org.jboss.forge.shell.project.ProjectInitializer.doInit(ProjectInitializer.java:87)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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)
>         ... 34 more
> {code}
> Forge terminates, then it drops right to the Linux shell prompt.
> Now Forge won't start at all on this project: :-(
> {code}
> ceefour at annafi:~/git/ecommerce-sample$ forge
> Using Forge at /home/ceefour/vendor/forge-1.0.0.Beta3
> Exception in thread "Thread-2" javax.enterprise.event.ObserverException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at java.lang.Class.newInstance0(Class.java:355)
>         at java.lang.Class.newInstance(Class.java:308)
>         at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
>         at org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
>         at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
>         at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
>         at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
>         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:628)
>         at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
>         at org.jboss.forge.shell.project.CurrentProject.setCurrentResource(CurrentProject.java:91)
>         at org.jboss.forge.shell.ShellImpl.init(ShellImpl.java:319)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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.init(ShellImpl$Proxy$_$$_WeldClientProxy.java)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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:85)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NoSuchMethodError: org.jboss.forge.project.Project.hasAllFacets(Ljava/util/Collection;)Z
>         at org.richfaces.forge.RichFacesFacet.isInstalled(RichFacesFacet.java:55)
>         at org.jboss.forge.project.BaseProject.registerFacet(BaseProject.java:159)
>         at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:218)
>         at org.jboss.forge.project.services.ProjectFactory.registerFacets(ProjectFactory.java:188)
>         at org.jboss.forge.project.services.ProjectFactory.findProjectRecursively(ProjectFactory.java:129)
>         at org.jboss.forge.shell.project.ProjectInitializer.doInit(ProjectInitializer.java:87)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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)
>         ... 34 more
> {code}
> cd-ing doesn't even work:
> {code}
> ceefour at annafi:~/git$ forge
> Using Forge at /home/ceefour/vendor/forge-1.0.0.Beta3
>     _____                    
>    |  ___|__  _ __ __ _  ___ 
>    | |_ / _ \| `__/ _` |/ _ \  \\
>    |  _| (_) | | | (_| |  __/  //
>    |_|  \___/|_|  \__, |\___| 
>                    |___/      
>  
> [no project] git $ cd ecommerce-sample
> ***ERROR*** [cd] null
> {code}
> I can't remove the plugin either:
> {code}
> ceefour at annafi:~/git$ forge
> Using Forge at /home/ceefour/vendor/forge-1.0.0.Beta3
>     _____                    
>    |  ___|__  _ __ __ _  ___ 
>    | |_ / _ \| `__/ _` |/ _ \  \\
>    |  _| (_) | | | (_| |  __/  //
>    |_|  \___/|_|  \__, |\___| 
>                    |___/      
>  
> [no project] git $ forge list-plugins 
> com.redhat.openshift.express.openshift-express-plugin:1.0.0-SNAPSHOT-155e7864-17ee-434f-9d00-1d3a97daceb0
> org.richfaces.forge.richfaces-forge-plugin:1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29
> [no project] git $ forge remove-plugin richfaces
> ***INFO*** Preparing to remove plugin: richfaces
> Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
> ***SUCCESS*** Successfully removed [richfaces]
> Exception in thread "Thread-5" javax.enterprise.event.ObserverException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at java.lang.Class.newInstance0(Class.java:355)
>         at java.lang.Class.newInstance(Class.java:308)
>         at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
>         at org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
>         at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
>         at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
>         at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
>         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:628)
>         at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
>         at org.jboss.forge.shell.project.CurrentProject.setCurrentResource(CurrentProject.java:91)
>         at org.jboss.forge.shell.ShellImpl.init(ShellImpl.java:319)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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.init(ShellImpl$Proxy$_$$_WeldClientProxy.java)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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:85)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NoSuchMethodError: org.jboss.forge.project.Project.hasAllFacets(Ljava/util/Collection;)Z
>         at org.richfaces.forge.RichFacesFacet.isInstalled(RichFacesFacet.java:55)
>         at org.jboss.forge.project.BaseProject.registerFacet(BaseProject.java:159)
>         at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:218)
>         at org.jboss.forge.project.services.ProjectFactory.registerFacets(ProjectFactory.java:188)
>         at org.jboss.forge.project.services.ProjectFactory.findProjectRecursively(ProjectFactory.java:129)
>         at org.jboss.forge.shell.project.ProjectInitializer.doInit(ProjectInitializer.java:87)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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)
>         ... 34 more
> {code}
> It still lives:
> {code}
> ceefour at annafi:~/git$ forge
> Using Forge at /home/ceefour/vendor/forge-1.0.0.Beta3
>     _____                    
>    |  ___|__  _ __ __ _  ___ 
>    | |_ / _ \| `__/ _` |/ _ \  \\
>    |  _| (_) | | | (_| |  __/  //
>    |_|  \___/|_|  \__, |\___| 
>                    |___/      
>  
> [no project] git $ forge remove-plugin richfaces
> ***INFO*** Preparing to remove plugin: richfaces
> Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
> ***SUCCESS*** Successfully removed [richfaces]
> [no project] git $ forge list-plugins 
> com.redhat.openshift.express.openshift-express-plugin:1.0.0-SNAPSHOT-155e7864-17ee-434f-9d00-1d3a97daceb0
> org.richfaces.forge.richfaces-forge-plugin:1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29
> {code}
> Update: It seems the right way to remove a plugin is:
> {code}
> [no project] git $ forge remove-plugin org.richfaces.forge.richfaces-forge-plugin
> ***INFO*** Preparing to remove plugin: org.richfaces.forge.richfaces-forge-plugin
> Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
> ***SUCCESS*** Successfully removed [org.richfaces.forge.richfaces-forge-plugin]
> [no project] git $ forge list-plugins 
> com.redhat.openshift.express.openshift-express-plugin:1.0.0-SNAPSHOT-155e7864-17ee-434f-9d00-1d3a97daceb0
> {code}
> (I'll file a separate bug to Forge)
> The sample project that triggers this bug will be hosted on GitHub here: https://github.com/soluvas
> It's currently live & running on OpenShift Express here: http://ecommerce-soluvas.rhcloud.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list