Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad behaviour when scanning a file #34

Closed
antelink opened this issue Jan 19, 2012 · 1 comment
Closed

Bad behaviour when scanning a file #34

antelink opened this issue Jan 19, 2012 · 1 comment
Milestone

Comments

@antelink
Copy link
Owner

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)
mpoignet pushed a commit to mpoignet/SourceSquare that referenced this issue Jan 19, 2012
mpoignet added a commit that referenced this issue Jan 19, 2012
@antelink
Copy link
Owner Author

We now exit nicely.

mpoignet pushed a commit to mpoignet/SourceSquare that referenced this issue Jan 20, 2012
mpoignet added a commit that referenced this issue Jan 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant