Dear helix84,

thanks for your answer.
>you might remove the catch blocks
That means I have to change the java code? 

Trying it with another handle
10.2312/3dor.20141043.001-008
instead of 
10.2312/3dor.20141043
works.

Best regards
Stefanie

-----Ursprüngliche Nachricht-----
Von: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] Im Auftrag von helix84
Gesendet: Montag, 15. Dezember 2014 14:54
An: Stefanie Behnke
Cc: dspace-tech
Betreff: Re: [Dspace-tech] Error while attempting to create handle

On Mon, Dec 15, 2014 at 2:31 PM, Stefanie Behnke 
<dsp...@eurographics-office-goslar.de> wrote:
> 2014-12-15 11:54:43,837 ERROR
> org.dspace.identifier.VersionedHandleIdentifierProvider @ 
> <email-address>::Error while attempting to create handle:Item 
> id\colon; 7045
>
> java.lang.NullPointerException

The first message actually hides the problem and only tells you with which 
item_id it occurred. It could have happened in any of these
blocks:

https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/identifier/VersionedHandleIdentifierProvider.java#L116
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/identifier/VersionedHandleIdentifierProvider.java#L172
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/identifier/VersionedHandleIdentifierProvider.java#L225
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/identifier/VersionedHandleIdentifierProvider.java#L261

Are there no more details on the NullPointerException?

In practice, I've seen this error when I was trying to import an item with a 
handle that already existed in the repository, so check for that first. If that 
doesn't help, you might remove the catch blocks to see the actual error and 
line where it occurs.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to