Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1216

FacetNotFoundException, project can not find a facet that was just installed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • None
    • Plugin API
    • None
    • Hide

      See attached zip for app that reproduces this error.

      • build the maven project
      • run the script, "sh runit.sh"
      Show
      See attached zip for app that reproduces this error. build the maven project run the script, "sh runit.sh"

      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

              lincolnthree Lincoln Baxter III (Inactive)
              rsearls r searls
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: