timomeinen / team-piazza

A build monitor for the TeamCity continuous integration server
GNU General Public License v3.0
17 stars 7 forks source link

NPE when build config has not been run #31

Closed timomeinen closed 10 years ago

timomeinen commented 10 years ago

From songsti...@gmail.com on January 13, 2010 15:47:18

What steps will reproduce the problem? 1. Setup a new build config

  1. Enable status widget
  2. View the piazza page before the new build config has been run

What is the expected output?

What do you see instead?

NullPointerException: Trace: java.lang.NullPointerException at com.natpryce.piazza.BuildTypeMonitorViewState.changesInBuild(BuildTypeMonitorViewState.java:91) at com.natpryce.piazza.BuildTypeMonitorViewState.commitMessagesForBuild(BuildTypeMonitorViewState.java:68) at com.natpryce.piazza.BuildTypeMonitorViewState.(BuildTypeMonitorViewState.java:44) at com.natpryce.piazza.ProjectMonitorViewState.(ProjectMonitorViewState.java:23) at com.natpryce.piazza.BuildMonitorController.showProject(BuildMonitorController.java:64) at com.natpryce.piazza.BuildMonitorController.doHandle(BuildMonitorController.java:50) at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:60)

What version of the product are you using? TeamCity Enterprise Version 4.5.2 (build 9029) , piazza 20090910 Please provide any additional information below. - tap me on the shoulder if you need more :-)

Original issue: http://code.google.com/p/team-piazza/issues/detail?id=31

timomeinen commented 10 years ago

From timomeinen on August 04, 2011 07:02:29

Same problem here.

timomeinen commented 10 years ago

From timomeinen on October 08, 2011 03:57:10

Hi Songstitch,

thank you for reporting this. I can confirm this and will fix the NPE.

Status: Started

timomeinen commented 10 years ago

From timomeinen on October 08, 2011 04:54:13

Status: Fixed

timomeinen commented 10 years ago

From timomeinen on October 08, 2011 04:56:14

Owner: timomeinen