[Dspace-tech] Java errors when bath importing a collection

49 views
Skip to first unread message

Jeffrey A Trimble

unread,
Aug 26, 2015, 1:59:37 PM8/26/15
to dspac...@lists.sourceforge.net
We are receiving a unique error when batch importing a collection.  Please see below.  I believe it is related to a previous handle glitch we’ve seen.  We’d like some advice.  It’s trying to use a handle already in use.  But how can that be?  This is brand new to the system.  Is there a postgresql glitch?

Processing handle file: handle

read handle: '1989.1/389'

java.lang.RuntimeException: Error while attempting to create identifier for Item id: 369

at org.dspace.identifier.VersionedHandleIdentifierProvider.register(VersionedHandleIdentifierProvider.java:173)

at org.dspace.identifier.IdentifierServiceImpl.register(IdentifierServiceImpl.java:96)

at org.dspace.content.InstallItem.installItem(InstallItem.java:69)

at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:953)

at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:780)

at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:567)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)

at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)

Caused by: java.lang.IllegalStateException: Attempted to create a handle which is already in use: 1989.1/389

at org.dspace.identifier.VersionedHandleIdentifierProvider.createNewIdentifier(VersionedHandleIdentifierProvider.java:460)

at org.dspace.identifier.VersionedHandleIdentifierProvider.register(VersionedHandleIdentifierProvider.java:165)

... 11 more

java.lang.RuntimeException: Error while attempting to create identifier for Item id: 369

Started: 1423241893173

Ended: 1423241893740

Elapsed time: 0 secs (567 msecs)



Thanks in advance,

Jeffrey Trimble
Associate Director &
Head of Information Services
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
“The spice must flow...."

Terry Brady

unread,
Aug 26, 2015, 1:59:39 PM8/26/15
to Jeffrey A Trimble, dspac...@lists.sourceforge.net
Is this happening for any item that you try to create, or is it only happening for this particular item?  Are you experiencing this error when submitting an item through the UI?

I have not seen this error before.  Is it possible that your input metadata is attempting to assign a dc.identifier.uri that looks like a handle?

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
DSpace-tech mailing list
DSpac...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
425-298-5498 (Seattle, WA)
Reply all
Reply to author
Forward
0 new messages