On Tue, Apr 04, 2023 at 09:45:19PM -0700,
darryl....@usask.ca wrote:
> Just as an FYI to anyone that might stumble across this, through trial and
> error I discovered that removing the citation-page.enabled_communities
> setting from my local.cfg solved the problem. I haven't looked into the
> DSpace code to sort out why that may be. The communities we had listed in
> that setting existed. We only wanted cover page generation on a couple of
> our communities, so I was able to just list the collections individually in
> citation-page.enabled_collections and achieve the same effect.
>
> - Darryl
The 'main' branch, which is still pretty close to 7.5, has this at
line 163:
citationEnabledCollectionsList.add(collection.getHandle());
My first guess is that one of your collections has no Handle, but I
have no idea how that might happen. I'm assuming that the
UnsupportedOperationException is from trying to add a null reference
to that List.
Pulling the 'collection.getHandle()' out of the 'add' to a local variable
and testing it for null would (a) test this theory, (b) be a good idea
anyway since it's cheap sanitation, and (c) allow you to log *which*
Collection has no Handle (if any).
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/e6546232-8ac6-4ef7-a6ea-629b4174add0n%40googlegroups.com.
--
Mark H. Wood
Lead Technology Analyst
University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu