Error encountered when trying to use dynamic Data APIs and SDO code-generated 
APIs at the same time
---------------------------------------------------------------------------------------------------

                 Key: TUSCANY-2031
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2031
             Project: Tuscany
          Issue Type: Bug
          Components: Java SDO Implementation
    Affects Versions: Java-SDO-beta1
         Environment: Windows XP, JDK 1.6
            Reporter: Joseph Nguyen


Can use generated codes from SDO generator to create DataObject(s) and XML 
data.  Once the data has been created, error encountered when trying to use 
dynamic Data APIs to read in to create DataObject(s).  Below shows the details 
of error.
Exception in thread "main" java.lang.ClassCastException: 
org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl
        at 
org.apache.tuscany.sdo.helper.XMLDocumentImpl.getRootObject(XMLDocumentImpl.java:320)
        at tbd.TBD.getRootObjectFromXMLDoc(TBD.java:73)
        at tbd.TBD.main(TBD.java:497)


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to