java.lang.RuntimeException: Unexpected issues encountered during cleanUp: null

jenkins-ci.org | 4 months ago
  1. 0

    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

    Jenkins JIRA | 8 months ago | Michael michael@wyraz.de
    java.lang.RuntimeException: Unexpected issues encountered during cleanUp: null
  2. 0

    [JENKINS-33702] safeRestart fails with Authentication exception - Jenkins JIRA

    jenkins-ci.org | 4 months ago
    java.lang.RuntimeException: Unexpected issues encountered during cleanUp: null
  3. 0

    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

    Jenkins JIRA | 8 months ago | Michael michael@wyraz.de
    java.lang.RuntimeException: Unexpected issues encountered during cleanUp: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JIRA] [safe-restart] (JENKINS-33702) safeRestart fails with Authentication exception

    Google Groups | 8 months ago | Daniel.Mish@gfs.com (JIRA)
    java.lang.RuntimeException: Unexpected issues encountered during cleanUp: <span class="code-keyword" style="color: #000091">null</span>
  6. 0

    [JIRA] [core] (JENKINS-33729) Jenkins 2.0 cannot restart after massive plugin installation

    Google Groups | 8 months ago | o.v.nenashev@gmail.com (JIRA)
    java.lang.RuntimeException: Unexpected issues encountered during cleanUp: null

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      No message provided

      at java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove()
    2. Java RT
      CopyOnWriteArrayList$COWIterator.remove
      1. java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove(CopyOnWriteArrayList.java:1176)
      1 frame
    3. Hudson
      PluginServletFilter.cleanUp
      1. hudson.util.PluginServletFilter.cleanUp(PluginServletFilter.java:162)
      1 frame
    4. jenkins.model
      Jenkins.cleanUp
      1. jenkins.model.Jenkins._cleanUpPluginServletFilters(Jenkins.java:3237)
      2. jenkins.model.Jenkins.cleanUp(Jenkins.java:2890)
      2 frames
    5. Hudson
      UnixLifecycle.restart
      1. hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:70)
      1 frame
    6. jenkins.model
      Jenkins$27.run
      1. jenkins.model.Jenkins$27.run(Jenkins.java:3846)
      1 frame