Issues accessing data objects when using HelperContext
------------------------------------------------------

                 Key: TUSCANY-1320
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1320
             Project: Tuscany
          Issue Type: Bug
          Components: Java SDO Implementation
    Affects Versions: Java-SDO-beta1
         Environment: OS : Windows XP

            Reporter: Zafrulla Khan
            Priority: Blocker
             Fix For: Java-SDO-beta1


I'm using HelperContext to load the data objects. 

   private static HelperContext helperContext = SDOUtil.createHelperContext(); 
   File xsdFile = new File("SampleSchema.xsd");
  FileInputStream fis = new FileInputStream(xsdFile);
  helperContext.getXSDHelper().define(fis, null);
  fis.close();

Later in the process I'm trying try to access the data objects 
      String str = XSDHelper.INSTANCE.getAppinfo(sdoType, source);
      XMLDocument xmlDoc = XMLHelper.INSTANCE.load(str);
      DataObject metadata = xmlDoc.getRootObject();

This is throwing a NullPointerException. 

Thanks in advance for your help resolving this issue. 


-- 
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