Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: core
-
Labels:
-
Similar Issues:
Description
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.
Attachments
Issue Links
- relates to
-
JENKINS-17484 jelly null pointer
-
- Resolved
-
-
JENKINS-25315 Nested views do not properly round-trip through REST or CLI due to missing View.owner
-
- Resolved
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Link |
This issue relates to |
Link |
This issue relates to |
Remote Link | This issue links to "PR 2739 (Web Link)" [ 15408 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Labels | lts-candidate robustness | 2.32.3-fixed robustness |
Remote Link | This issue links to "CloudBees Internal OSS-1950 (Web Link)" [ 18499 ] |
Linking to some examples of this, but from this search you can see there at least a dozen cases.