OAI problem: "Can't overwrite cause"

72 views
Skip to first unread message

George Kozak

unread,
Oct 1, 2015, 4:45:23 PM10/1/15
to DSpace Technical Support

I have been getting a lot of complains that people cannot get full List of records from my DSpace repository (https://ecommons.cornell.edu) using OAI.
I am running DSpace 5.2 XMLUI (Mirage2).
I decided to do a clean index and ran:
<dspace>/bin/dspace oai -c
It ran for 9400 items and then I got the following error:
java.lang.IllegalStateException: Can't overwrite cause with java.io.IOException: Invalid white space character (0x19) in text to output at java.lang.Throwable.initCause(Throwable.java:456)

Does anyone have any ideas on how I can proceed.  Around 9,000 items is all that anyone can get from my repository, so I am assuming that import failure is what is causing my problem.
Any help will be appreciated.

--
***************************
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

Stuart A. Yeates

unread,
Oct 1, 2015, 5:03:19 PM10/1/15
to George Kozak, DSpace Technical Support
If I understand correctly that message means that an error was thrown but the exact nature of the error has been obscured by non-printable unicode characters in the original error message.

I'm going to take a punt and suggest that some metadata in your repository contains unprintable unicode characters.

cheers
stuart
--
...let us be heard from red core to black sky

--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

helix84

unread,
Oct 1, 2015, 5:12:08 PM10/1/15
to George Kozak, DSpace Technical Support

George Kozak

unread,
Oct 1, 2015, 5:15:42 PM10/1/15
to Stuart A. Yeates, DSpace Technical Support
Stuart:

That makes sense, but I have 34,000 records in my repository.  Any ideas on how to find the bad record? :-(

Fitchett, Deborah

unread,
Oct 1, 2015, 5:34:41 PM10/1/15
to George Kozak, DSpace Technical Support

Try adding the -v  (verbose) flag to your command – it should show you the items it’s operating on. Presumably the last item before the error message will be the one with the problem.

 

Deborah


P Please consider the environment before you print this email.
"The contents of this e-mail (including any attachments) may be confidential and/or subject to copyright. Any unauthorised use, distribution, or copying of the contents is expressly prohibited. If you have received this e-mail in error, please advise the sender by return e-mail or telephone and then delete this e-mail together with all attachments from your system."

Reply all
Reply to author
Forward
0 new messages