antelink/SourceSquare — Issue #34: Bad behaviour when scanning a file
Author: antelink
Created: 2012-01-19 15:22:35+00:00
State: open

You are supposed to scan a folder, not a file.
If you do, you get this:

2012-01-19 16:17:51,315 Thread-14 INFO results.ResultBuilder - Process results
Exception in thread "Thread-14" java.lang.NullPointerException
at com.antelink.sourcesquare.results.TreeMapBuilder.processFinalTreeMap(TreeMapBuilder.java:85)
at com.antelink.sourcesquare.results.ResultBuilder.processResults(ResultBuilder.java:92)
at com.antelink.sourcesquare.results.ResultBuilder$1.handle(ResultBuilder.java:71)
at com.antelink.sourcesquare.event.events.ScanCompleteEvent.dispatch(ScanCompleteEvent.java:51)
at com.antelink.sourcesquare.event.events.ScanCompleteEvent.dispatch(ScanCompleteEvent.java:34)
at com.antelink.sourcesquare.event.base.EventBus$1.run(EventBus.java:69)
at java.lang.Thread.run(Thread.java:722)