[
https://issues.jboss.org/browse/FORGE-1214?page=com.atlassian.jira.plugin...
]
Lincoln Baxter III closed FORGE-1214.
-------------------------------------
Assignee: Lincoln Baxter III
Resolution: Cannot Reproduce Bug
Thank you for attaching a sample.
Not sure if it's because of upgrade or what, but I was not able to reproduce this
issue. We can revisit at a later time when work continues on this.
Additionally, issues specific to plugins should be filed under the FORGEPLUGINS JIRA
project.
FacetNotFoundException ... JavaSourceFacet on
switchYardConfigurator.createServiceTest()
-----------------------------------------------------------------------------------------
Key: FORGE-1214
URL:
https://issues.jboss.org/browse/FORGE-1214
Project: Forge
Issue Type: Bug
Components: Plugin API
Affects Versions: 2.0.0.Alpha12
Environment: Fedora 16
Java 1.7.0_25
maven 3.1.0
Reporter: R Searls
Assignee: Lincoln Baxter III
Priority: Minor
Labels: FacetNotFoundException, JavaSourceFacet, createServiceTest,
switchyard
Attachments: facets-JavaSourceFacet-Alpha12.zip
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
--
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