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:pgo...@gmail.com]
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
p...@iit.edu<mailto:p...@iit.edu>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to