-
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.
[JENKINS-53077] Failed to execute 'replaceChild' on 'Node': parameter 1 is not of type 'Node'.
Labels | New: javascript |
Description |
Original:
e: {code:java} 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) {code} response.responseText: {{""}} [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1524] I'm pretty sure that: [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1523] {code:java} var node = $(div).firstDescendant(); {code} yielded {{null}}. |
New:
e: {code:java} 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) {code} response.responseText: {{""}} [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1524] I verified that: [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1523] {code:java} var node = $(div).firstDescendant(); {code} yielded {{null}}. Further investigation shows: {{rsp.status}} = {{0}}. The code for {{this.success()}} used by {{respondToReadyState()}} treats this as a resonse 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. |
Description |
Original:
e: {code:java} 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) {code} response.responseText: {{""}} [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1524] I verified that: [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1523] {code:java} var node = $(div).firstDescendant(); {code} yielded {{null}}. Further investigation shows: {{rsp.status}} = {{0}}. The code for {{this.success()}} used by {{respondToReadyState()}} treats this as a resonse 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. |
New:
e: {code:java} 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) {code} response.responseText: {{""}} [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1524] I verified that: [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1523] {code:java} var node = $(div).firstDescendant(); {code} yielded {{null}}. Further investigation shows: {{response.status}} : {{0}} The code for {{this.success()}} used by {{respondToReadyState()}} treats this as a resonse 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. |
Description |
Original:
e: {code:java} 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) {code} response.responseText: {{""}} [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1524] I verified that: [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1523] {code:java} var node = $(div).firstDescendant(); {code} yielded {{null}}. Further investigation shows: {{response.status}} : {{0}} The code for {{this.success()}} used by {{respondToReadyState()}} treats this as a resonse 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. |
New:
e: {code:java} 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) {code} response.responseText: {{""}} [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1524] I verified that: [https://github.com/jenkinsci/jenkins/blob/723e5ed8fb1a5289edc31d82bb9ad67e6d97bcd9/war/src/main/webapp/scripts/hudson-behavior.js#L1523] {code:java} var node = $(div).firstDescendant(); {code} 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. |
Released As | New: Jenkins 2.163 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Resolved [ 5 ] |
this.success is from prototype.js https://github.com/jenkinsci/jenkins/blob/22aa2e6e766074d11249893e3f35e0b99e20d3d0/war/src/main/webapp/scripts/prototype.js#L1639