# Millions of IllegalStateException in yourkit profiler connected to ES service

**URL:** <https://discuss.elastic.co/t/millions-of-illegalstateexception-in-yourkit-profiler-connected-to-es-service/95505>\
**Category:** Elasticsearch\
**Created:** [August 2, 2017, 10:33am UTC](https://discuss.elastic.co/t/millions-of-illegalstateexception-in-yourkit-profiler-connected-to-es-service/95505 "2017-08-02T10:33:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nrmohta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nrmohta/32/120038_2.png) [@nrmohta](https://discuss.elastic.co/u/nrmohta)\
**Post date:** [August 2, 2017, 10:33am UTC](https://discuss.elastic.co/t/millions-of-illegalstateexception-in-yourkit-profiler-connected-to-es-service/95505/1 "2017-08-02T10:33:14Z")

</div>

Hi All

We are getting millions of IllegalStateException in yourkit profiler connected to ES service.  
Any help/direction will be very helpful, please suggest.  
ES version - 5.2.2

```auto
+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+
| +---org.elasticsearch.transport.TcpTransport.validateMessageHeader(BytesReference) TcpTransport.java:1204 | 8,760,095 98 % |
| | | | |
| | +---org.elasticsearch.transport.netty4.Netty4SizeHeaderFrameDecoder.decode(ChannelHandlerContext, ByteBuf, List) Netty4SizeHeaderFrameDecoder.java:36 | |
| | | | |
| | +---io.netty.handler.codec.ByteToMessageDecoder.callDecode(ChannelHandlerContext, ByteBuf, List) ByteToMessageDecoder.java:411 | |
| | | | |
| | +---io.netty.handler.codec.ByteToMessageDecoder.channelRead(ChannelHandlerContext, Object) ByteToMessageDecoder.java:248 | |
| | | | |
| | +---io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Object) AbstractChannelHandlerContext.java:363 | |
| | | | |
| | +---io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext, Object) AbstractChannelHandlerContext.java:349 | |
| | | | |
| | +---io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(Object) AbstractChannelHandlerContext.java:341 | |
| | | | |
| | +---io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelHandlerContext, Object) ChannelInboundHandlerAdapter.java:86 | 8,760,090 98 % |
| | | | |
| | +---io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(ChannelHandlerContext, Object) DefaultChannelPipeline.java:1334 | 5 0 % |
| | | |
| +---org.elasticsearch.transport.TcpTransport.validateMessageHeader(BytesReference) TcpTransport.java:1250 | 139,010 2 % |
| | | |
| +---org.elasticsearch.transport.netty4.Netty4SizeHeaderFrameDecoder.decode(ChannelHandlerContext, ByteBuf, List) Netty4SizeHeaderFrameDecoder.java:36 | |
| | | |
| +---io.netty.handler.codec.ByteToMessageDecoder.callDecode(ChannelHandlerContext, ByteBuf, List) ByteToMessageDecoder.java:411 | |
| | | |
| +---io.netty.handler.codec.ByteToMessageDecoder.channelRead(ChannelHandlerContext, Object) ByteToMessageDecoder.java:248 | |
| | | |
| +---io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Object) AbstractChannelHandlerContext.java:363 | |
| | | |
| +---io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext, Object) AbstractChannelHandlerContext.java:349 | |
| | | |
| +---io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(Object) AbstractChannelHandlerContext.java:341 | |
| | | |
| +---io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelHandlerContext, Object) ChannelInboundHandlerAdapter.java:86 | |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+

```

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 4, 2017, 7:38am UTC](https://discuss.elastic.co/t/millions-of-illegalstateexception-in-yourkit-profiler-connected-to-es-service/95505/2 "2017-08-04T07:38:49Z")

</div>

Hey,

I think it would make sense to add more information to this post. Where do you get those exceptions, supply a full stack trace. What is the problem with these exceptions, etc? More information is needed here.

--Alex

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 1, 2017, 7:39am UTC](https://discuss.elastic.co/t/millions-of-illegalstateexception-in-yourkit-profiler-connected-to-es-service/95505/3 "2017-09-01T07:39:17Z")

</div>

Closed on September 1, 2017, 7:39am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
