Issue Type: Improvement Improvement
Assignee: Jesse Glick
Components: core
Created: 17/May/13 4:47 PM
Description:

It seems that errors in plugins etc. can cause jobs to not load during startup, without any warning being displayed in the Jenkins UI: you just get a blank screen as if there are no job configurations at all, which is rather alarming. (There would be a warning in the logs, but due to the ring buffer this could be out of view.) Example stack trace:

... jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading job ...
java.lang.NoClassDefFoundError: Could not initialize class ...
    at ...JobProperty.getJobActions(...)
    at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:665)
    at hudson.model.Project.createTransientActions(Project.java:208)
    at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:658)
    at hudson.model.AbstractProject.onLoad(AbstractProject.java:292)
    at hudson.model.Project.onLoad(Project.java:88)
    at hudson.model.Items.load(Items.java:209)

Jenkins should

  1. Catch more errors in Items.load, so that problems might be contained to one job while allowing others to load.
  2. Produce an administrative warning that something is seriously wrong (i.e. more than OldDataMonitor can handle), with the original stack trace.

Should be reusable enough that the CloudBees Folders plugin could in the future also isolate problems in individual jobs within one folder.

Project: Jenkins
Labels: robustness
Priority: Major Major
Reporter: Jesse Glick
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to