[JBoss JIRA] (FORGE-411) Error loading module... failed to add resource root 'fpak.jar' at path 'fpak.jar'
by Joern Ohmen (Created) (JIRA)
Error loading module... failed to add resource root 'fpak.jar' at path 'fpak.jar'
---------------------------------------------------------------------------------
Key: FORGE-411
URL: https://issues.jboss.org/browse/FORGE-411
Project: Forge
Issue Type: Bug
Affects Versions: 1.0.0.Beta4
Environment: Mac OS X 10.6.8 64-Bit
jdk 1.6.0_29 64-Bit
JBoss 7.0.2_final
Reporter: Joern Ohmen
Starting forge(snapshot of 2011/12/18) causes this error:
Exception in thread "main" org.jboss.modules.ModuleLoadException: Error loading module from /Users/ivohmej/Development/forge-1.0.0-SNAPSHOT/modules/org/jboss/forge/main/module.xml
at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:249)
at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:200)
at org.jboss.modules.LocalModuleLoader.parseModuleInfoFile(LocalModuleLoader.java:147)
at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:124)
at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:245)
at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:194)
at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:97)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:176)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:172)
at org.jboss.modules.Main.main(Main.java:311)
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[26,40]
Message: Failed to add resource root 'fpak.jar' at path 'fpak.jar'
at org.jboss.modules.ModuleXmlParser.parseResourceRoot(ModuleXmlParser.java:751)
at org.jboss.modules.ModuleXmlParser.parseResources(ModuleXmlParser.java:707)
at org.jboss.modules.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:575)
at org.jboss.modules.ModuleXmlParser.parseDocument(ModuleXmlParser.java:505)
at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:244)
... 9 more
I set FORGE_HOME and JBOSS_HOME...
--
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
13 years
[JBoss JIRA] (FORGE-391) Cannot install richfaces Forge Plugin
by Jan Papousek (Reopened) (JIRA)
[ https://issues.jboss.org/browse/FORGE-391?page=com.atlassian.jira.plugin.... ]
Jan Papousek reopened FORGE-391:
--------------------------------
I've tried to use the RichFaces plugin with Forge 1.0.0-Beta4, but it doesn't work. During the installation the following error appears:
{code}
...
[INFO] Compiling 3 source files to /tmp/forgetemp5123484034544967336/repo/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /tmp/forgetemp5123484034544967336/repo/src/main/java/org/richfaces/forge/RichFacesFacet.java:[55,29] cannot find symbol
symbol : method hasDependency(org.jboss.forge.project.dependencies.Dependency)
location: interface org.jboss.forge.project.facets.DependencyFacet
[ERROR] /tmp/forgetemp5123484034544967336/repo/src/main/java/org/richfaces/forge/RichFacesFacet.java:[143,16] cannot find symbol
symbol : method addDependency(org.jboss.forge.project.dependencies.Dependency)
location: interface org.jboss.forge.project.facets.DependencyFacet
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40.143s
[INFO] Finished at: Wed Dec 21 12:53:31 CET 2011
[INFO] Final Memory: 9M/103M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project richfaces-forge-plugin: Compilation failure: Compilation failure:
[ERROR] /tmp/forgetemp5123484034544967336/repo/src/main/java/org/richfaces/forge/RichFacesFacet.java:[55,29] cannot find symbol
[ERROR] symbol : method hasDependency(org.jboss.forge.project.dependencies.Dependency)
[ERROR] location: interface org.jboss.forge.project.facets.DependencyFacet
[ERROR] /tmp/forgetemp5123484034544967336/repo/src/main/java/org/richfaces/forge/RichFacesFacet.java:[143,16] cannot find symbol
[ERROR] symbol : method addDependency(org.jboss.forge.project.dependencies.Dependency)
[ERROR] location: interface org.jboss.forge.project.facets.DependencyFacet
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
...
{code}
The same happens when I try to package the plugin from its repository [1]
[1] https://github.com/forge/plugin-richfaces
> Cannot install richfaces Forge Plugin
> -------------------------------------
>
> Key: FORGE-391
> URL: https://issues.jboss.org/browse/FORGE-391
> Project: Forge
> Issue Type: Bug
> 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-j...
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-p...
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-s...
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-p...
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-p...
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-e...
> [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@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@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@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@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
13 years
[JBoss JIRA] (FORGE-410) Build fails when adding seam-persistence-plugin
by Tobias Boehnert (Created) (JIRA)
Build fails when adding seam-persistence-plugin
-----------------------------------------------
Key: FORGE-410
URL: https://issues.jboss.org/browse/FORGE-410
Project: Forge
Issue Type: Bug
Components: Plugin Repository
Affects Versions: 1.0.0.Beta4
Environment: Win 7 64bit, JDK 1.6.0_29 32bit
Reporter: Tobias Boehnert
When trying to install seam-persistence, build fails.
{quote}
[foo] Person.java $ forge install-plugin seam-persistence
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: seam-persistence
***INFO*** Checking out plugin source files to [C:\/Users/Tobias/AppData/Local/Temp/forgetemp8058076038030878076/repo] via 'git'
***INFO*** Invoking build with underlying build system.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building plugin-seam-persistence 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ plugin-seam-persiste
nce ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ plugin-seam-persistence ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ plugin-seam-persistence ---
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 1 source file to C:\Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] \Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[136,26] cannot find symbol
symbol : method hasDependency(org.jboss.forge.project.dependencies.DependencyBuilder)
location: interface org.jboss.forge.project.facets.DependencyFacet
[ERROR] \Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[147,24] cannot find symbol
symbol : method addDependency(org.jboss.forge.project.dependencies.DependencyBuilder)
location: interface org.jboss.forge.project.facets.DependencyFacet
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.125s
[INFO] Finished at: Sun Dec 18 23:01:14 CET 2011
[INFO] Final Memory: 8M/22M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project plugin-seam-persistence: Compilation failure: Compilation failure:
[ERROR] \Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[136,26] cannot find symbol
[ERROR] symbol : method hasDependency(org.jboss.forge.project.dependencies.Depe
ndencyBuilder)
[ERROR] location: interface org.jboss.forge.project.facets.DependencyFacet
[ERROR] \Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[147,24] cannot find symbol
[ERROR] symbol : method addDependency(org.jboss.forge.project.dependencies.DependencyBuilder)
[ERROR] location: interface org.jboss.forge.project.facets.DependencyFacet
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
***ERROR*** [forge install-plugin] Build failed.
{quote}
--
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
13 years
[JBoss JIRA] (FORGE-372) Qualifier on Forge EntityManager
by Paul Dijou (Created) (JIRA)
Qualifier on Forge EntityManager
--------------------------------
Key: FORGE-372
URL: https://issues.jboss.org/browse/FORGE-372
Project: Forge
Issue Type: Enhancement
Components: Scaffold
Affects Versions: 1.0.0.Beta3
Reporter: Paul Dijou
Assignee: Lincoln Baxter III
The EntityManager (same for the EntityManagerFactory) generated by Forge in org.metawidget.forge.persistence.DatasourceProducer has no Qualifier. It becomes a problem when I need to create my own EntityManager because they both have the @Default qualifier and CDI throws an exception. The only solution is to add a qualifier to my EntityManager but it bother me since I want it to be the default EntityManager.
To reproduce the problem, just install the seam-persistence plugin, ask "seam-persistence install-managed-persistence-context" and it will generate another EntityManagerFactory with no qualifier and here is the CDI exception.
Would it be possible to add a qualifier like "@ForgeEntityManager" and "@ForgeEntityManagerFactory" on the DatasourceProducer class ? (and, of course, on the PersistenceUtil class too). This way, if a user add it's own EntityManager, it well be the @Default.
Thanks.
--
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
13 years
[JBoss JIRA] (FORGE-413) Forge Configuration throws "java.lang.LinkageError: org/apache/commons/configuration/XMLConfiguration"
by Lincoln Baxter III (Created) (JIRA)
Forge Configuration throws "java.lang.LinkageError: org/apache/commons/configuration/XMLConfiguration"
------------------------------------------------------------------------------------------------------
Key: FORGE-413
URL: https://issues.jboss.org/browse/FORGE-413
Project: Forge
Issue Type: Bug
Components: Plugin API
Affects Versions: 1.0.0.Beta4
Reporter: Lincoln Baxter III
{code}***ERROR*** [mark add] WELD-000049 Unable to invoke [method] @PostConstruct public org.jboss.forge.shell.resources.cache.GlobalBookmarksCache.initialization() on org.jboss.forge.shell.resources.cache.GlobalBookmarksCache@2dffb
org.jboss.forge.shell.exceptions.CommandExecutionException: WELD-000049 Unable to invoke [method] @PostConstruct public org.jboss.forge.shell.resources.cache.GlobalBookmarksCache.initialization() on org.jboss.forge.shell.resources.cache.GlobalBookmarksCache@2dffb
at org.jboss.forge.shell.command.Execution.perform(Execution.java:153)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:125)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:63)
at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:811)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:834)
at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:624)
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.doShell(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:107)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
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.forge.shell.command.Execution.perform(Execution.java:149)
... 31 more
Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.jboss.forge.shell.resources.cache.GlobalBookmarksCache.initialization() on org.jboss.forge.shell.resources.cache.GlobalBookmarksCache@2dffb
at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:595)
at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200)
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340)
at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:122)
at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87)
at org.jboss.forge.shell.resources.cache.GlobalBookmarksCache$Proxy$_$$_WeldClientProxy.addBookmark(GlobalBookmarksCache$Proxy$_$$_WeldClientProxy.java)
at org.jboss.forge.shell.plugins.builtin.MarkPlugin.addMark(MarkPlugin.java:52)
... 36 more
Caused by: java.lang.reflect.InvocationTargetException
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.invoke(WeldMethodImpl.java:193)
at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591)
... 43 more
Caused by: java.lang.reflect.InvocationTargetException
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.solder.unwraps.UnwrapsInvocationHandler.invoke(UnwrapsInvocationHandler.java:81)
at org.javassist.tmp.java.lang.Object_$$_javassist_0.getScopedConfiguration(Object_$$_javassist_0.java)
at org.jboss.forge.shell.resources.cache.GlobalBookmarksCache.initialization(GlobalBookmarksCache.java:25)
... 53 more
Caused by: java.lang.LinkageError: org/apache/commons/configuration/XMLConfiguration
at org.jboss.forge.shell.env.ConfigurationImpl.getUserConfig(ConfigurationImpl.java:96)
at org.jboss.forge.shell.env.ConfigurationImpl.getConfiguration(ConfigurationImpl.java:87)
at org.jboss.forge.shell.env.ConfigurationImpl$Proxy$_$$_WeldClientProxy.getConfiguration(ConfigurationImpl$Proxy$_$$_WeldClientProxy.java)
... 60 more{code}
--
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
13 years
[JBoss JIRA] (FORGE-284) UOE on AS 7.0.2
by Lincoln Baxter III (Closed) (JIRA)
[ https://issues.jboss.org/browse/FORGE-284?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III closed FORGE-284.
------------------------------------
Assignee: Richard Kennard
> UOE on AS 7.0.2
> ---------------
>
> Key: FORGE-284
> URL: https://issues.jboss.org/browse/FORGE-284
> Project: Forge
> Issue Type: Feature Request
> Components: Scaffold
> Affects Versions: 1.0.0.Beta2
> Reporter: Pete Muir
> Assignee: Richard Kennard
>
> Stuff still seems to work (maybe just a cache though?)
> 19:01:28,966 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host]] (http--127.0.0.1-8080-5) Exception Processing ErrorPage[errorCode=404, location=/404.jsf]: javax.servlet.ServletException: no transaction
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:606) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at com.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:134) [rewrite-impl-servlet-1.0.0.Alpha4.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:543) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:528) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:454) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at java.lang.Thread.run(Thread.java:680) [:1.6.0_26]
> Caused by: java.lang.UnsupportedOperationException: no transaction
> at org.jboss.seam.transaction.NoTransaction.begin(NoTransaction.java:47) [seam-persistence-3.0.0.Final.jar:]
> at org.jboss.seam.transaction.DefaultSeamTransaction.begin(DefaultSeamTransaction.java:102) [seam-persistence-3.0.0.Final.jar:]
> at org.jboss.seam.transaction.Work.workInTransaction(Work.java:51) [seam-persistence-3.0.0.Final.jar:]
> at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:188) [seam-persistence-3.0.0.Final.jar:]
> at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) [:1.6.0_26]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_26]
> at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_26]
> at org.jboss.interceptor.proxy.InterceptorInvocation$InterceptorMethodInvocation.invoke(InterceptorInvocation.java:72) [jboss-interceptor-core-2.0.0.Alpha3.jar:2.0.0.Alpha3]
> at org.jboss.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:82) [jboss-interceptor-core-2.0.0.Alpha3.jar:2.0.0.Alpha3]
> at org.jboss.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:133) [jboss-interceptor-core-2.0.0.Alpha3.jar:2.0.0.Alpha3]
> at org.jboss.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:112) [jboss-interceptor-core-2.0.0.Alpha3.jar:2.0.0.Alpha3]
> at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:65) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
> at com.acme.view.-2068363872$Proxy$_$$_WeldSubclass.getItemType(-2068363872$Proxy$_$$_WeldSubclass.java) [classes:]
> at com.acme.view.MemberBean$Proxy$_$$_WeldClientProxy.getItemType(MemberBean$Proxy$_$$_WeldClientProxy.java) [classes:]
> at org.metawidget.forge.navigation.Navigation.getListItems(Navigation.java:47) [metawidget-forge-scaffold-1.0.0-20110922.190837-19.jar:]
> at org.metawidget.forge.navigation.Navigation$Proxy$_$$_WeldClientProxy.getListItems(Navigation$Proxy$_$$_WeldClientProxy.java) [metawidget-forge-scaffold-1.0.0-20110922.190837-19.jar:]
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) [:1.6.0_26]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_26]
> at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_26]
> at javax.el.BeanELResolver.getValue(BeanELResolver.java:302) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]
> at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
> at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
> at org.apache.el.parser.AstValue.getValue(AstValue.java:134) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.el.parser.AstEmpty.getValue(AstEmpty.java:45) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.el.parser.AstNot.getValue(AstNot.java:42) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
> at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
> at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
> at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
> at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:413) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
> at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1750) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
> at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
> at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
> at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:401) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
> at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
> at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
> at com.ocpsoft.rewrite.faces.RewriteViewHandler.renderView(RewriteViewHandler.java:154) [rewrite-integration-faces-1.0.0.Alpha4.jar:]
> at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
> at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
> ... 19 more
--
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
13 years