This looks like a good catch. Please open a ticket for it if you can. A trivial test case would also be great if you are able. Lewis
On Monday, January 21, 2013, feng lu <[email protected]> wrote: > Hi all > In map method of CrawlDbFilter class, if url == null and urlNormalizers is true, may be it will throw NullPointerExceptions . > if (urlNormalizers) { > try { > url = normalizers.normalize(url, scope); // normalize the url > } catch (Exception e) { > LOG.warn("Skipping " + url + ":" + e); > url = null; > } > } > if (url != null && urlFiltering) { > try { > url = filters.filter(url); // filter the url > } catch (Exception e) { > LOG.warn("Skipping " + url + ":" + e); > url = null; > } > } > May be we can check the url null value before urlNormalizers. > if ( url != null && urlNormalizers) { > .... > } > -- > Don't Grow Old, Grow Up... :-) -- *Lewis*

