Hi,

Running DSpace 7.6.1 with data migrated from DSpace 5.6, logged in as an 
administrator, navigating to Access control -> Groups and then accessing a 
specific page appears to be stuck "Loading". Developer Tools in the browser 
shows a 500 status for 
/server/api/eperson/groups/search/byMetadata?page=83&size=5&query=&embed=object 
and dspace.log contains:

ERROR e83bd9a9-54f0-485c-888f-28336f741126 0b5cb60f-db73-4c0c-9e9d-9c28193b937f 
org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An exception 
has occurred (status:500)
java.lang.NullPointerException: Cannot invoke 
"org.dspace.content.Collection.getID()" because "collection" is null
        at 
org.dspace.content.CollectionServiceImpl.getDefaultReadGroupName(CollectionServiceImpl.java:939)
 ~[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.eperson.GroupServiceImpl.lambda$getParentObject$0(GroupServiceImpl.java:806)
 ~[dspace-api-7.6.1.jar:7.6.1]
        at 
java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178) ~[?:?]
        at 
java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1602) ~[?:?]
        at 
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
 ~[?:?]
        at 
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) 
~[?:?]
        at 
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) ~[?:?]
        at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) 
~[?:?]
        at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 
~[?:?]
        at 
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
        at 
java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647) ~[?:?]
        at 
org.dspace.eperson.GroupServiceImpl.getParentObject(GroupServiceImpl.java:807) 
~[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.eperson.GroupServiceImpl.getParentObject(GroupServiceImpl.java:66) 
~[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.app.rest.repository.GroupParentObjectLinkRepository.getParentObject(GroupParentObjectLinkRepository.java:63)
 ~[classes/:7.6.1]
        at 
org.dspace.app.rest.repository.GroupParentObjectLinkRepository$$FastClassBySpringCGLIB$$abe50bf3.invoke(<generated>)
 ~[classes/:7.6.1]
(and so on)

After some experimentation I narrowed down the 500 response to the Anonymous 
group, and it only happens with "embed=object". I assume there is something 
problematic with the migrated data (I don't see the issue with a fresh 
install), but I've been unable to work out what it could be. Any pointers in 
the right direction would be gratefully received.

Thanks,
Alex

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/LO0P265MB5432834398919539D81DE34FCB4B2%40LO0P265MB5432.GBRP265.PROD.OUTLOOK.COM.

Reply via email to