Forgot to add that disabling the cache (setting 
`webui.strengths.cache=false`) results in "Error fetching collection" and 
"error.top-level-communities". No communities or collections will load. 

>From the console & error logs: java.lang.NullPointerException: Cannot 
invoke "org.dspace.core.DBConnection.getSession()" because the return value 
of "org.dspace.core.Context.getDBConnection()" is null
        at 
org.dspace.core.AbstractHibernateDAO.getHibernateSession(AbstractHibernateDAO.java:59)
 
~[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.core.AbstractHibernateDAO.createQuery(AbstractHibernateDAO.java:137) 
~[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.content.dao.impl.ItemDAOImpl.countItems(ItemDAOImpl.java:395) 
~[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.content.ItemServiceImpl.countItems(ItemServiceImpl.java:1589) 
~[dspace-api-7.6.1.jar:7.6.1]
        at org.dspace.browse.ItemCounter.getCount(ItemCounter.java:131) 
~[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.content.CommunityServiceImpl.countArchivedItems(CommunityServiceImpl.java:723)
 
~[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.content.Community.countArchivedItems(Community.java:275) 
~[dspace-api-7.6.1.jar:7.6.1]
... (etc) "

On Monday, March 25, 2024 at 3:21:00 PM UTC-7 Amy Ball Wicklund wrote:

> We are seeing the same problematic behavior in our production 
> installation. Incorrect inaccurate item counts, even on publicly accessible 
> collections & items, even days after the most recent submission. 
>
>
>
> On Saturday, March 9, 2024 at 1:51:04 AM UTC-8 Caty wrote:
>
>> Hi,
>>
>> The item counter for collection  
>> https://demo.dspace.org/collections/48d86c8d-4a35-4c79-b7b7-26a41995cc1a 
>> (READ/DEFAULT_ITEM_READ/DEFAULT_BITSTREAM_READ) with 2 items
>>
>> is stiil 1 :  DDD  
>> <https://demo.dspace.org/collections/48d86c8d-4a35-4c79-b7b7-26a41995cc1a>(1)
>>   
>> , although the second item has been submitted on the 5th of March, 4 days 
>> ago.
>>
>>
>>
>> Best regards,
>> Caty
>>
>

-- 
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/cc854395-5142-41d4-800d-a20bec74df1cn%40googlegroups.com.

Reply via email to