[forge-issues] [JBoss JIRA] (FORGE-1979) FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.javaee.servlet.ServletFacet] is installed. when scaffold-setup is executed
George Gastaldi (JIRA)
issues at jboss.org
Thu Aug 14 12:40:29 EDT 2014
[ https://issues.jboss.org/browse/FORGE-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993031#comment-12993031 ]
George Gastaldi commented on FORGE-1979:
----------------------------------------
This happens because the project object that is inside ScaffoldSetupContext is not refreshed.
> FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.javaee.servlet.ServletFacet] is installed. when scaffold-setup is executed
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-1979
> URL: https://issues.jboss.org/browse/FORGE-1979
> Project: Forge
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Scaffold
> Affects Versions: 2.7.2.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.8.0.Final
>
>
> {code}
> 12:49:43,797 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter] (AeshProcess: 4) No Facet of type [interface org.jboss.forge.addon.javaee.servlet.ServletFacet] is installed.: org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.javaee.servlet.ServletFacet] is installed.
> at org.jboss.forge.addon.facets.AbstractFaceted.getFacet(AbstractFaceted.java:51) [facets-api-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
> at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateIndex(FacesScaffoldProvider.java:374)
> at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.setup(FacesScaffoldProvider.java:210)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_11]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_11]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_11]
> at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_11]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:40) [furnace-api-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
> at org.jboss.forge.addon.scaffold.spi.ScaffoldProvider_$$_javassist_8a93a4a0-975b-4983-a86e-dd9080469182.setup(ScaffoldProvider_$$_javassist_8a93a4a0-975b-4983-a86e-dd9080469182.java)
> at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteSetupStep.execute(ScaffoldExecuteSetupStep.java:62)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_11]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_11]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_11]
> at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_11]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:40) [furnace-api-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
> at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteSetupStep_$$_javassist_183e3256-0e60-4ae7-a829-1f88435a45d0.execute(ScaffoldExecuteSetupStep_$$_javassist_183e3256-0e60-4ae7-a829-1f88435a45d0.java)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:153) [ui-impl-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152) [ui-impl-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
> at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74) [shell-impl-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
> at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:325) [aesh-0.56.jar:0.56]
> at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40) [aesh-0.56.jar:0.56]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the forge-issues
mailing list