[forge-issues] [JBoss JIRA] (FORGE-1216) FacetNotFoundException, project can not find a facet that was just installed.

R Searls (JIRA) jira-events at lists.jboss.org
Thu Sep 19 15:57:03 EDT 2013


     [ https://issues.jboss.org/browse/FORGE-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

R Searls updated FORGE-1216:
----------------------------

    Attachment: facets-SwitchYardFacet_Alpha12.zip


This is the proper app to use.  The other attachment is obsolete.
                
> FacetNotFoundException, project can not find a facet that was just installed.
> -----------------------------------------------------------------------------
>
>                 Key: FORGE-1216
>                 URL: https://issues.jboss.org/browse/FORGE-1216
>             Project: Forge
>          Issue Type: Bug
>          Components: Plugin API
>         Environment: Fedora 16
> Java 1.7.0
> maven 3.1.0
>            Reporter: R Searls
>            Priority: Minor
>         Attachments: facets-SwitchYardFacet.zip, facets-SwitchYardFacet_Alpha12.zip
>
>
> This is occurring in plugin-switchyard code.
> A project object can not find the SwitchYardFacet that was just installed using
> the FacetFactory.  The following exception is thrown.
> org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [class org.switchyard.tools.forge.plugin.SwitchYardFacet] is installed.
> 	at org.jboss.forge.addon.facets.AbstractFaceted.getFacet(AbstractFaceted.java:52)
> 	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.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:92)
> 	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> 	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:68)
> 	at org.jboss.forge.addon.projects.AbstractProject_$$_javassist_8d868af7-af13-441c-a78b-4d421aa1e536.getFacet(AbstractProject_$$_javassist_8d868af7-af13-441c-a78b-4d421aa1e536.java)
> 	at org.jboss.forge.DemoApp.process(DemoApp.java:44)
> 	at org.jboss.forge.DemoApp.main(DemoApp.java:59)
> Caused by: org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [class org.switchyard.tools.forge.plugin.SwitchYardFacet] is installed.
> 	... 11 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list