#291 extractAllNodesThatMatch(null); NullPointerException

v2.0
open
nobody
5
2011-11-17
2011-11-17
Anonymous
No

Parser parse = new Parser(url);

parse.extractAllNodesThatMatch(null);

this will compile success, but will throw exception in runtime.

This null is available when invoke the above method, but the NullPointerException will be throw.

I can remember that I can get all of html dom nodes when I use the lower version.

I want use parse.extractAllNodesThatMatch(null) to get the count of total nodes.

Discussion


Log in to post a comment.