[JIRA] (JENKINS-47584) Result screen not refreshing with error "Cannot read property 'self' of undefined"

3 views
Skip to first unread message

jlp01@eprinsa.es (JIRA)

unread,
Feb 19, 2018, 1:33:03 AM2/19/18
to jenkinsc...@googlegroups.com
Jesús Lunar Pérez commented on Bug JENKINS-47584
 
Re: Result screen not refreshing with error "Cannot read property 'self' of undefined"

After upgrading plugin, it stil happens in 1.4.1:

blueocean.js:58253 Unhandled Rejection: "TypeError: Cannot read property 'self' of undefined
    at ActivityService.bunkerKey (https://jenkins.eprinsa.es/adjuncts/ad10514b/io/jenkins/blueocean/blueocean-core-js.js:67429:26)
    at ActivityService.setItem (https://jenkins.eprinsa.es/adjuncts/ad10514b/io/jenkins/blueocean/blueocean-core-js.js:67472:26)
    at executeAction (https://jenkins.eprinsa.es/adjuncts/ad10514b/io/jenkins/blueocean/blueocean-core-js.js:43377:19)
    at ActivityService.res (https://jenkins.eprinsa.es/adjuncts/ad10514b/io/jenkins/blueocean/blueocean-core-js.js:43349:16)
    at https://jenkins.eprinsa.es/adjuncts/ad10514b/io/jenkins/blueocean/blueocean-core-js.js:67744:40
    at <anonymous>"

As you mention, I guess it's similar but not same problem  as in 48198 issue.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

jdumay@cloudbees.com (JIRA)

unread,
Feb 20, 2018, 12:53:03 AM2/20/18
to jenkinsc...@googlegroups.com

Vivek Pandey the last report by Jesús Lunar Pérez looks like a SSE problem. An event is coming in, updating the run information but we might not have a reference... perhaps the bunker here needs to be more resiliant to those problems? WDYT Josh McDonald?

jdumay@cloudbees.com (JIRA)

unread,
Feb 20, 2018, 12:54:02 AM2/20/18
to jenkinsc...@googlegroups.com
James Dumay updated an issue
 
Jenkins / Bug JENKINS-47584
Change By: James Dumay
Sprint: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2 , Blue Ocean 1.5 - beta 1

mneale@cloudbees.com (JIRA)

unread,
Feb 20, 2018, 1:19:02 AM2/20/18
to jenkinsc...@googlegroups.com
Michael Neale commented on Bug JENKINS-47584
 
Re: Result screen not refreshing with error "Cannot read property 'self' of undefined"

James Dumay yes it seems very different from the toLowerCase on an undefined pointer. 

jmcdonald@cloudbees.com (JIRA)

unread,
Feb 20, 2018, 2:38:02 AM2/20/18
to jenkinsc...@googlegroups.com

It's probably unrelated to the deserialisation problem. Looks like a response / message is coming in from the server with no payload. We could cover up the exception in the client-side by simply ignoring `setItem(undefined)` but then we'd still be doing whatever is causing the response to be null in the first place.

vivek.pandey@gmail.com (JIRA)

unread,
Feb 26, 2018, 1:22:04 PM2/26/18
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
 
Change By: Vivek Pandey
Sprint: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean 1.5 - beta 1 2

vivek.pandey@gmail.com (JIRA)

unread,
Feb 26, 2018, 1:36:02 PM2/26/18
to jenkinsc...@googlegroups.com
Vivek Pandey commented on Bug JENKINS-47584
 
Re: Result screen not refreshing with error "Cannot read property 'self' of undefined"

Josh McDonald I see 404s in the attached HAR. Is it the case where frontend code is not handling 404 well and goes ahead trying to render it?

jmcdonald@cloudbees.com (JIRA)

unread,
Feb 26, 2018, 5:00:02 PM2/26/18
to jenkinsc...@googlegroups.com

It shouldn't, but it's hard to say for sure. Without a local replication to step through there's just not a lot of insight I can give, the karaoke code is too convoluted.

vivek.pandey@gmail.com (JIRA)

unread,
Mar 5, 2018, 3:42:06 PM3/5/18
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
Change By: Vivek Pandey
Sprint: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2 , Blue Ocean 1.5 - beta 2

vivek.pandey@gmail.com (JIRA)

unread,
Mar 5, 2018, 3:42:11 PM3/5/18
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
Change By: Vivek Pandey
Sprint: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2 , Blue Ocean 1.5 - beta 3

vivek.pandey@gmail.com (JIRA)

unread,
Apr 2, 2018, 9:14:03 PM4/2/18
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
Change By: Vivek Pandey
Sprint: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean 1. 5 6 - beta 3 1

vivek.pandey@gmail.com (JIRA)

unread,
Apr 17, 2018, 2:50:06 PM4/17/18
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
Change By: Vivek Pandey
Sprint: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean 1.6 - beta 1 2

vivek.pandey@gmail.com (JIRA)

unread,
May 21, 2018, 9:11:17 PM5/21/18
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
Change By: Vivek Pandey
Sprint: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean 1.6 - beta 2 , Blue Ocean - 1.6 - beta 4

vivek.pandey@gmail.com (JIRA)

unread,
May 21, 2018, 9:14:06 PM5/21/18
to jenkinsc...@googlegroups.com

vivek.pandey@gmail.com (JIRA)

unread,
May 21, 2018, 9:14:06 PM5/21/18
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
Change By: Vivek Pandey
Sprint: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean - Candidates, Blue Ocean 1.6 - beta 2

gmogan@cloudbees.com (JIRA)

unread,
Mar 20, 2019, 4:21:04 PM3/20/19
to jenkinsc...@googlegroups.com
Gavin Mogan resolved as Fixed
Change By: Gavin Mogan
Status: Reopened Resolved
Resolution: Fixed
Released As: 1.14.0
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

andreimuresianu1@gmail.com (JIRA)

unread,
Jun 25, 2019, 10:46:02 AM6/25/19
to jenkinsc...@googlegroups.com
Andrei Muresianu commented on Bug JENKINS-47584
 
Re: Result screen not refreshing with error "Cannot read property 'self' of undefined"

I am able to reproduce this in a declarative pipeline that has a user input step. After pressing on the button to proceed, sometimes the pipeline continues to the next stage without refreshing the page, other times the UI just hangs there until I refresh it although things are happening and visible in the standard console logs.

Jenkins version: 2.180

Tried with a few different versions of Blue Ocean to no avail: 1.17.0. 1.11.0, 1.8.0, 1.7.3

andreimuresianu1@gmail.com (JIRA)

unread,
Sep 23, 2019, 11:40:03 AM9/23/19
to jenkinsc...@googlegroups.com

Could we please reopen this?

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages