-
-
Notifications
You must be signed in to change notification settings - Fork 471
Open
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Description
I will try and fix..
Replace with a null-safe guard
if (pluginInfo.name != null && pluginInfo.name.equals("query")) {
...
}
Or even better (cleaner):
if ("query".equals(pluginInfo.name)) {
...
}
E 2026/01/04 05:40:50 ConcurrentLog Cannot invoke "String.equals(Object)" because "pluginInfo.name" is null
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "pluginInfo.name" is null
at net.yacy.cora.federate.solr.connector.EmbeddedSolrConnector.config(EmbeddedSolrConnector.java:134)
at net.yacy.cora.federate.solr.connector.EmbeddedSolrConnector.<init>(EmbeddedSolrConnector.java:112)
at net.yacy.cora.federate.solr.instance.InstanceMirror.getEmbeddedConnector(InstanceMirror.java:151)
at net.yacy.cora.federate.solr.instance.InstanceMirror.getGenericMirrorConnector(InstanceMirror.java:180)
at net.yacy.cora.federate.solr.instance.InstanceMirror.getDefaultMirrorConnector(InstanceMirror.java:174)
at net.yacy.search.index.Fulltext.getDefaultConnector(Fulltext.java:231)
at net.yacy.search.index.ErrorCache.push(ErrorCache.java:113)
at net.yacy.crawler.data.CrawlQueues$Loader.run(CrawlQueues.java:936)
Patched.
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior