Skip to content
Permalink
Browse files

[JENKINS-40909] NPE encountered during tests.

  • Loading branch information
jglick committed Jan 9, 2017
1 parent bea88ca commit 26a6f484d4b45ff81f482b506b440687b6c1d391
@@ -64,7 +64,9 @@ public StepAtomNode(CpsFlowExecution exec, StepDescriptor d, FlowNode parent) {
}

protected Object readResolve() throws ObjectStreamException {
this.descriptorId = this.descriptorId.intern();
if (descriptorId != null) {
this.descriptorId = this.descriptorId.intern();
}
return super.readResolve();
}

@@ -40,7 +40,9 @@ public StepDescriptor getDescriptor() {
}

protected Object readResolve() throws ObjectStreamException {
this.descriptorId = this.descriptorId.intern();
if (descriptorId != null) {
this.descriptorId = this.descriptorId.intern();
}
return super.readResolve();
}

0 comments on commit 26a6f48

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