Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 03/Feb/14 9:48 AM
Description:

Steps to Reproduce:

1. Create a new list view
2. Select to recurse
3. Select no items
(4. Optional: Add filters from View Job Filters plugin that "include matched" or "include unmatched" so this example makes sense)
5. Save

Viewing the view results in (excerpt):

Caused by: 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 java_util_List$isEmpty.call(Unknown Source)
	at hudson.model.View.main.run(main.groovy:6)
	at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:69)
	at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:62)
	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
	... 106 more

Use cases:

  • List all jobs that are disabled
  • List all jobs that are failing
  • List all jobs that haven't been built for a year

etc...

Environment: 1.532.1
Project: Jenkins
Labels: lts-candidate
Priority: Major Major
Reporter: Daniel Beck
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to