Closed GoogleCodeExporter closed 9 years ago
Found three bugs
1. TLDList does not need to be static
2. the initializer needs to be:
private static Set<String> tldSet= new HashSet<String>();
NOT
private static Set<String> tldSet
There is a race condition where "contains" is called before initialisation
with tldSet still NULL;
3.
{try
{
tldSet = new HashSet<String>();
URL url = getClass().getResource("/main/resources/tld-names.txt");
BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream()));
I have changed the class loader for the resource so that it works with
debugging correctly.
the class loader does not always return the correct path.
Original comment by practica...@gmail.com
on 16 Aug 2012 at 12:09
Have the same error, how do you fix it?
Original comment by AldoCast...@gmail.com
on 11 Nov 2012 at 12:02
I have the same error too.
Hey practica...@gmail.com could you explain a little bit more how you fix the
issue.
Thanks in advance.
Original comment by nikolov....@gmail.com
on 5 Dec 2012 at 12:13
I didn't , got fed up and wrote my own kit.
It does about 20 million pages a day, with a full page parse, problem is... it
is so fast that some sites ban it very quickly.
Original comment by practica...@gmail.com
on 5 Dec 2012 at 3:03
I'm getting the same error. You would think the basic example would work out of
the box. Is there a fix?
Original comment by jason.sc...@gmail.com
on 4 Feb 2013 at 10:33
This issue was closed by revision 3df4ae16409c.
Original comment by ganjisaffar@gmail.com
on 3 Mar 2013 at 5:52
Original issue reported on code.google.com by
practica...@gmail.com
on 16 Aug 2012 at 11:36