Hi Abhishek, It seems to wrong something in the syntax. Pass "-s <sourcedirectory>" name and then try.
Hope it helps. Thanks & Regards Hardik Mishra Ahmedabad -Gujarat (India) Message: 3 Date: Mon, 13 Jun 2011 11:35:13 +0530 From: Abhishek Raval <[email protected]> Subject: [Dspace-tech] problem during import item To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" * i m trying to import one item , which i exported before ......wen i m going to try so it shows the problem of map file .....as shown below * D:\drive E back up\dspace1.7\dspace\bin>dspace import --add --eperson= [email protected] --collection=1 --source=item_export_2011_Jun_13_1_1.zip --mapfile=ma pfile Using DSpace installation in: D:\drive E back up\dspace1.7\dspace Destination collections: Owning Collection: webinito-1 collection Adding items from directory: item_export_2011_Jun_13_1_1.zip Generating mapfile: mapfile java.lang.NullPointerException at java.util.Arrays.sort(Unknown Source) 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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) java.lang.NullPointerException Started: 1307943085734 Ended: 1307943086140 Elapsed time: 0 secs (406 msecs) D:\drive E back up\dspace1.7\dspace\bin> ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

