Hi Matías,

This error is likely to be related with a resource policy in your database 
that has a null eperson entry in the database. The null pointer exception 
is being thrown 
here: 
https://github.com/DSpace/DSpace/blob/79d70be6fb00cfb2f48f2f794ec188f511d6f1fe/dspace-api/src/main/java/org/dspace/discovery/SolrServiceResourceRestrictionPlugin.java#L119

Looks like it will be useful to create an issue ticket.

Best,
Agustina

On Monday, 10 April 2023 at 19:41:51 UTC+1 Matías Javier Saavedra Gajardo 
wrote:

> Hi dears.
>
> I migrated a database from dspace 6.4 to dsapce 7.3, at the time of 
> migrating I had no error, but at the time of indexing it gives me the 
> following error.
> It is appreciated if you help me to solve the error.
>
> java.lang.NullPointerException
>         at 
> org.dspace.discovery.SolrServiceResourceRestrictionPlugin.additionalIndex(SolrServiceResourceRestrictionPlugin.java:119)
>         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.CollectionIndexFactoryImpl.buildDocument(CollectionIndexFactoryImpl.java:84)
>         at 
> org.dspace.discovery.indexobject.CollectionIndexFactoryImpl.buildDocument(CollectionIndexFactoryImpl.java:41)
>         at 
> org.dspace.discovery.SolrServiceImpl.update(SolrServiceImpl.java:165)
>         at 
> org.dspace.discovery.SolrServiceImpl.indexContent(SolrServiceImpl.java:155)
>         at 
> org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:340)
>         at 
> org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:327)
>         at 
> org.dspace.discovery.SolrServiceImpl.createIndex(SolrServiceImpl.java:295)
>         at 
> org.dspace.discovery.IndexClient.internalRun(IndexClient.java:72)
>         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)
>
> Thanks in advance.
>
> Matias.
>

-- 
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/c0167848-0624-466f-ae45-449500881db4n%40googlegroups.com.
  • [dspace-tec... 'Matías Javier Saavedra Gajardo' via DSpace Technical Support
    • [dspac... Agustina Martinez-Garcia

Reply via email to