For milestone 1, I had to finish two functions,
-For this I just stored the value of the fileName to a string variable.
SourceFileVersion getLatestSourceFileVersion(String fileName)-
-Here, I created an object of
fileInfoand set its file name.
Later on, I used this object to pass on to
SourceFileVersionArrayListImpl(fileInfo)and returned it.
I want to know if was going in the right direction, because, after completing the required methods in milestone 2, I’m getting a Null Pointer Exception for 5 Test cases. Upon inspection, I found out that the variable
lines is taking the value of null. I have been stuck in solving this for the past 20 hours and would really appreciate if someone can dm me and can help me clear my doubts.
Also, I have gone through the FAQ regarding this and still not able to understand properly. So, any help would be appreciated.