It seems you've run into an item that doesn't have any parent
communities. This should not normally happen.

https://github.com/DSpace/DSpace/blob/dspace-5.5/dspace-oai/src/main/java/org/dspace/xoai/data/DSpaceSolrItem.java#L43

You can find out which one only if you're the admin of the server
you're trying to harvest. Running
[dspace]/bin/dspace oai import -c -v
will probably show you which item it fails on.


Regards,
~~helix84

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


On Mon, Nov 28, 2016 at 4:46 PM, Pablo Crespo <[email protected]> wrote:
> Hi,
>
> I'm having a problem with a Dspace 5.5 Server.
>
> When I'm trying to access to the list of records It's all ok until 4200 but
> when I try to access to
> http://repository.xxxx.edu.ec:8080/oai/request?verb=ListRecords&resumptionToken=oai_dc////4300
> I got this error.
>
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
>
> exception
>
> org.springframework.web.util.NestedServletException: Request processing
> failed; nested exception is java.lang.NullPointerException
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894)
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>
> root cause
>
> 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.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.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> java.lang.reflect.Method.invoke(Method.java:606)
> org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
> org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>
>
> If anyone give me some lights to resolve this, I will appreciate to much.
>
>
> Thanks in advance.
>
>
> Pablo Cr.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to