Hi Alexis,

If you are still encountering this issue, then we may need more 
information.  Are there any other error messages that occur *before* that 
error in your logs?  Essentially, could you share more of the logs?

The error you shared isn't clear to me, but it almost looks like the 
indexing process is encountering bad data (it seems to be claiming that it 
is encountering a Bitstream which is thinks should exist, but is "null" 
instead).  So, you also may want to verify that the "dspace database 
migrate ignored" command didn't log any errors in the dspace.log file.

I'm not sure if that will help, but this error does seem confusing to me.  
So, any more information you can share might help us to narrow down the 
cause.

Tim

On Tuesday, June 18, 2024 at 7:42:44 AM UTC-5 [email protected] wrote:

> Good morning DSpace team,
>  
> I'm having problems with index-discovery after upgrading from DSpace 
> version 6.3 to 7.6.1.
>
> First, I run *dspace database migrate ignored* without problems.
>
> Then I run *index-discovery -b* but it gives me the following error:
>
> java.lang.NullPointerException
> at 
> org.dspace.discovery.SolrServiceFileInfoPlugin.additionalIndex(SolrServiceFileInfoPlugin.java:55)
> at 
> org.dspace.discovery.indexobject.IndexFactoryImpl.buildDocument(IndexFactoryImpl.java:67)
> at 
> org.dspace.discovery.indexobject.DSpaceObjectIndexFactoryImpl.buildDocument(DSpaceObjectIndexFactoryImpl.java:30)
> at 
> org.dspace.discovery.indexobject.ItemIndexFactoryImpl.buildDocument(ItemIndexFactoryImpl.java:146)
> at 
> org.dspace.discovery.indexobject.ItemIndexFactoryImpl.buildDocument(ItemIndexFactoryImpl.java:81)
> 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:349)
> at 
> org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:336)
> at 
> org.dspace.discovery.SolrServiceImpl.createIndex(SolrServiceImpl.java:304)
> at org.dspace.discovery.IndexClient.internalRun(IndexClient.java:117)
> at org.dspace.scripts.DSpaceRunnable.run(DSpaceRunnable.java:150)
> at 
> org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:154)
> at 
> org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:132)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:99)
>
> At the moment, I have not found any solution.
>
> If you have any solution, welcome.
>
> Greetings and thanks!
>
> Alexis
>
>
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/4046ac8f-bff8-477d-af05-204d31e02ba0n%40googlegroups.com.

Reply via email to