Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

silly me, fix for the fix as advised by theli

hydrox9da3aa74d33a
diff --git a/source/de/anomic/plasma/plasmaCrawlLURL.java b/source/de/anomic/plasma/plasmaCrawlLURL.java
index dddc471f5..b2e035d88 100644
--- a/source/de/anomic/plasma/plasmaCrawlLURL.java
+++ b/source/de/anomic/plasma/plasmaCrawlLURL.java
@@ -912,7 +912,7 @@ public final class plasmaCrawlLURL extends indexURL {
lastHash = entry.hash();
}
} catch (RuntimeException e) {
- if (e.getMessage().length() != 0 && e.getMessage().indexOf("not found in LURL") != -1) {
+ if (e.getMessage() != null && e.getMessage().indexOf("not found in LURL") != -1) {
serverLog.logWarning("URLDBCLEANER", "urlHash not found in LURL", e);
}
else {