closed Filecount.jar throws nullpointerexception in runtime eclipse - 3. Labs

+1 vote
asked Oct 27, 2016 in SWSV by garam93 (37 points)  
closed Oct 27, 2016 by garam93

I was doing the lab's exercises at home, I downloaded the given materials from the git repo, and used the files to fulfill the requirements step by step. Although I did everything as the guide said, I got Nullpointerexception when running the runtime Eclipse with the plugin. I tried a lot of things, but I did not gained any success. Probably the error is caused by a missing eclipse plugin, so I would like to ask what kind of eclipse do I have to use to make this plugin work correctly?

This is the stack trace of the exception:

!ENTRY org.eclipse.ui 4 0 2016-10-25 23:30:16.508
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at java.util.Hashtable.containsKey(Unknown Source)
at hu.bme.mit.filecounter.measurement.
FileContentAnalyzer.
getFileNumbersByExtension(FileContentAnalyzer.java:28)

Thanks in advance!
Gábor

closed with the note: I found the solution right after I posted the question. The problem was that I created a Java project in the runtime eclipse instead of an empty project and it contained a folder which probably caused the error.
...