java.lang.IllegalThreadStateException: Thread is already started

Jenkins JIRA | Phil Rumble | 2 years ago
  1. 0

    The build queue builds up and there are plenty of executors available on several nodes as well as the master node. The system memory usage is quite low < 2Gb (system has > 16Gb) The log file is full of entries like Nov 14, 2014 9:09:21 AM hudson.triggers.SafeTimerTask run SEVERE: Timer task hudson.model.Queue$MaintainTask@c2f8092d failed java.lang.IllegalThreadStateException: Thread is already started at java.lang.Thread.start(Thread.java:953) at hudson.model.Executor.start(Executor.java:497) at hudson.model.Queue$JobOffer.set(Queue.java:261) at hudson.model.queue.MappingWorksheet$ExecutorChunk.execute(MappingWorksheet.java:164) at hudson.model.queue.MappingWorksheet$ExecutorChunk.access$000(MappingWorksheet.java:112) at hudson.model.queue.MappingWorksheet$Mapping.execute(MappingWorksheet.java:313) at hudson.model.Queue.maintain(Queue.java:1064) at hudson.model.Queue$MaintainTask.doRun(Queue.java:2033) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:482) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:315) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:193) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:308) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:795)

    Jenkins JIRA | 2 years ago | Phil Rumble
    java.lang.IllegalThreadStateException: Thread is already started
  2. 0

    The build queue builds up and there are plenty of executors available on several nodes as well as the master node. The system memory usage is quite low < 2Gb (system has > 16Gb) The log file is full of entries like Nov 14, 2014 9:09:21 AM hudson.triggers.SafeTimerTask run SEVERE: Timer task hudson.model.Queue$MaintainTask@c2f8092d failed java.lang.IllegalThreadStateException: Thread is already started at java.lang.Thread.start(Thread.java:953) at hudson.model.Executor.start(Executor.java:497) at hudson.model.Queue$JobOffer.set(Queue.java:261) at hudson.model.queue.MappingWorksheet$ExecutorChunk.execute(MappingWorksheet.java:164) at hudson.model.queue.MappingWorksheet$ExecutorChunk.access$000(MappingWorksheet.java:112) at hudson.model.queue.MappingWorksheet$Mapping.execute(MappingWorksheet.java:313) at hudson.model.Queue.maintain(Queue.java:1064) at hudson.model.Queue$MaintainTask.doRun(Queue.java:2033) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:482) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:315) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:193) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:308) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:795)

    Jenkins JIRA | 2 years ago | Phil Rumble
    java.lang.IllegalThreadStateException: Thread is already started
  3. 0

    How can I add URLs to crawler of crawler4j at random times during progress

    Stack Overflow | 5 years ago | KenichiYamamoto
    java.lang.IllegalThreadStateException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PureJavaSerialPort.java race-condition (m_Thread)

    GitHub | 4 years ago | ppcedric
    java.lang.IllegalThreadStateException: null
  6. 0

    [#|2012-07-27T16:47:00.621-0700|FINE|sun-appserver2.1|com.sun.jbi.filebc.FileBindingDeployer|_ThreadID=48;_ThreadName=FileInOutCA-sun-file-binding;ClassName=com.sun.jbi.filebc.FileBindingDeployer;MethodName=start;FileInOutCA-sun-file-binding;_RequestID=3f4bc9b7-e7f9-4ce6-82ba-b2e653c8a706;|Successfully started service unit: FileInOutCA-sun-file-binding.|#] [#|2012-07-27T16:47:00.621-0700|FINE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;ClassName=com.sun.jbi.filebc.InboundMessageProcessor;MethodName=run;{http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}FileInboundService;FileInWSDL_InboundPort;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|InboundMessageProcessor executing. Endpoint service name is [{http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}FileInboundService] and endpoint name is [FileInWSDL_InboundPort].|#] [#|2012-07-27T16:47:00.633-0700|FINE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;ClassName=com.sun.jbi.filebc.InboundMessageProcessor;MethodName=run;C:\logs;input.txt;1000;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|About to poll directory C:\logs for file input.txt in every 1,000ms.|#] [#|2012-07-27T16:47:00.634-0700|FINE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;ClassName=com.sun.jbi.filebc.InboundMessageProcessor;MethodName=locateServiceEndpoint;{http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}FileInboundService;FileInWSDL_InboundPort;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|Located service endpoint reference for service [{http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}FileInboundService] and endpoint name [FileInWSDL_InboundPort].|#] [#|2012-07-27T16:48:06.710-0700|FINE|sun-appserver2.1|com.sun.jbi.filebc.IBFileWorker|_ThreadID=50;_ThreadName=filebc-ib-workerThread-981;ClassName=com.sun.jbi.filebc.IBFileWorker;MethodName=run;_RequestID=901f6995-2a93-4371-8c70-37ea64b0714a;|Single record processing is configured, so we will treat the whole file content as one record...|#] [#|2012-07-27T16:48:06.715-0700|FINE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=50;_ThreadName=filebc-ib-workerThread-981;ClassName=com.sun.jbi.filebc.InboundMessageProcessor;MethodName=send;Context=FileInOutCA-sun-file-binding-{http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll;_RequestID=901f6995-2a93-4371-8c70-37ea64b0714a;|Sending message 100951309680238-25590-135627256867110029|#] [#|2012-07-27T16:48:06.715-0700|FINE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=50;_ThreadName=filebc-ib-workerThread-981;ClassName=com.sun.jbi.filebc.util.MessageUtil;MethodName=checkAndGenerateInMemoryCRMP;Context=FileInOutCA-sun-file-binding-{http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll;_RequestID=901f6995-2a93-4371-8c70-37ea64b0714a;|Generated: com.sun.jbi.messaging.groupid with value [c21d7213-1e42-42f9-8c85-91d523005e1f] and com.sun.jbi.messaging.messageid with value [1] for message exchange with ID [100951309680238-25590-135627256867110029]|#] [#|2012-07-27T16:48:06.717-0700|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=50;_ThreadName=filebc-ib-workerThread-981;_RequestID=901f6995-2a93-4371-8c70-37ea64b0714a;| Exception in thread "filebc-ib-workerThread-981" |#] [#|2012-07-27T16:48:06.718-0700|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=50;_ThreadName=filebc-ib-workerThread-981;_RequestID=901f6995-2a93-4371-8c70-37ea64b0714a;|java.lang.NoClassDefFoundError: org/openesb/runtime/tracking/MessageTrackingInfo at com.sun.jbi.messaging.MessageExchangeProxy.setMessage(MessageExchangeProxy.java:421) at com.sun.jbi.filebc.InboundMessageProcessor.send(InboundMessageProcessor.java:861) at com.sun.jbi.filebc.IBFileWorker.processMessage(IBFileWorker.java:377) at com.sun.jbi.filebc.IBFileWorker.run(IBFileWorker.java:144) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:07.720-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:08.729-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:09.734-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:10.742-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:11.748-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:12.753-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:13.758-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:14.768-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:15.773-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:16.778-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:17.783-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:18.791-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:19.797-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:20.807-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#] [#|2012-07-27T16:48:21.815-0700|SEVERE|sun-appserver2.1|com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=49;_ThreadName=filebc-ib-Thread-977;_RequestID=2fb532d6-67b2-4ec4-8bf5-35857d9ae0a8;|FILEBC-E00720: inonly message for operation {http://j2ee.netbeans.org/wsdl/FileInOut/FileInWSDL}poll failed processing, an exception was raised. null java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:638) at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:433) at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:220) at java.lang.Thread.run(Thread.java:662) |#]

    JIRA | 4 years ago | Fred Aabedi
    java.lang.IllegalThreadStateException

  1. Lukasmcd14 2 times, last 2 months ago
1 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.IllegalThreadStateException

    Thread is already started

    at java.lang.Thread.start()
  2. Java RT
    Thread.start
    1. java.lang.Thread.start(Thread.java:953)
    1 frame
  3. Hudson
    SafeTimerTask.run
    1. hudson.model.Executor.start(Executor.java:497)
    2. hudson.model.Queue$JobOffer.set(Queue.java:261)
    3. hudson.model.queue.MappingWorksheet$ExecutorChunk.execute(MappingWorksheet.java:164)
    4. hudson.model.queue.MappingWorksheet$ExecutorChunk.access$000(MappingWorksheet.java:112)
    5. hudson.model.queue.MappingWorksheet$Mapping.execute(MappingWorksheet.java:313)
    6. hudson.model.Queue.maintain(Queue.java:1064)
    7. hudson.model.Queue$MaintainTask.doRun(Queue.java:2033)
    8. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
    8 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:482)
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:315)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:193)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:308)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    7. java.lang.Thread.run(Thread.java:795)
    7 frames