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

Server should report projects that have failed to load during start up

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: Linux

      After I upgraded a plugin to a new version, hudson fails to load up after beeing
      restarted. The error log contains the following infos:

      ==> /var/log/hudson/err.log <==
      Apr 16, 2008 12:00:14 PM hudson.TcpSlaveAgentListener <init>
      INFO: JNLP slave agent listener started on TCP port 33428
      Apr 16, 2008 12:00:14 PM hudson.WebAppMain$2 run
      SEVERE: Failed to initialize Hudson
      java.lang.NullPointerException
      at hudson.model.Project.updateTransientActions(Project.java:162)
      at hudson.model.AbstractProject.onLoad(AbstractProject.java:166)
      at hudson.model.Project.onLoad(Project.java:61)
      at hudson.model.Items.load(Items.java:80)
      at hudson.model.Hudson.load(Hudson.java:1268)
      at hudson.model.Hudson.<init>(Hudson.java:346)
      at hudson.WebAppMain$2.run(WebAppMain.java:155)
      Exception in thread "hudson initialization thread" java.lang.NullPointerException
      at hudson.model.Project.updateTransientActions(Project.java:162)
      at hudson.model.AbstractProject.onLoad(AbstractProject.java:166)
      at hudson.model.Project.onLoad(Project.java:61)
      at hudson.model.Items.load(Items.java:80)
      at hudson.model.Hudson.load(Hudson.java:1268)
      at hudson.model.Hudson.<init>(Hudson.java:346)
      at hudson.WebAppMain$2.run(WebAppMain.java:155)

      When opening the webui it shows the "hudson loading ..." text and refreshs it
      every few seconds. There is no info that an error occured and you should take a
      look at the server.

      Furthermore it would be nice to have a button for restarting the loading
      procedure in such a state so I don't have to restart the whole server.

      Wished actions:
      1. If any exception occures while loading: show it on the index page or give a
      hint that an exception occured.
      2. Add a button with the same effect as the 'reload config from disc' in the
      manage hudson page.

            Unassigned Unassigned
            zeisss zeisss
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: