-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
2.0.0.Alpha12
The offending method is in plugin-switchyard.
A call to switchYardConfigurator.createServiceTest(project, className, packageName); produces the following exception below.
org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.parser.java.facets.JavaSourceFacet] is installed.
at org.jboss.forge.addon.facets.AbstractFaceted.getFacet(AbstractFaceted.java:52)
at org.switchyard.tools.forge.plugin.SwitchYardConfigurator.createServiceTest(SwitchYardConfigurator.java:210)
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.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:52)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:64)
at org.switchyard.tools.forge.plugin.SwitchYardConfigurator_$$javassist_f0558708-2813-450d-a3c3-25d5afb55590.createServiceTest(SwitchYardConfigurator$$_javassist_f0558708-2813-450d-a3c3-25d5afb55590.java)
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.switchyard.tools.forge.plugin.SwitchYardConfigurator_$$javassist_c592178f-920d-4d68-962d-2bc6b4a52cde.createServiceTest(SwitchYardConfigurator$$_javassist_c592178f-920d-4d68-962d-2bc6b4a52cde.java)
at org.jboss.forge.DemoApp.createService(DemoApp.java:80)
at org.jboss.forge.DemoApp.processActions(DemoApp.java:60)
at org.jboss.forge.DemoApp.process(DemoApp.java:32)
at org.jboss.forge.DemoApp.main(DemoApp.java:92)
Caused by: org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.parser.java.facets.JavaSourceFacet] is installed.
... 22 more