Skip to content

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

*) e.getMessage().indexOf() can only be used if there is actually an ExceptionMessage.

hydroxbb3d9a55823e
diff --git a/source/de/anomic/plasma/plasmaCrawlLURL.java b/source/de/anomic/plasma/plasmaCrawlLURL.java
index 7d45a2e14..dddc471f5 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().indexOf("not found in LURL") != -1) {
+ if (e.getMessage().length() != 0 && e.getMessage().indexOf("not found in LURL") != -1) {
serverLog.logWarning("URLDBCLEANER", "urlHash not found in LURL", e);
}
else {