Skip to content
Permalink
Browse files

[JENKINS-15156] Massive test failures with NPE.

Seems that the RunMap must be initialized before updateTransientActions, which uses it, is called.
  • Loading branch information
jglick committed Feb 7, 2013
1 parent 74e6409 commit 7ac15767bca327dae5a904dd66f717e5e6269be6
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/src/main/java/hudson/model/AbstractProject.java
@@ -269,10 +269,10 @@ public synchronized void save() throws IOException {
@Override
public void onCreatedFromScratch() {
super.onCreatedFromScratch();
// solicit initial contributions, especially from TransientProjectActionFactory
updateTransientActions();
assert builds == null;
builds = createBuildRunMap();
// solicit initial contributions, especially from TransientProjectActionFactory
updateTransientActions();
}

@Override

0 comments on commit 7ac1576

Please sign in to comment.
You can’t perform that action at this time.