Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3202

OAI-PMH broken on demo.dspace.org

    Details

    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Not Required

      Description

      From http://demo.dspace.org/oai/request?verb=Identify neither Record (http://demo.dspace.org/oai/request?verb=ListRecords&metadataPrefix=oai_dc) nor Identifiers ( http://demo.dspace.org/oai/request?verb=ListIdentifiers&metadataPrefix=oai_dc) links work. Both throw an exception

      Records:
      ava.lang.NullPointerException
      org.dspace.xoai.data.DSpaceSolrItem.<init>(DSpaceSolrItem.java:43)
      org.dspace.xoai.services.impl.xoai.DSpaceItemSolrRepository.retrieveItems(DSpaceItemSolrRepository.java:119)
      org.dspace.xoai.services.impl.xoai.DSpaceItemSolrRepository.getItems(DSpaceItemSolrRepository.java:102)
      com.lyncode.xoai.dataprovider.data.internal.ItemRepositoryHelper.getItems(ItemRepositoryHelper.java:174)
      com.lyncode.xoai.dataprovider.handlers.ListRecordsHandler.handle(ListRecordsHandler.java:75)
      com.lyncode.xoai.dataprovider.OAIDataProvider.handle(OAIDataProvider.java:213)
      org.dspace.xoai.controller.DSpaceOAIDataProvider.contextAction(DSpaceOAIDataProvider.java:104)
      sun.reflect.GeneratedMethodAccessor317.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:483)
      org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)
      org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
      org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
      org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:743)
      org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:672)
      org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:82)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
      org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

      Identifiers:
      java.lang.NullPointerException
      org.dspace.xoai.data.DSpaceSolrItem.<init>(DSpaceSolrItem.java:43)
      org.dspace.xoai.services.impl.xoai.DSpaceItemSolrRepository.retrieveItems(DSpaceItemSolrRepository.java:119)
      org.dspace.xoai.services.impl.xoai.DSpaceItemSolrRepository.getItemIdentifiers(DSpaceItemSolrRepository.java:78)
      com.lyncode.xoai.dataprovider.data.internal.ItemRepositoryHelper.getItemIdentifiers(ItemRepositoryHelper.java:41)
      com.lyncode.xoai.dataprovider.handlers.ListIdentifiersHandler.handle(ListIdentifiersHandler.java:70)
      com.lyncode.xoai.dataprovider.OAIDataProvider.handle(OAIDataProvider.java:210)
      org.dspace.xoai.controller.DSpaceOAIDataProvider.contextAction(DSpaceOAIDataProvider.java:104)
      sun.reflect.GeneratedMethodAccessor317.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:483)
      org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)
      org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
      org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
      org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:743)
      org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:672)
      org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:82)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
      org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mwood Mark H. Wood
                Reporter:
                shark Ondřej Košarko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: