extractAllNodesThatMatch(null); NullPointerException
Brought to you by:
derrickoswald
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.