oai-pmh error

42 views
Skip to first unread message

Comité Cinco

unread,
Jul 17, 2020, 2:08:25 PM7/17/20
to DSpace Technical Support
Hello!

When I put in the bowser [url_dspace]/oai/request?verb=ListIdentifiers&metadataPrefix=oai_dc , the next error is showed :

Response Date 2020-07-17 16:06:32
Error

No matches for the query


After running in the server : [dspace_server]/dspace oai import -o -c -v the next message is showed at the console:

Item 032778de-d7c4-4912-9cc7-f981e38ef34c with handle 6789/601 indexed

Item bd0f2bcf-ccf5-41f5-91a6-717bfb3b4b60 with handle 6789/864 indexed

Item 8f72bec1-168f-46b5-9e4f-d3a678d7aea8 with handle 6789/270 indexed

java.lang.NullPointerException

        at org.dspace.xoai.app.XOAI.willChangeStatus(XOAI.java:438)

        at org.dspace.xoai.app.XOAI.index(XOAI.java:368)

        at org.dspace.xoai.app.XOAI.index(XOAI.java:280)

at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:227)  

How can I fix it ?

  Thanks.

        




Ramón Cordeiro

unread,
Jul 18, 2020, 10:04:02 AM7/18/20
to DSpace Technical Support
Comité, this can help you


I suggest you to add in line: ' System.out.println("Trying to index into oai item with id:"+item.getID().toString()); '
the handle of ITEM. Because sometimes you won't can find item by ID in interface. Even with Item handle is easy way to find in web interface.
In XOAI.java is statement variable handle

        




Reply all
Reply to author
Forward
0 new messages