hi,
When i try to do index-discovery get this error
./dspace index-discovery
The script has started
Updating Index
java.lang.IllegalArgumentException: More than one result found
at
org.dspace.core.AbstractHibernateDAO.uniqueResult(AbstractHibernateDAO.java:242)
at
org.dspace.content.dao.impl.WorkspaceItemDAOImpl.findByItem(WorkspaceItemDAOImpl.java:84)
at
org.dspace.content.WorkspaceItemServiceImpl.findByItem(WorkspaceItemServiceImpl.java:212)
at
org.dspace.content.ItemServiceImpl.getParentObject(ItemServiceImpl.java:1332)
at
org.dspace.content.ItemServiceImpl.getParentObject(ItemServiceImpl.java:83)
at
org.dspace.discovery.SolrServiceResourceRestrictionPlugin.additionalIndex(SolrServiceResourceRestrictionPlugin.java:129)
at
org.dspace.discovery.indexobject.IndexFactoryImpl.buildDocument(IndexFactoryImpl.java:67)
at
org.dspace.discovery.indexobject.InprogressSubmissionIndexFactoryImpl.buildDocument(InprogressSubmissionIndexFactoryImpl.java:46)
at
org.dspace.discovery.indexobject.WorkspaceItemIndexFactoryImpl.buildDocument(WorkspaceItemIndexFactoryImpl.java:63)
at
org.dspace.discovery.indexobject.WorkspaceItemIndexFactoryImpl.buildDocument(WorkspaceItemIndexFactoryImpl.java:30)
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.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)
Any idea,
Humberto
--
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/39eea935-4705-45fd-8ce8-50a0f105e265n%40googlegroups.com.