Θέμα: Re: [Dspace-general] exception when importing items

anna mavroudi annamavroudi at yahoo.gr
Wed Nov 28 06:32:24 EST 2007


the directory path was D:/dspace_import_test1. After changing to
D:/import_item_test1, the test run was ok,as following:
**Test Run** - not actually importing items.
Destination Collections:
Owning Collection:????????    ?????????
Adding Items from directory:import_item_test1
Generating mapfile: mapfile3
***End of Test Run ***

But when i run the same command without the test flag, the item isn't inserted in dspace, only an empty mapfile is generated....
Anna

Claudia JΓΌrgen <Claudia.Juergen at ub.uni-dortmund.de> έγραψε: Hi Anna,

seems as if the source directory you specified is not valid, check the 
source path specified with the -s option.


hope that helps

Claudia


anna mavroudi schrieb:
> Hi all,
> i'm trying to import items in dspace using the item importer in org.dspace.app.itemimport.ItemImport, but i get an exception as following:
> **Test Run** - not actually importing items.
> Destination Collections:
> Owning Collection:????????    ?????????
> Adding Items from directory:
> Generating mapfile:mapfile7
> java.lang.NullPointerException
> at org.dspace.app.itemimport.ItemImport.addItems
> at org.dspace.app.itemimport.ItemImport.main
> java.lang.NullPointerException
> ***End of Test Run ***
> Any ideas?
> Thanks in advance,
> Anna
> 
> 
>    
> ---------------------------------
>  Χρησιμοποιείτε Yahoo!
>  Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων 
>  http://login.yahoo.com/config/mail?.intl=gr 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Dspace-general mailing list
> Dspace-general at mit.edu
> http://mailman.mit.edu/mailman/listinfo/dspace-general


 		
---------------------------------
 Χρησιμοποιείτε Yahoo!
 Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων 
 http://login.yahoo.com/config/mail?.intl=gr 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dspace-general/attachments/20071128/98c6b6b7/attachment.htm


More information about the Dspace-general mailing list