Hi,

My task as in the title both from crontab and directly called by me returns 
the same error:

[dspace@dspace dspace]$ ./bin/dspace stats-util -s
Exception: Cannot invoke "java.lang.CharSequence.toString()" because 
"target" is null
java.lang.NullPointerException: Cannot invoke 
"java.lang.CharSequence.toString()" because "target" is null
        at java.base/java.lang.String.replace(String.java:2958)
        at 
org.dspace.statistics.SolrLoggerServiceImpl.createCore(SolrLoggerServiceImpl.java:1306)
        at 
org.dspace.statistics.SolrLoggerServiceImpl.shardSolrIndex(SolrLoggerServiceImpl.java:1238)
        at 
org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:102)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)
        at 
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
        at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)

Statistics are collected from October 2022. What can block the ability to 
split statistics?

Regards,
Mariusz

-- 
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/0d10e1cd-1c43-45db-8bab-9657335c247cn%40googlegroups.com.

Reply via email to