Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16657

Wall Display JS Error: Cannot read property 'claimed' of null

      After upgrading Jenkins to 1.500, wall display plugin stopped working (as well as EzWall plugin) due to JS error in walldisplay.html, line 353: "Cannot read property 'claimed' of null".

      It seems, like REST API calls (like

      http://<jenkinshost>/job/<jobname>/api/json?tree=property%5BwallDisplayName%5D%2Cname%2Ccolor%2ClastBuild%5Bnumber%2Ctimestamp%2Cduration%2Cactions%5Bclaimed%2CclaimedBy%2CfailCount%2CskipCount%2CtotalCount%5D%2Cculprits%5BfullName%2Cproperty%5Baddress%5D%5D%5D%2ClastSuccessfulBuild%5Bduration%5D&_=1360134139356

      ) started to return unexpected nulls in JSON for some builds, causing that error:

      {
        "name":"<jobname>",
        "color":"blue",
        "lastBuild": {
          "actions": [{},{},{},null,{},{},{},{}],  
          ...
        },
        ...
      }
      

          [JENKINS-16657] Wall Display JS Error: Cannot read property 'claimed' of null

          Yuri Buyanov created issue -
          Yuri Buyanov made changes -
          Description Original: After upgrading Jenkins to 1.500, wall display plugin stopped working (as well as EzWall plugin) due to JS error in walldisplay.html, line 353: "Cannot read property 'claimed' of null".

          It seems, like REST API calls (like http://jenkins.e-legion.com//job/&lt;jobname&gt;/api/json?tree=property%5BwallDisplayName%5D%2Cname%2Ccolor%2ClastBuild%5Bnumber%2Ctimestamp%2Cduration%2Cactions%5Bclaimed%2CclaimedBy%2CfailCount%2CskipCount%2CtotalCount%5D%2Cculprits%5BfullName%2Cproperty%5Baddress%5D%5D%5D%2ClastSuccessfulBuild%5Bduration%5D&_=1360134139356) started to return unexpected nulls in JSON for some builds, causing that error:

          {
            "name":"<jobname>",
            "color":"blue",
            "lastBuild": {
              "actions": [{},{},{},null,{},{},{},{}],
              ...
            },
            ...
          }
          New: After upgrading Jenkins to 1.500, wall display plugin stopped working (as well as EzWall plugin) due to JS error in walldisplay.html, line 353: "Cannot read property 'claimed' of null".

          It seems, like REST API calls (like {noformat}
          http://&lt;jenkinshost&gt;/job/&lt;jobname&gt;/api/json?tree=property%5BwallDisplayName%5D%2Cname%2Ccolor%2ClastBuild%5Bnumber%2Ctimestamp%2Cduration%2Cactions%5Bclaimed%2CclaimedBy%2CfailCount%2CskipCount%2CtotalCount%5D%2Cculprits%5BfullName%2Cproperty%5Baddress%5D%5D%5D%2ClastSuccessfulBuild%5Bduration%5D&_=1360134139356{noformat}
          ) started to return unexpected nulls in JSON for some builds, causing that error:
          {noformat}
          {
            "name":"<jobname>",
            "color":"blue",
            "lastBuild": {
              "actions": [{},{},{},null,{},{},{},{}],
              ...
            },
            ...
          }
          {noformat}
          Yuri Buyanov made changes -
          Component/s New: jenkinswalldisplay [ 16045 ]
          howama made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 147481 ] New: JNJira + In-Review [ 192435 ]

            pelle Christian Pelster
            digal Yuri Buyanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: