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

Personalization error: TypeError: Cannot read property 'state' of null(…) when loading logged in dashboard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • None
    • b16
    • pannonian

      An error happened when loading the dashboard, due to favourites.
      Favourites will not load up for some users (in this case, Tyler).

      This seems to be new since upgrading from b15 to b16. As of b15 it was working correctly.

      Looking through https://github.com/jenkinsci/blueocean-plugin/commits/master
      The only commit to touch on personalisation is https://github.com/jenkinsci/blueocean-plugin/commit/471cded94015f64512834a4746eca053c4db94a2 - so this may be a place to look (may also be a data problem).

      The stack trace:
      https://gist.github.com/rtyler/6ed57a6617538ac3305c0d36e269a2ad#file-favorites-json

      The data returned in favourites:
      https://gist.github.com/rtyler/6ed57a6617538ac3305c0d36e269a2ad#file-favorites-json

      The contents of https://ci.jenkins.io/blue/rest/users/rtyler/favorites/ can be found here

      Steps to Reproduce

      1. Create a Pipeline (not a multibranch Pipeline). It doesn't have to contain anything, just create the item.
      2. Favorite the item
      3. Reload the Blue Ocean dashboard

      See this more complete traceback from Firefox

            tscherler Thorsten Scherler
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: