-
Bug
-
Resolution: Fixed
-
Minor
-
-
Jenkins 2.163
e:
TypeError: Failed to execute 'replaceChild' on 'Node': parameter 1 is not of type 'Node'. at onSuccess (hudson-behavior.js:1524) at klass.respondToReadyState (VM283 prototype.js:1657) at klass.onStateChange (VM283 prototype.js:1600) at XMLHttpRequest.<anonymous> (VM283 prototype.js:414)
response.responseText: ""
I verified that:
var node = $(div).firstDescendant();
yielded null.
Further investigation shows:
response.status : 0
The code for this.success() used by respondToReadyState() treats this as a response to call this.options.onSuccess, but I suspect it would be better handled by this.options.onFailure or by dropping it or something.
See https://stackoverflow.com/questions/36416389/why-does-my-xmlhttprequest-have-readystate-4-but-status-0 for reports of this case.