Sometimes Xindice crashes after document addition.
When I added a document (200KB) using ad-command 
shown bellow, then tried to read the document, 
NullPointerException occurred.

xindice ad -c /db/col -f sample.xml
xindice rd -c /db/col -n sample.xml

I can list the documents by the ld-command, but can't read it.
I encountered this trouble several times, but have no idea
about the reason and how to recover the DB, just delete the
collection and reload the DB.

Any advice would be appreciated.

Following is the part of Exception trace.
-------------------------------------------------------------
java.lang.NullPointerException
   at org.apache.xindice.xml.dom.ElementImpl.loadAttributes
(ElementImpl.java:184)
   at org.apache.xindice.xml.dom.ElementImpl.<init>(ElementImpl.
java:93)
   at org.apache.xindice.xml.dom.ContainerNodeImpl.loadChildren
(ContainerNodeImpl.java:155)
   at org.apache.xindice.xml.dom.DocumentImpl.checkLoaded
(DocumentImpl.java:150)
   at org.apache.xindice.xml.dom.DocumentImpl.getDocumentElement
(DocumentImpl.java:262)
   at org.apache.xindice.client.corba.SymbolDeserializer.
getSymbols(SymbolDeserializer.java:115)
   at org.apache.xindice.client.xmldb.CollectionImpl.getResource
(CollectionImpl.java:393)
---------------------------------------------------------------

Yasuhiro Chiba
e-mail:[EMAIL PROTECTED]

Reply via email to