I have a directory containing 40.000 xml document, I tried to import this directory into the Xindice: xindiceadmin import -c /db -f tmp -e xml -v Created : /db/tmp ERROR : Java Runtime Error ERROR : null java.lang.NullPointerException at org.apache.xindice.tools.command.AddDocument.execute(AddDocument.java:150) at org.apache.xindice.tools.command.ImportTree.importFile(ImportTree.java:189) at org.apache.xindice.tools.command.ImportTree.process(ImportTree.java:167) at org.apache.xindice.tools.command.ImportTree.execute(ImportTree.java:118) at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:331) at org.apache.xindice.tools.XMLTools.process(XMLTools.java:257) at org.apache.xindice.tools.XMLAdminTools.main(XMLAdminTools.java:89) I tried to import a directory containing 5 files and it worked
Any chance you could post what the xindice log says at that point also? Re run the import and just include the last 20 lines of the tomcat log file. Todd (In reply to comment #0) > I have a directory containing 40.000 xml document, I tried to import this > directory into the Xindice: > xindiceadmin import -c /db -f tmp -e xml -v > Created : /db/tmp > ERROR : Java Runtime Error > ERROR : null > java.lang.NullPointerException > at > org.apache.xindice.tools.command.AddDocument.execute(AddDocument.java:150) > at > org.apache.xindice.tools.command.ImportTree.importFile(ImportTree.java:189) > at org.apache.xindice.tools.command.ImportTree.process(ImportTree.java:167) > at org.apache.xindice.tools.command.ImportTree.execute(ImportTree.java:118) > at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:331) > at org.apache.xindice.tools.XMLTools.process(XMLTools.java:257) > at org.apache.xindice.tools.XMLAdminTools.main(XMLAdminTools.java:89) > > I tried to import a directory containing 5 files and it worked