Bugzilla – Bug 821
NullPointerException in HtmlDocumentBuilder.setErrorHandler
Last modified: 2011-05-16 19:15:28 CEST
Created attachment 192 [details] patch to fix bug HtmlDocumentBuilder.setErrorHandler forgets to check if the driver is created or still null. Attached patch adds a "if (driver != null)" check similar to the check in the other setXXX methods. This is a regression, it worked in 1.2.1, and seems like a simple oversight as the other setXXX methods have the check.
Thank you. Fixed in the code repository. Will be in the next release (not scheduled yet).
http://hg.mozilla.org/projects/htmlparser/rev/e9484074f35a