This is also from the screenshot after running the command
INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=00307bc2-5b04-42c9-8cce-613874cef7a1,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
file:/home/dspace/config/dspace.cfg
INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
configuration (log.init.config)
INFO [main] (ConfigurationManager.java:1224) - Loading:
/home/dspace/config/log4j.properties
Destination collections:
Owning Collection: Import Test
Adding items from directory: /home/dspace/cgimport
Generating mapfile: sisay
Adding item from directory 1
Loading dublin core from /home/dspace/cgimport/1/dublin_core.xml
Schema: dc Element: contributor Qualifier: author Value: CCAFS
Schema: dc Element: date Qualifier: accessioned Value:
2013-03-01T17:40:03Z
Schema: dc Element: date Qualifier: available Value:
2013-03-01T17:40:03Z
Schema: dc Element: date Qualifier: issued Value: 2012-11
Schema: dc Element: identifier Qualifier: citation Value: Tackling the
gender gap in agriculture. Copenhagen, Denmark: The CGIAR Research Program on
Climate Change, Agriculture and Food Security (CCAFS)
Schema: dc Element: language Qualifier: iso Value: en
Schema: dc Element: publisher Qualifier: none Value: The CGIAR Research
Program on Climate Change, Agriculture and Food Security (CCAFS)
Schema: dc Element: subject Qualifier: none Value: GENDER
Schema: dc Element: subject Qualifier: none Value: AGRICULTURE
Schema: dc Element: subject Qualifier: none Value: CLIMATE
Schema: dc Element: subject Qualifier: none Value: FOOD SECURITY
Schema: dc Element: title Qualifier: none Value: Tackling the gender
gap in agriculture
Schema: dc Element: type Qualifier: output Value: Brochure
Schema: dc Element: identifier Qualifier: status Value: Open Access
Schema: dc Element: cpsubject Qualifier: cpwfsubject Value: WOMEN
Schema: dc Element: crsubject Qualifier: crpsubject Value: CLIMATE
CHANGE, AGRICULTURE AND FOOD SECURITY
Schema: dc Element: ccsubject Qualifier: ccafsubject Value: LINKING
KNOWLEDGE TO ACTION
Schema: dc Element: targetaudience Qualifier: none Value: ACADEMICS
Processing contents file: /home/dspace/cgimport/1/contents
Bitstream: CCAFS_Gender.pdf Bundle: ORIGINAL
Bitstream: gender-brochure.png Bundle: THUMBNAIL
Processing handle file: handle
read handle: '10568/29000'
java.lang.RuntimeException: Error while attempting to create identifier for
Item id: 30118
at
org.dspace.identifier.VersionedHandleIdentifierProvider.register(VersionedHandleIdentifierProvider.java:173)
at
org.dspace.identifier.IdentifierServiceImpl.register(IdentifierServiceImpl.java:93)
at org.dspace.content.InstallItem.installItem(InstallItem.java:69)
at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:900)
at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:727)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:563)
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)
Caused by: java.lang.ClassCastException: org.dspace.content.Collection cannot
be cast to org.dspace.content.Item
at
org.dspace.identifier.VersionedHandleIdentifierProvider.getHistory(VersionedHandleIdentifierProvider.java:181)
at
org.dspace.identifier.VersionedHandleIdentifierProvider.register(VersionedHandleIdentifierProvider.java:132)
... 10 more
java.lang.RuntimeException: Error while attempting to create identifier for
Item id: 30118
Started: 1378209797283
Ended: 1378209798204
Elapsed time: 0 secs (921 msecs)
swebshet@DSpace:~$
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of helix84
Sent: Tuesday, September 03, 2013 3:00 PM
To: Webshet, Sisay (ILRI)
Cc: [email protected]
Subject: Re: [Dspace-tech] Simple Archive Format
Hi Sisay, yes, other people have encountered this or similar errors, but we
need the full stack trace (including the "Caused by:" lines) from your log
files to determine the source of the problem.
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette