java.lang.IllegalArgumentException: Invalid thread ID parameter: -1

Jenkins JIRA | Walter Kacynski | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I just updated to the latest support-core 2.13 and my master is throwing out these messages now. {noformat} Sep 3, 2014 1:29:18 PM hudson.triggers.SafeTimerTask run SEVERE: Timer task com.cloudbees.jenkins.support.slowrequest.SlowRequestChecker@68ef7262 failed java.lang.IllegalArgumentException: Invalid thread ID parameter: -1 at sun.management.ThreadImpl.verifyThreadIds(ThreadImpl.java:136) at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:143) at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:114) at com.cloudbees.jenkins.support.slowrequest.SlowRequestChecker.doRun(SlowRequestChecker.java:103) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) {noformat}

    Jenkins JIRA | 2 years ago | Walter Kacynski
    java.lang.IllegalArgumentException: Invalid thread ID parameter: -1
  2. 0

    I just updated to the latest support-core 2.13 and my master is throwing out these messages now. {noformat} Sep 3, 2014 1:29:18 PM hudson.triggers.SafeTimerTask run SEVERE: Timer task com.cloudbees.jenkins.support.slowrequest.SlowRequestChecker@68ef7262 failed java.lang.IllegalArgumentException: Invalid thread ID parameter: -1 at sun.management.ThreadImpl.verifyThreadIds(ThreadImpl.java:136) at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:143) at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:114) at com.cloudbees.jenkins.support.slowrequest.SlowRequestChecker.doRun(SlowRequestChecker.java:103) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) {noformat}

    Jenkins JIRA | 2 years ago | Walter Kacynski
    java.lang.IllegalArgumentException: Invalid thread ID parameter: -1
  3. 0

    Bug ID: JDK-6404306 IllegalArgumentException:Invalid thread ID occurs in 6.0b76

    java.com | 6 months ago
    java.lang.IllegalArgumentException: Invalid thread ID entry
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid thread ID parameter: -1

      at sun.management.ThreadImpl.verifyThreadIds()
    2. Java RT
      ThreadImpl.getThreadInfo
      1. sun.management.ThreadImpl.verifyThreadIds(ThreadImpl.java:136)
      2. sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:143)
      3. sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:114)
      3 frames
    3. com.cloudbees.jenkins
      SlowRequestChecker.doRun
      1. com.cloudbees.jenkins.support.slowrequest.SlowRequestChecker.doRun(SlowRequestChecker.java:103)
      1 frame
    4. Hudson
      SafeTimerTask.run
      1. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
      6. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      9. java.lang.Thread.run(Thread.java:662)
      9 frames