Hi,

This question has been asked before on dspace-tech in this 
thread: https://groups.google.com/g/dspace-tech/c/ioukme4el9o/m/fIwJG2iqAgAJ

The problem is likely that you somehow have an invalid ResourcePolicy in 
your database.  See a possible fix 
here: https://groups.google.com/g/dspace-tech/c/ioukme4el9o/m/F-dAxTzQAgAJ

Tim

On Tuesday, April 15, 2025 at 9:52:12 AM UTC-5 [email protected] wrote:

> Good afternoon;
>
> After migration from dspace 6.3 to dspace 7.5 on Windows Server 2022 
> Datacenter, my database contains 12300 items but Angular UI shows only 8515 
> items. 
>
> I try to delete index and rebuit it stop indexing in 8515 showing this 
> error:
>
> C:\dspace\bin>dspace index-discovery
>
> Using DSpace installation in: C:\dspace
>
> The script has started
>
> Updating Index
>
> java.lang.NullPointerException
>
>
> atorg.dspace.discovery.SolrServiceResourceRestrictionPlugin.additionalIndex(SolrServiceResourceRestrictionPlugin.java:95)
>
>         at 
> org.dspace.discovery.indexobject.IndexFactoryImpl.buildDocument(IndexFactoryImpl.java:67)
>
>  
> atorg.dspace.discovery.indexobject.DSpaceObjectIndexFactoryImpl.buildDocument(DSpaceObjectIndexFactoryImpl.java:30)
>
>         at 
> org.dspace.discovery.indexobject.ItemIndexFactoryImpl.buildDocument(ItemIndexFactoryImpl.java:143)
>
>         at 
> org.dspace.discovery.indexobject.ItemIndexFactoryImpl.buildDocument(ItemIndexFactoryImpl.java:80)
>
>         at 
> org.dspace.discovery.SolrServiceImpl.update(SolrServiceImpl.java:169)
>
>         at 
> org.dspace.discovery.SolrServiceImpl.indexContent(SolrServiceImpl.java:159)
>
>         at 
> org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:344)
>
>         at 
> org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:331)
>
>         at 
> org.dspace.discovery.IndexClient.internalRun(IndexClient.java:130)
>
>         at org.dspace.scripts.DSpaceRunnable.run(DSpaceRunnable.java:104)
>
>         at 
> org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:149)
>
>         at 
> org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:131)
>
>         at 
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
>
>  
>
>

-- 
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 Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-community/fac46b2d-1406-4867-b4a0-fec3b2b6d466n%40googlegroups.com.

Reply via email to