You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2007/07/16 06:43:04 UTC
[jira] Closed: (TUSCANY-112) Generated SDO2 DataObject class throws
ClassCastException when DataObject.getType() is called
[ https://issues.apache.org/jira/browse/TUSCANY-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Feng closed TUSCANY-112.
--------------------------------
> Generated SDO2 DataObject class throws ClassCastException when DataObject.getType() is called
> ---------------------------------------------------------------------------------------------
>
> Key: TUSCANY-112
> URL: https://issues.apache.org/jira/browse/TUSCANY-112
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Reporter: Raymond Feng
> Priority: Critical
>
> These 4 lines of code will fail:
> import org.apache.tuscany.model.scdl.Module;
> import org.apache.tuscany.model.scdl.ScdlFactory;
> Module module = ScdlFactory.INSTANCE.createModule();
> Type type = ((DataObject) module).getType();
> Exception in thread "main" java.lang.ClassCastException: org.eclipse.emf.ecore.impl.EClassImpl incompatible with commonj.sdo.Type
> at org.apache.tuscany.sdo.impl.DataObjectImpl.getType(DataObjectImpl.java:319)
> at org.apache.tuscany.axis2.stax.AxiomHelper.main(AxiomHelper.java:135)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org