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

intermittent NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Critical Critical
    • core
    • None
    • LTS 2.303.1

      About half of the times Jenkins fails to start.

      The web UI displays:

      java.lang.NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer
        at jenkins.model.Jenkins.createComputer(Jenkins.java:3222)
        at hudson.model.AbstractCIBase.createNewComputerForNode(AbstractCIBase.java:162)
        at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:148)
        at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:48)
        at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:254)
        at hudson.model.Queue._withLock(Queue.java:1398)
        at hudson.model.Queue.withLock(Queue.java:1274)
        at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:240)
        at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1670)
        at jenkins.model.Jenkins.<init>(Jenkins.java:1023)
        at hudson.model.Hudson.<init>(Hudson.java:86)
        at hudson.model.Hudson.<init>(Hudson.java:82)
        at hudson.WebAppMain$3.run(WebAppMain.java:298)
      Caused: hudson.util.HudsonFailedToLoad
        at hudson.WebAppMain$3.run(WebAppMain.java:312)
      

      The log contains dozens of exceptions and stacktraces.

      Restarting often resolves the problem until the next time the service is restarted.

      This occurred after upgrading from 2.263.3 to 2.303.1

      The server was already running with OpenJDK11. That has not changed.

       

      Even a successful start results in 82345 lines of logging including 86 to 279 exceptions

          [JENKINS-66527] intermittent NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer

          Bram Mertens created issue -
          Bram Mertens made changes -
          Description Original: About half of the times Jenkins fails to start.

          The web UI displays:

          {{java.lang.NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer}}
          {{ at jenkins.model.Jenkins.createComputer(Jenkins.java:3222)}}
          {{ at hudson.model.AbstractCIBase.createNewComputerForNode(AbstractCIBase.java:162)}}
          {{ at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:148)}}
          {{ at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:48)}}
          {{ at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:254)}}
          {{ at hudson.model.Queue._withLock(Queue.java:1398)}}
          {{ at hudson.model.Queue.withLock(Queue.java:1274)}}
          {{ at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:240)}}
          {{ at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1670)}}
          {{ at jenkins.model.Jenkins.<init>(Jenkins.java:1023)}}
          {{ at hudson.model.Hudson.<init>(Hudson.java:86)}}
          {{ at hudson.model.Hudson.<init>(Hudson.java:82)}}
          {{ at hudson.WebAppMain$3.run(WebAppMain.java:298)}}
          {{Caused: hudson.util.HudsonFailedToLoad}}
          {{ at hudson.WebAppMain$3.run(WebAppMain.java:312)}}

          The log contains dozens of exceptions and stacktraces.

          Restarting often resolves the problem until the next time the service is restarted.

          This occurred after upgrading from 2.263.3 to 2.303.1
          New: About half of the times Jenkins fails to start.

          The web UI displays:

          {{java.lang.NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer}}
           \{{ at jenkins.model.Jenkins.createComputer(Jenkins.java:3222)}}
           \{{ at hudson.model.AbstractCIBase.createNewComputerForNode(AbstractCIBase.java:162)}}
           \{{ at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:148)}}
           \{{ at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:48)}}
           \{{ at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:254)}}
           \{{ at hudson.model.Queue._withLock(Queue.java:1398)}}
           \{{ at hudson.model.Queue.withLock(Queue.java:1274)}}
           \{{ at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:240)}}
           \{{ at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1670)}}
           \{{ at jenkins.model.Jenkins.<init>(Jenkins.java:1023)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:86)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:82)}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:298)}}
           {{Caused: hudson.util.HudsonFailedToLoad}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:312)}}

          The log contains dozens of exceptions and stacktraces.

          Restarting often resolves the problem until the next time the service is restarted.

          This occurred after upgrading from 2.263.3 to 2.303.1

          The server was already running with OpenJDK11. That has not changed.
          Bram Mertens made changes -
          Description Original: About half of the times Jenkins fails to start.

          The web UI displays:

          {{java.lang.NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer}}
           \{{ at jenkins.model.Jenkins.createComputer(Jenkins.java:3222)}}
           \{{ at hudson.model.AbstractCIBase.createNewComputerForNode(AbstractCIBase.java:162)}}
           \{{ at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:148)}}
           \{{ at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:48)}}
           \{{ at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:254)}}
           \{{ at hudson.model.Queue._withLock(Queue.java:1398)}}
           \{{ at hudson.model.Queue.withLock(Queue.java:1274)}}
           \{{ at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:240)}}
           \{{ at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1670)}}
           \{{ at jenkins.model.Jenkins.<init>(Jenkins.java:1023)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:86)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:82)}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:298)}}
           {{Caused: hudson.util.HudsonFailedToLoad}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:312)}}

          The log contains dozens of exceptions and stacktraces.

          Restarting often resolves the problem until the next time the service is restarted.

          This occurred after upgrading from 2.263.3 to 2.303.1

          The server was already running with OpenJDK11. That has not changed.
          New: About half of the times Jenkins fails to start.

          The web UI displays:

          {{java.lang.NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer}}
           \{{ at jenkins.model.Jenkins.createComputer(Jenkins.java:3222)}}
           \{{ at hudson.model.AbstractCIBase.createNewComputerForNode(AbstractCIBase.java:162)}}
           \{{ at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:148)}}
           \{{ at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:48)}}
           \{{ at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:254)}}
           \{{ at hudson.model.Queue._withLock(Queue.java:1398)}}
           \{{ at hudson.model.Queue.withLock(Queue.java:1274)}}
           \{{ at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:240)}}
           \{{ at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1670)}}
           \{{ at jenkins.model.Jenkins.<init>(Jenkins.java:1023)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:86)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:82)}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:298)}}
           {{Caused: hudson.util.HudsonFailedToLoad}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:312)}}

          The log contains dozens of exceptions and stacktraces.

          Restarting often resolves the problem until the next time the service is restarted.

          This occurred after upgrading from 2.263.3 to 2.303.1

          The server was already running with OpenJDK11. That has not changed.

           

          Even a successful start results in 82345 lines of logging including 86 exceptions
          Bram Mertens made changes -
          Description Original: About half of the times Jenkins fails to start.

          The web UI displays:

          {{java.lang.NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer}}
           \{{ at jenkins.model.Jenkins.createComputer(Jenkins.java:3222)}}
           \{{ at hudson.model.AbstractCIBase.createNewComputerForNode(AbstractCIBase.java:162)}}
           \{{ at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:148)}}
           \{{ at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:48)}}
           \{{ at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:254)}}
           \{{ at hudson.model.Queue._withLock(Queue.java:1398)}}
           \{{ at hudson.model.Queue.withLock(Queue.java:1274)}}
           \{{ at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:240)}}
           \{{ at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1670)}}
           \{{ at jenkins.model.Jenkins.<init>(Jenkins.java:1023)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:86)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:82)}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:298)}}
           {{Caused: hudson.util.HudsonFailedToLoad}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:312)}}

          The log contains dozens of exceptions and stacktraces.

          Restarting often resolves the problem until the next time the service is restarted.

          This occurred after upgrading from 2.263.3 to 2.303.1

          The server was already running with OpenJDK11. That has not changed.

           

          Even a successful start results in 82345 lines of logging including 86 exceptions
          New: About half of the times Jenkins fails to start.

          The web UI displays:

          {{java.lang.NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer}}
           \{{ at jenkins.model.Jenkins.createComputer(Jenkins.java:3222)}}
           \{{ at hudson.model.AbstractCIBase.createNewComputerForNode(AbstractCIBase.java:162)}}
           \{{ at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:148)}}
           \{{ at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:48)}}
           \{{ at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:254)}}
           \{{ at hudson.model.Queue._withLock(Queue.java:1398)}}
           \{{ at hudson.model.Queue.withLock(Queue.java:1274)}}
           \{{ at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:240)}}
           \{{ at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1670)}}
           \{{ at jenkins.model.Jenkins.<init>(Jenkins.java:1023)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:86)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:82)}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:298)}}
           {{Caused: hudson.util.HudsonFailedToLoad}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:312)}}

          The log contains dozens of exceptions and stacktraces.

          Restarting often resolves the problem until the next time the service is restarted.

          This occurred after upgrading from 2.263.3 to 2.303.1

          The server was already running with OpenJDK11. That has not changed.

           

          Even a successful start results in 82345 lines of logging including 86 to 279 exceptions
          Kalle Niemitalo made changes -
          Description Original: About half of the times Jenkins fails to start.

          The web UI displays:

          {{java.lang.NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer}}
           \{{ at jenkins.model.Jenkins.createComputer(Jenkins.java:3222)}}
           \{{ at hudson.model.AbstractCIBase.createNewComputerForNode(AbstractCIBase.java:162)}}
           \{{ at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:148)}}
           \{{ at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:48)}}
           \{{ at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:254)}}
           \{{ at hudson.model.Queue._withLock(Queue.java:1398)}}
           \{{ at hudson.model.Queue.withLock(Queue.java:1274)}}
           \{{ at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:240)}}
           \{{ at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1670)}}
           \{{ at jenkins.model.Jenkins.<init>(Jenkins.java:1023)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:86)}}
           \{{ at hudson.model.Hudson.<init>(Hudson.java:82)}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:298)}}
           {{Caused: hudson.util.HudsonFailedToLoad}}
           \{{ at hudson.WebAppMain$3.run(WebAppMain.java:312)}}

          The log contains dozens of exceptions and stacktraces.

          Restarting often resolves the problem until the next time the service is restarted.

          This occurred after upgrading from 2.263.3 to 2.303.1

          The server was already running with OpenJDK11. That has not changed.

           

          Even a successful start results in 82345 lines of logging including 86 to 279 exceptions
          New: About half of the times Jenkins fails to start.

          The web UI displays:

          {code:none}
          java.lang.NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer
            at jenkins.model.Jenkins.createComputer(Jenkins.java:3222)
            at hudson.model.AbstractCIBase.createNewComputerForNode(AbstractCIBase.java:162)
            at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:148)
            at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:48)
            at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:254)
            at hudson.model.Queue._withLock(Queue.java:1398)
            at hudson.model.Queue.withLock(Queue.java:1274)
            at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:240)
            at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1670)
            at jenkins.model.Jenkins.<init>(Jenkins.java:1023)
            at hudson.model.Hudson.<init>(Hudson.java:86)
            at hudson.model.Hudson.<init>(Hudson.java:82)
            at hudson.WebAppMain$3.run(WebAppMain.java:298)
          Caused: hudson.util.HudsonFailedToLoad
            at hudson.WebAppMain$3.run(WebAppMain.java:312)
          {code}

          The log contains dozens of exceptions and stacktraces.

          Restarting often resolves the problem until the next time the service is restarted.

          This occurred after upgrading from 2.263.3 to 2.303.1

          The server was already running with OpenJDK11. That has not changed.

           

          Even a successful start results in 82345 lines of logging including 86 to 279 exceptions
          Bram Mertens made changes -
          Summary Original: internmittent NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer New: intermittent NoClassDefFoundError: Could not initialize class hudson.model.Hudson$MasterComputer
          Mark Waite made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            bram_mertens Bram Mertens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: