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

Jenkins fails to restart with an exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Similar Issues:

      Description

      I have multiple jenkins installations that are restarted from time to time (one by scheduled jenkins job, others when updating plugins). Since a few days (i would say since 1.653 update), restart from the UI fails with an exception and I need to restart jenkins via command line:

      INFORMATION: Stopping Jenkins
      Mär 21, 2016 6:29:27 AM jenkins.model.Jenkins _cleanUpDisconnectComputers
      INFORMATION: Starting node disconnection
      Mär 21, 2016 6:29:28 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
      INFORMATION: Accepted connection #1 from /127.0.0.1:53515
      Mär 21, 2016 6:29:28 AM jenkins.model.Jenkins _cleanUpShutdownPluginManager
      INFORMATION: Stopping plugin manager
      Mär 21, 2016 6:29:28 AM hudson.plugins.im.JenkinsIsBusyListener removeConnectionProvider
      INFORMATION: Last connection provider removed. Unregistering this instance.
      Mär 21, 2016 6:29:28 AM jenkins.model.Jenkins _cleanUpPersistQueue
      INFORMATION: Persisting build queue
      Mär 21, 2016 6:29:28 AM jenkins.model.Jenkins _cleanUpAwaitDisconnects
      INFORMATION: Waiting for node disconnection completion
      Mär 21, 2016 6:29:28 AM jenkins.model.Jenkins _cleanUpPluginServletFilters
      SCHWERWIEGEND: Failed to stop filters
      java.lang.UnsupportedOperationException
      at java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove(CopyOnWriteArrayList.java:1176)
      at hudson.util.PluginServletFilter.cleanUp(PluginServletFilter.java:162)
      at jenkins.model.Jenkins._cleanUpPluginServletFilters(Jenkins.java:3237)
      at jenkins.model.Jenkins.cleanUp(Jenkins.java:2890)
      at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:70)
      at jenkins.model.Jenkins$27.run(Jenkins.java:3846)

      Mär 21, 2016 6:29:28 AM jenkins.model.Jenkins cleanUp
      INFORMATION: Jenkins stopped
      Mär 21, 2016 6:29:28 AM jenkins.model.Jenkins$27 run
      WARNUNG: Failed to restart Jenkins
      java.lang.RuntimeException: Unexpected issues encountered during cleanUp: null
      at jenkins.model.Jenkins.cleanUp(Jenkins.java:2905)
      at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:70)
      at jenkins.model.Jenkins$27.run(Jenkins.java:3846)
      Caused by: java.lang.UnsupportedOperationException
      at java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove(CopyOnWriteArrayList.java:1176)
      at hudson.util.PluginServletFilter.cleanUp(PluginServletFilter.java:162)
      at jenkins.model.Jenkins._cleanUpPluginServletFilters(Jenkins.java:3237)
      at jenkins.model.Jenkins.cleanUp(Jenkins.java:2890)
      ... 2 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                mwyraz Michael michael@wyraz.de
              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: