Letractively / flaxcrawler

Automatically exported from code.google.com/p/flaxcrawler
0 stars 0 forks source link

Sample code gets NullPointerException in TaskQueueImpl.stopProcessingTask #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The sample on the flaxcrawler project homepage with the crawl to wikipedia.com 
gets a NullPointerException in TaskQueueImpl.stopProcessingTask().

A fix might be to check if the count equals null, e.g.: 
  processingSequences.put(task.getSequenceName(), 
    count == null ? 0 : count - 1);

Original issue reported on code.google.com by matthijs...@gmail.com on 30 Dec 2010 at 11:08

GoogleCodeExporter commented 8 years ago
Thank you, missed this bug because of using sequences in our project.
Bug is fixed now.

Original comment by ay.mesh...@gmail.com on 7 Jan 2011 at 10:38