You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Amir Saad <Am...@bibalex.org> on 2006/03/01 09:30:25 UTC
Load directory tree failed
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
I tried to add multiple document using the following command:
xindiceadmin add_multiple_documents -c /db/book -f tmp
after 5000 file, it reported "ERROR: Too many open files"
I hope you can help...
Thank
Amir Saad
Software Engineer
Re: Load directory tree failed
Posted by by...@cns.montana.edu.
What version of Xindice are you using?
Todd
On Wed, 1 Mar 2006, Amir Saad wrote:
> 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
> I tried to add multiple document using the following command:
> xindiceadmin add_multiple_documents -c /db/book -f tmp
> after 5000 file, it reported "ERROR: Too many open files"
>
> I hope you can help...
> Thank
> Amir Saad
> Software Engineer
>
>