Closed GoogleCodeExporter closed 9 years ago
I have "fixed" this matter by adding this code to line 72 of the
BuildTypeMonitorViewState class. I'm not sure why the description is null, but
sometimes it is.. and this works around it.
if(vcsModification != null)
{
commitMessages.add(vcsModification.getDescription().trim());
}
else
{
System.out.println("vcsModification.getDescription() was null, by this user: " + vcsModification.getUserName());
}
Original comment by denis.kr...@gmail.com
on 30 Sep 2010 at 2:01
Actually strike that.. without testing I was going to introduce another
nullpointer.. so now the work-around is;
if(vcsModification != null)
{
commitMessages.add(vcsModification.getDescription().trim());
}
that's it.
Original comment by denis.kr...@gmail.com
on 30 Sep 2010 at 2:05
who really needs to test their code? Certainly not me! Third time lucky.
if(vcsModification.getDescription() != null)
{
commitMessages.add(vcsModification.getDescription().trim());
}
Original comment by denis.kr...@gmail.com
on 30 Sep 2010 at 11:03
Hi Denis,
thank you very much for the code pointers. I introduced your suggested null
checks.
Original comment by timomeinen
on 29 Nov 2011 at 3:16
Original issue reported on code.google.com by
willhol...@gmail.com
on 26 May 2010 at 9:20