Skip to content

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

*) trying to at least fix symptoms of http://forum.yacy-websuche.de/viewtopic.php?f=5&t=3293#p22791

low0124fe1329de206
diff --git a/htroot/CrawlProfileEditor_p.java b/htroot/CrawlProfileEditor_p.java
index bf231d500..78aeffe71 100644
--- a/htroot/CrawlProfileEditor_p.java
+++ b/htroot/CrawlProfileEditor_p.java
@@ -134,9 +134,11 @@ public class CrawlProfileEditor_p {
Map<String, String> orderdHandles = new TreeMap<String, String>();
for (final byte[] h : sb.crawler.getActive()) {
selentry = sb.crawler.getActive(h);
- if (ignoreNames.contains(selentry.name())) continue;
- orderdHandles.put(selentry.name(), selentry.handle());
+ if (selentry != null && !ignoreNames.contains(selentry.name())) {
+ orderdHandles.put(selentry.name(), selentry.handle());
+ }
}
+
// then write into pop-up menu list
int count = 0;
for (final Map.Entry<String, String> NameHandle: orderdHandles.entrySet()) {