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

Hudson should report which item fails to load

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      When hudson is not able to load a job the information about which file could not be loaded is very
      sparse. Looks like:
      07.09.2009 18:29:01 hudson.model.Hudson load
      WARNUNG: Failed to load a project
      java.lang.InstantiationError: hudson.plugins.mercurial.browser.HgBrowser

      Now I do not see the name of the offending project, even worse the project will not show up anymore
      in the dashboard. We have some instances with hundreds of jobs and after plugin updates have
      sometimes to hunt down the jobs which are broken afterwards. As our developers are allowed to create
      and modify jobs themselves we can not easily keep track of the # of jobs.

      Maybe the logging message in the given url could be enhanced by item.toString() or loader.toString()?

      Best Regards
      Mirko

        Attachments

          Activity

          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          If fisheye should not load:
          http://github.com/kohsuke/hudson/blob/bcd7e87b0d290e561f3de2250209bcd133f4b225/core/src/ma
          in/java/hudson/model/Hudson.java#L2003

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - If fisheye should not load: http://github.com/kohsuke/hudson/blob/bcd7e87b0d290e561f3de2250209bcd133f4b225/core/src/ma in/java/hudson/model/Hudson.java#L2003
          Show
          mfriedenhagen Mirko Friedenhagen added a comment - Described a workaround under http://wiki.jenkins-ci.org/display/JENKINS/Show+the+names+of+jobs+which+do+not+load+properly
          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          Works for me.

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - Works for me.

            People

            Assignee:
            mfriedenhagen Mirko Friedenhagen
            Reporter:
            mfriedenhagen Mirko Friedenhagen
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: