Bug 38813 - Load directory tree failed
Summary: Load directory tree failed
Status: NEEDINFO
Alias: None
Product: Xindice
Classification: Unclassified
Component: Server (show other bugs)
Version: 1.0
Hardware: Other Linux
: P2 critical
Target Milestone: ---
Assignee: Xindice Developers
URL:
Keywords: ErrorMessage
Depends on:
Blocks:
 
Reported: 2006-03-01 09:25 UTC by Amir
Modified: 2006-10-11 10:13 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amir 2006-03-01 09:25:54 UTC
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
Comment 1 Todd Byrne 2006-10-11 10:13:50 UTC
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