If you execute the Import script and write the output to a file (using > 
filename.out), you should see what the problem is in here.  Also check the .map 
file and see if there is a message in there indicating what the problem is.  
I've never had the import blow up where there wasn't a message in one of these 
files indicating what the problem was.

Hope this helps,
Sue


Sue Walker-Thornton
(757) 864-2368

From: Blanco, Jose [mailto:[email protected]]
Sent: Friday, November 04, 2011 4:56 PM
To: Paul Go; Dspace Tech list; DSpace General Mailing List
Subject: Re: [Dspace-tech] Batch import problems

The line of code where it blows up seems to be accessing the directory where 
the data is at.

I would check that you are importing from the right directory, and that the 
permissions there are good.

-Jose

From: Paul Go [mailto:[email protected]]
Sent: Friday, November 04, 2011 4:50 PM
To: Dspace Tech list; DSpace General Mailing List
Subject: [Dspace-tech] Batch import problems

We've successfully been able to batch import items into Dspace before but 
haven't been able to since we've upgraded.  We are regularly running into these 
errors when trying to run the command:

java.lang.NullPointerException
        at java.util.Arrays.sort(Arrays.java:1078)
        at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:606)
        at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:497)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
java.lang.NullPointerException
Started: 1320428221038
Ended: 1320428221196
Elapsed time: 0 secs (158 msecs)

Any suggestions or feedback would be appreciated.


Paul Go

Systems Librarian /
Library Technology Manager
Paul V. Galvin Library
35 West 33rd Street
Chicago, IL  60616
312.567.7997
[email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to