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)