You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Andrew Mak (JIRA)" <de...@tuscany.apache.org> on 2009/08/28 18:32:32 UTC
[jira] Created: (TUSCANY-3247) Cannot get
WidgetImplementationFactory (NoSuchMethodException)
Cannot get WidgetImplementationFactory (NoSuchMethodException)
--------------------------------------------------------------
Key: TUSCANY-3247
URL: https://issues.apache.org/jira/browse/TUSCANY-3247
Project: Tuscany
Issue Type: Bug
Components: Java SCA Widget
Affects Versions: Java-SCA-1.5
Reporter: Andrew Mak
The following exception is thrown when trying to get a WidgetImplementationFactory from the ModelFactoryExtensionPoint:
Caused by: java.lang.NoSuchMethodException: org.apache.tuscany.sca.implementation.widget.WidgetImplementationFactory.newInstance()
at java.lang.Class.throwNoSuchMethodException(Class.java:283)
at java.lang.Class.getMethod(Class.java:825)
at org.apache.tuscany.sca.extensibility.ServiceDiscovery.newFactoryClassInstance(ServiceDiscovery.java:165)
at org.apache.tuscany.sca.contribution.DefaultModelFactoryExtensionPoint.getFactory(DefaultModelFactoryExtensionPoint.java:118)
I tried newing a WidgetImplementationFactory myself and then adding it the ModelFactoryExtensionPoint. However, the factory does not appear to get cached (seems to be due to the fact that WidgetImplementationFactory does not implement any interface and extends directly from Object)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TUSCANY-3247) Cannot get
WidgetImplementationFactory (NoSuchMethodException)
Posted by "Luciano Resende (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luciano Resende resolved TUSCANY-3247.
--------------------------------------
Resolution: Fixed
Fix Version/s: Java-SCA-Next
Java-SCA-1.5.1
Fixed and verified it's working by instantiating the factory via extension point mechanism.
> Cannot get WidgetImplementationFactory (NoSuchMethodException)
> --------------------------------------------------------------
>
> Key: TUSCANY-3247
> URL: https://issues.apache.org/jira/browse/TUSCANY-3247
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Widget
> Affects Versions: Java-SCA-1.5
> Reporter: Andrew Mak
> Assignee: Luciano Resende
> Fix For: Java-SCA-1.5.1, Java-SCA-Next
>
>
> The following exception is thrown when trying to get a WidgetImplementationFactory from the ModelFactoryExtensionPoint:
> Caused by: java.lang.NoSuchMethodException: org.apache.tuscany.sca.implementation.widget.WidgetImplementationFactory.newInstance()
> at java.lang.Class.throwNoSuchMethodException(Class.java:283)
> at java.lang.Class.getMethod(Class.java:825)
> at org.apache.tuscany.sca.extensibility.ServiceDiscovery.newFactoryClassInstance(ServiceDiscovery.java:165)
> at org.apache.tuscany.sca.contribution.DefaultModelFactoryExtensionPoint.getFactory(DefaultModelFactoryExtensionPoint.java:118)
> I tried newing a WidgetImplementationFactory myself and then adding it the ModelFactoryExtensionPoint. However, the factory does not appear to get cached (seems to be due to the fact that WidgetImplementationFactory does not implement any interface and extends directly from Object)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (TUSCANY-3247) Cannot get
WidgetImplementationFactory (NoSuchMethodException)
Posted by "Luciano Resende (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luciano Resende reassigned TUSCANY-3247:
----------------------------------------
Assignee: Luciano Resende
> Cannot get WidgetImplementationFactory (NoSuchMethodException)
> --------------------------------------------------------------
>
> Key: TUSCANY-3247
> URL: https://issues.apache.org/jira/browse/TUSCANY-3247
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Widget
> Affects Versions: Java-SCA-1.5
> Reporter: Andrew Mak
> Assignee: Luciano Resende
>
> The following exception is thrown when trying to get a WidgetImplementationFactory from the ModelFactoryExtensionPoint:
> Caused by: java.lang.NoSuchMethodException: org.apache.tuscany.sca.implementation.widget.WidgetImplementationFactory.newInstance()
> at java.lang.Class.throwNoSuchMethodException(Class.java:283)
> at java.lang.Class.getMethod(Class.java:825)
> at org.apache.tuscany.sca.extensibility.ServiceDiscovery.newFactoryClassInstance(ServiceDiscovery.java:165)
> at org.apache.tuscany.sca.contribution.DefaultModelFactoryExtensionPoint.getFactory(DefaultModelFactoryExtensionPoint.java:118)
> I tried newing a WidgetImplementationFactory myself and then adding it the ModelFactoryExtensionPoint. However, the factory does not appear to get cached (seems to be due to the fact that WidgetImplementationFactory does not implement any interface and extends directly from Object)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.