anubhav94 / team-piazza

Automatically exported from code.google.com/p/team-piazza
GNU General Public License v3.0
0 stars 0 forks source link

NPE when build config has not been run #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Setup a new build config
2. Enable status widget
3. View the piazza page before the new build config has been run

What is the expected output? 
 - proper piazza screen

What do you see instead?

NullPointerException:
Trace: java.lang.NullPointerException
        at
com.natpryce.piazza.BuildTypeMonitorViewState.changesInBuild(BuildTypeMonitorVie
wState.java:91)
        at
com.natpryce.piazza.BuildTypeMonitorViewState.commitMessagesForBuild(BuildTypeMo
nitorViewState.java:68)
        at
com.natpryce.piazza.BuildTypeMonitorViewState.<init>(BuildTypeMonitorViewState.j
ava:44)
        at
com.natpryce.piazza.ProjectMonitorViewState.<init>(ProjectMonitorViewState.java:
23)
        at
com.natpryce.piazza.BuildMonitorController.showProject(BuildMonitorController.ja
va:64)
        at
com.natpryce.piazza.BuildMonitorController.doHandle(BuildMonitorController.java:
50)
        at
jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseContr
oller.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 reported on code.google.com by songsti...@gmail.com on 13 Jan 2010 at 2:47

GoogleCodeExporter commented 9 years ago
Same problem here.

Original comment by timomeinen on 4 Aug 2011 at 2:02

GoogleCodeExporter commented 9 years ago
Hi Songstitch,

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

Original comment by timomeinen on 8 Oct 2011 at 10:57

GoogleCodeExporter commented 9 years ago

Original comment by timomeinen on 8 Oct 2011 at 11:54

GoogleCodeExporter commented 9 years ago

Original comment by timomeinen on 8 Oct 2011 at 11:56