I don't know if this problem is specific to ORACLE and apologies if this
has already been reported. If there is already a patch, please reply.
Please note that OAI harvesting will fail in the following case:
ORACLE 10g + DSPACE 1.4.2
Where there is an item where METADATAVALUE.TEXT_VALUE='null'
That is the text "null" is written to the field.
The harvester will reach that items record and receive an error
E.G.
dspace-oai/request?verb=ListRecords&resumptionToken=0001-01-01T00:00:00Z
/9999-12-31T23:59:59Z//oai_dc/6000
This is the log from our tomcat server
java.lang.NullPointerException
at
org.dspace.app.oai.OAIDCCrosswalk.createMetadata(OAIDCCrosswalk.java:135
)
at
ORG.oclc.oai.server.catalog.RecordFactory.create(RecordFactory.java:332)
at
ORG.oclc.oai.server.catalog.RecordFactory.create(RecordFactory.java:243)
at
ORG.oclc.oai.server.catalog.RecordFactory.create(RecordFactory.java:211)
at
org.dspace.app.oai.DSpaceOAICatalog.doRecordHarvest(DSpaceOAICatalog.jav
a:575)
at
org.dspace.app.oai.DSpaceOAICatalog.listRecords(DSpaceOAICatalog.java:50
3)
at
ORG.oclc.oai.server.verb.ListRecords.construct(ListRecords.java:209)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at ORG.oclc.oai.server.OAIHandler.getResult(OAIHandler.java:383)
at ORG.oclc.oai.server.OAIHandler.doGet(OAIHandler.java:292)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
678)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
at java.lang.Thread.run(Thread.java:595)
Kind regards,
Gabrielle.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech