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

          Code changed in jenkins
          User: Yuri Buyanov
          Path:
          src/main/webapp/walldisplay.html
          http://jenkins-ci.org/commit/walldisplay-plugin/c41bf0cb063b69746596d419ce91463ead451433
          Log:
          Fix for JENKINS-16657

          Added null-check for `action` in `isBuildClaimed`

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Yuri Buyanov Path: src/main/webapp/walldisplay.html http://jenkins-ci.org/commit/walldisplay-plugin/c41bf0cb063b69746596d419ce91463ead451433 Log: Fix for JENKINS-16657 Added null-check for `action` in `isBuildClaimed`

          Code changed in jenkins
          User: Pelle Pelster
          Path:
          src/main/webapp/walldisplay.html
          http://jenkins-ci.org/commit/walldisplay-plugin/26cb0dffecb233f9b87ab77552601f63ac74fe4d
          Log:
          Merge pull request #19 from digal/master

          Fix for JENKINS-16657

          Compare: https://github.com/jenkinsci/walldisplay-plugin/compare/a2cfea5cafed...26cb0dffecb2


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Pelle Pelster Path: src/main/webapp/walldisplay.html http://jenkins-ci.org/commit/walldisplay-plugin/26cb0dffecb233f9b87ab77552601f63ac74fe4d Log: Merge pull request #19 from digal/master Fix for JENKINS-16657 Compare: https://github.com/jenkinsci/walldisplay-plugin/compare/a2cfea5cafed...26cb0dffecb2 – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

          Yuri Buyanov added a comment -

          When the fixed version is expected to be released? Not sure if I have to build our own jar or just wait for update.

          Yuri Buyanov added a comment - When the fixed version is expected to be released? Not sure if I have to build our own jar or just wait for update.

          Hi,

          I just released the new version, so it should show up in a few hours

          Christian Pelster added a comment - Hi, I just released the new version, so it should show up in a few hours

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

              Created:
              Updated:
              Resolved: