Skip to content

DDI/OAI-DDI exports crash for some records in 5.9 #8452

@bappun

Description

@bappun

What steps does it take to reproduce the issue?
Not sure why it happens on our Dataverse instance.

[2022-02-25T16:29:14.054+0100] [Payara 5.2021.10] [WARNING] [] [edu.harvard.iq.dataverse.harvest.server.web.servlet.OAIServlet] [tid: _ThreadID=105 _ThreadName=http-thread-pool::jk-connector(1)] [timeMillis: 1645802954054] [levelValue: 900] [[
 IO exception in Get; Xrecord: failed to open metadata stream.]]

[2022-02-25T16:29:14.054+0100] [Payara 5.2021.10] [WARNING] [] [javax.enterprise.web] [tid: _ThreadID=105 _ThreadName=http-thread-pool::jk-connector(1)] [timeMillis: 1645802954054] [levelValue: 900] [[
 StandardWrapperValve[OAIServlet]: Servlet.service() for servlet OAIServlet threw exception
java.io.IOException: Xrecord: failed to open metadata stream.
       at edu.harvard.iq.dataverse.harvest.server.xoai.Xrecord.writeToStream(Xrecord.java:98)
       at edu.harvard.iq.dataverse.harvest.server.xoai.XlistRecords.writeToStream(XlistRecords.java:40)
       at edu.harvard.iq.dataverse.harvest.server.web.servlet.OAIServlet.writeListRecords(OAIServlet.java:300)
       at edu.harvard.iq.dataverse.harvest.server.web.servlet.OAIServlet.processRequest(OAIServlet.java:252)
       at edu.harvard.iq.dataverse.harvest.server.web.servlet.OAIServlet.doGet(OAIServlet.java:222)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
       at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1637)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:331)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:211)
       at org.glassfish.tyrus.servlet.TyrusServletFilter.doFilter(TyrusServletFilter.java:282)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:253)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:211)
       at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:226)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:253)

Which version of Dataverse are you using?
5.9

Any related open or closed issues to this bug report?
No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions