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 orderdHandles = new TreeMap(); 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 NameHandle: orderdHandles.entrySet()) {