| Muhilan |
| Newbie |
|
| Chennai |
|
|
| None Specified |
|
| Tuesday, February 9, 2010 |
| Tuesday, February 9, 2010 6:16:52 AM |
1 [0.01% of all post / 0.00 posts per day] |
|
Hi,
I am unable to open the XML file using XMLSpy Java API , I just used the sample code mentioned in the Help section of Altova.
I am always getting Null pointer Exception while opening the file (last line of the code snippet)
public static void main(String[] args)
{
SpyApplication app = null;
SpyDoc oDoc = null;
SpyXMLData oData = null;
SpyXMLData oNewChild = null;
try
{
app = new SpyApplication();
app.ShowApplication( true );
oDoc = app.GetDocuments().OpenFile("C:\\test.xml", true );
Is there any way to solve this , i just placed my XML file within C:...
Thanks , Muhil
|
|