Index fail after upgrading from Dspace 5.10 to 7.5

38 views
Skip to first unread message

Maruthu Pandian

unread,
Jun 26, 2023, 9:30:47 AM6/26/23
to DSpace Technical Support
Dear DSpace-Tech Team,

We upgraded our DSpace installation from 5.10 to 7.5 and everything went well, but while indexing we are getting the following error message. Kindly help.

The script has started
Updating Index
java.lang.NullPointerException
at org.dspace.discovery.indexobject.InprogressSubmissionIndexFactoryImpl.storeInprogressItemFields(InprogressSubmissionIndexFactoryImpl.java:61)
at org.dspace.discovery.indexobject.InprogressSubmissionIndexFactoryImpl.buildDocument(InprogressSubmissionIndexFactoryImpl.java:53)
at org.dspace.discovery.indexobject.WorkflowItemIndexFactoryImpl.buildDocument(WorkflowItemIndexFactoryImpl.java:73)
at org.dspace.discovery.indexobject.WorkflowItemIndexFactoryImpl.buildDocument(WorkflowItemIndexFactoryImpl.java:36)
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:137)
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)

Regards
Maruthu Pandiyan
The Institute of Mathematical Sciences, Chennai

DSpace Technical Support

unread,
Jul 5, 2023, 1:43:37 PM7/5/23
to DSpace Technical Support
Hi,

That error almost seems to imply that, either Solr is not setup properly, or somehow you have an Item that has *no* last modified date.  If some objects appear to index properly (and you are not seeing a ton of errors in your dspace.log file), that's likely a sign that Solr may be working properly overall.   In that case, you may want to check your "item" database table to see if you somehow have an entry in there with an empty or null "last_modified" column.

Otherwise, I'd recommend looking at our troubleshooting guide (https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)) or double checking that Solr is setup properly per the install/upgrade instructions at https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace and https://wiki.lyrasis.org/display/DSDOC7x/Upgrading+DSpace

We also do have a guide for migrating from older versions on an old server, if that is more helpful: https://wiki.lyrasis.org/display/DSDOC7x/Migrating+DSpace+to+a+new+server

If none of that helps, we may need more information on your setup and which parts of the upgrade are "working" already.   

Tim
Reply all
Reply to author
Forward
0 new messages