java.lang.IllegalArgumentException: Invalid thread ID entry

java.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    java.com | 9 months ago
    java.lang.IllegalArgumentException: Invalid thread ID entry
  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 | 3 years ago | Walter Kacynski
    java.lang.IllegalArgumentException: Invalid thread ID parameter: -1
  3. 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 | 3 years ago | Walter Kacynski
    java.lang.IllegalArgumentException: Invalid thread ID parameter: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid thread ID entry

      at sun.management.ThreadImpl.getThreadInfo0()
    2. Java RT
      ThreadImpl.getThreadInfo
      1. sun.management.ThreadImpl.getThreadInfo0(Native Method)
      2. sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:147)
      3. sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:128)
      3 frames
    3. Unknown
      ThreadInfoGetter.run
      1. ThreadInfoGetter.run(ThreadInfoGetter.java:33)
      1 frame