java.util.HashMap

Google Groups | jgl...@cloudbees.com (JIRA) | 6 months ago
  1. 0

    [JIRA] (JENKINS-23784) Allow parallel class loading

    Google Groups | 6 months ago | jgl...@cloudbees.com (JIRA)
    java.util.HashMap
  2. 0

    On session expiry coupled with a page redirect causes the framework to lockup with the following thread dump: Found one Java-level deadlock: ============================= "Session Monitor": waiting to lock monitor 0x003e4b9c (object 0x0a2a03a0, a java.util.HashMap), which is held by "HTTPThreadGroup-6" "HTTPThreadGroup-6": waiting to lock monitor 0x003e4bbc (object 0x0acf4880, a com.evermind.server.http.EvermindHttpSession), which is held by "Session Monitor" Java stack information for the threads listed above: =================================================== "Session Monitor": at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.notifySessionShutdown(SessionDispatcher.java:272) - waiting to lock <0x0a2a03a0> (a java.util.HashMap) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.access$400(SessionDispatcher.java:73) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Listener.sessionDestroyed(SessionDispatcher.java:361) at com.icesoft.faces.util.event.servlet.ContextEventRepeater.sessionDestroyed(ContextEventRepeater.java:319) at com.evermind.server.http.HttpApplication.invalidateSession(HttpApplication.java:996) at com.evermind.server.http.HttpApplication.invalidateSession(HttpApplication.java:978) at com.evermind.server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:411) - locked <0x0acf4880> (a com.evermind.server.http.EvermindHttpSession) at com.evermind.server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:378) - locked <0x0acf4880> (a com.evermind.server.http.EvermindHttpSession) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.shutdown(SessionDispatcher.java:445) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.shutdownIfExpired(SessionDispatcher.java:457) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Listener$1.run(SessionDispatcher.java:325) "HTTPThreadGroup-6": at com.evermind.server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:171) - waiting to lock <0x0acf4880> (a com.evermind.server.http.EvermindHttpSession) at com.evermind.server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:137) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.<init>(SessionDispatcher.java:388) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.checkSession(SessionDispatcher.java:136) - locked <0x0a2a03a0> (a java.util.HashMap) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:96) at com.icesoft.faces.webapp.http.servlet.BlockExpiredSessionRequests.service(BlockExpiredSessionRequests.java:53) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:204) at ***.***Servlet.service(***Servlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) Found 1 deadlock.

    ICEsoft JIRA Issue Tracker | 2 years ago | Mircea Toma
    java.util.HashMap
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    One CPS VM thread was hung in a remoting call: {code:none} "Computer.threadPoolForRemoting [#...] / waiting for hudson.remoting.Channel@..." java.lang.Thread.State: TIMED_WAITING at java.lang.Object.wait(Native Method) - waiting on <...> (a hudson.remoting.UserRequest) at hudson.remoting.Request.call(Request.java:147) at hudson.remoting.Channel.call(Channel.java:780) at hudson.Launcher$RemoteLauncher.kill(Launcher.java:954) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.finish(ExecutorStepExecution.java:345) - locked <...> (a java.util.HashMap) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.access$400(ExecutorStepExecution.java:145) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask$Callback.finished(ExecutorStepExecution.java:374) at org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onFailure(BodyExecutionCallback.java:123) at ... {code} That held the lock on {{runningTasks}}, causing another thread to block: {code:none} "Handling POST /.../stop from ..." java.lang.Thread.State: BLOCKED at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.finish(ExecutorStepExecution.java:337) - waiting to lock <...> (a java.util.HashMap) owned by "Computer.threadPoolForRemoting..." at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.access$400(ExecutorStepExecution.java:145) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution.stop(ExecutorStepExecution.java:122) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$6.onSuccess(CpsFlowExecution.java:703) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$6.onSuccess(CpsFlowExecution.java:698) at org.jenkinsci.plugins.workflow.support.concurrent.Futures$1.run(Futures.java:150) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:149) at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:105) at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:155) at org.jenkinsci.plugins.workflow.support.concurrent.Futures.addCallback(Futures.java:160) at org.jenkinsci.plugins.workflow.support.concurrent.Futures.addCallback(Futures.java:90) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.interrupt(CpsFlowExecution.java:698) at org.jenkinsci.plugins.workflow.job.WorkflowRun$2.interrupt(WorkflowRun.java:226) at hudson.model.Executor.interrupt(Executor.java:225) at hudson.model.Executor.interrupt(Executor.java:195) at hudson.model.Executor.interrupt(Executor.java:185) at hudson.model.Executor.interrupt(Executor.java:171) at hudson.model.Executor.doStop(Executor.java:853) at org.jenkinsci.plugins.workflow.job.WorkflowRun.doStop(WorkflowRun.java:603) - locked <...> (a org.jenkinsci.plugins.workflow.job.WorkflowRun) at ... {code} which in turn caused many other threads to hang: {code:none} "Handling GET /jenkins/ from ... View/index.jelly View/sidepanel.jelly" java.lang.Thread.State: WAITING at sun.misc.Unsafe.park(Native Method) - waiting to lock <...> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync) owned by "Handling POST ..." at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(AbstractQueuedSynchronizer.java:967) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1283) at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(ReentrantReadWriteLock.java:727) at hudson.model.Executor.getAsynchronousExecution(Executor.java:615) at hudson.model.Executor.isDisplayCell(Executor.java:635) at hudson.model.Computer.getDisplayExecutors(Computer.java:937) at ... {code}

    Jenkins JIRA | 9 months ago | Jesse Glick
    java.util.HashMap

    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.util.HashMap

      No message provided

      at groovy.lang.GroovyShell.parseClass()
    2. Groovy
      GroovyShell.parse
      1. groovy.lang.GroovyShell.parseClass(GroovyShell.java:731)
      2. groovy.lang.GroovyShell.parse(GroovyShell.java:743)
      2 frames
    3. org.jenkinsci.plugins
      WorkflowRun.run
      1. org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:106)
      2. org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:376)
      3. org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:343)
      4. org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:212)
      4 frames