Dealing with the same problem, any clues?
On Thursday, February 25, 2021 at 2:25:34 AM UTC-6 Kosmas Kaifel wrote: > Hello > > with the command ../bin/dspace index-discovery I receive the following > error message > > Exception: Handle is null > org.dspace.discovery.SearchServiceException: Handle is null > at > org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:507) > at org.dspace.discovery.IndexClient.main(IndexClient.java:126) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > > org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226) > at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78) > Caused by: java.lang.IllegalArgumentException: Handle is null > at > org.dspace.handle.HandleManager.findHandleInternal(HandleManager.java:532) > at > org.dspace.handle.HandleManager.resolveToObject(HandleManager.java:322) > at > org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:488) > ... 7 more > SOLR Search Optimize -- Process Started:1614200413002 > SOLR Search Optimize -- Process Finished:1614200413017 > SOLR Search Optimize -- Total time taken:15 (ms). > > With two sql-statment I try to find items without handle but I can not > find any > > 1) select * from handle h where h.handle='' or h.handle is null > > 2) Select i.item_id FROM item i WHERE i.in_archive=True And Not EXISTS > (Select resource_id FROM handle h WHERE h.resource_id = i.item_id > And h.resource_type_id = 2) > > Best Regards > Kosmas > > -- > +---------------------------------------------------------------+ > Universität Ulm > Kommunikations- und Informationszentrum (kiz) > Abt. Informationsmedien > Albert-Einstein-Allee 37 > 89081 Ulm > Tel. 0731/50-15495 > EMail: [email protected] > +----------------------------------------------------------------+ > > -- All messages to this mailing list should adhere to the Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- 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/e0d7ce34-70f2-4f08-8ca8-3e8dcb67d944n%40googlegroups.com.
