Collection getResource() method

Deepak Vohra <[email protected]> Sat, 5 Nov 2005 18:01:53 -0800 (PST)
Newsgroups gmane.text.xml.xindice.user
Message-ID <[email protected]>
In section 
Retrieving an XML Document from the Database
 
http://xml.apache.org/xindice/guide-developer.html
 
XMLResource document = (XMLResource) col.getResource(args[0]);
 
generates error:

java.lang.NullPointerException
 at org.apache.xindice.xml.SymbolTable.streamFromXML
 
 
 

		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.