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:
kosmas...@uni-ulm.de
+----------------------------------------------------------------+