It is not uncommon for an error to be thrown from View.getItems. Currently Jenkins behaves poorly in this case: it displays an "oops" page with a cryptic stack trace

      java.lang.NullPointerException: Cannot invoke method isEmpty() on null object
      at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
      at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
      at hudson.model.View.main.run(main.groovy:6)
      

      that has no relation to the real error.

          [JENKINS-41825] Page loads breaks when View.getItems fails

          Jesse Glick created issue -
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-17484 [ JENKINS-17484 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-25315 [ JENKINS-25315 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 2739 (Web Link)" [ 15408 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jesse Glick made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Oliver Gondža made changes -
          Labels Original: lts-candidate robustness New: 2.32.3-fixed robustness
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-1950 (Web Link)" [ 18499 ]

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: