java.lang.ArrayIndexOutOfBoundsException: 3965

DataStax JIRA | Roshan | 2 years ago
  1. 0

    Under the heavy write load, java driver throws the below exception and marked the target node as down. {code} 2014-06-25 10:01:39,304 DEBUG [Connection] Defuncting connection to /10.1.161.36:9042: com.datastax.driver.core.TransportException: [/10.1.161.36:9042] Error writing at com.datastax.driver.core.Connection$1.operationComplete(Connection.java:351) at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427) at org.jboss.netty.channel.DefaultChannelFuture.addListener(DefaultChannelFuture.java:145) at com.datastax.driver.core.Connection.write(Connection.java:330) at com.datastax.driver.core.RequestHandler.query(RequestHandler.java:126) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:100) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:418) at com.datastax.driver.core.SessionManager.executeQuery(SessionManager.java:454) at com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:104) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:92) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.createData(CassandraCache.java:94) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.put(CassandraCache.java:82) at biz.bsite.direct.services.cache.CommsCache.setSmsReplyCache(CommsCache.java:39) at biz.bsite.direct.services.cache.CommsCache.run(CommsCache.java:54) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ArrayIndexOutOfBoundsException: 3965 at org.jboss.netty.buffer.BigEndianHeapChannelBuffer.setInt(BigEndianHeapChannelBuffer.java:98) at org.jboss.netty.buffer.AbstractChannelBuffer.writeInt(AbstractChannelBuffer.java:423) at com.datastax.driver.core.Requests$QueryProtocolOptions.encode(Requests.java:275) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:172) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:169) at com.datastax.driver.core.Message$ProtocolEncoder.encode(Message.java:207) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:66) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582) at org.jboss.netty.channel.Channels.write(Channels.java:704) at org.jboss.netty.channel.Channels.write(Channels.java:671) at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248) ... 14 more 2014-06-25 10:01:39,305 TRACE [Cluster] Host /10.1.161.36:9042 is DOWN 2014-06-25 10:01:39,305 TRACE [ControlConnection] [Control connection] /10.1.161.36:9042 is down, currently connected to /10.1.161.36:9042 2014-06-25 10:01:39,307 TRACE [Connection] [/10.1.161.36:9042-2] connection error: java.lang.ArrayIndexOutOfBoundsException: 3965 at org.jboss.netty.buffer.BigEndianHeapChannelBuffer.setInt(BigEndianHeapChannelBuffer.java:98) at org.jboss.netty.buffer.AbstractChannelBuffer.writeInt(AbstractChannelBuffer.java:423) at com.datastax.driver.core.Requests$QueryProtocolOptions.encode(Requests.java:275) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:172) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:169) at com.datastax.driver.core.Message$ProtocolEncoder.encode(Message.java:207) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:66) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59) at org.jboss.netty.channel.Channels.write(Channels.java:704) at org.jboss.netty.channel.Channels.write(Channels.java:671) at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248) at com.datastax.driver.core.Connection.write(Connection.java:330) at com.datastax.driver.core.RequestHandler.query(RequestHandler.java:126) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:100) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:418) at com.datastax.driver.core.SessionManager.executeQuery(SessionManager.java:454) at com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:104) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:92) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.createData(CassandraCache.java:94) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.put(CassandraCache.java:82) at biz.bsite.direct.services.cache.CommsCache.setSmsReplyCache(CommsCache.java:39) at biz.bsite.direct.services.cache.CommsCache.run(CommsCache.java:54) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code}

    DataStax JIRA | 2 years ago | Roshan
    java.lang.ArrayIndexOutOfBoundsException: 3965
  2. 0

    Under the heavy write load, java driver throws the below exception and marked the target node as down. {code} 2014-06-25 10:01:39,304 DEBUG [Connection] Defuncting connection to /10.1.161.36:9042: com.datastax.driver.core.TransportException: [/10.1.161.36:9042] Error writing at com.datastax.driver.core.Connection$1.operationComplete(Connection.java:351) at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427) at org.jboss.netty.channel.DefaultChannelFuture.addListener(DefaultChannelFuture.java:145) at com.datastax.driver.core.Connection.write(Connection.java:330) at com.datastax.driver.core.RequestHandler.query(RequestHandler.java:126) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:100) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:418) at com.datastax.driver.core.SessionManager.executeQuery(SessionManager.java:454) at com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:104) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:92) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.createData(CassandraCache.java:94) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.put(CassandraCache.java:82) at biz.bsite.direct.services.cache.CommsCache.setSmsReplyCache(CommsCache.java:39) at biz.bsite.direct.services.cache.CommsCache.run(CommsCache.java:54) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ArrayIndexOutOfBoundsException: 3965 at org.jboss.netty.buffer.BigEndianHeapChannelBuffer.setInt(BigEndianHeapChannelBuffer.java:98) at org.jboss.netty.buffer.AbstractChannelBuffer.writeInt(AbstractChannelBuffer.java:423) at com.datastax.driver.core.Requests$QueryProtocolOptions.encode(Requests.java:275) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:172) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:169) at com.datastax.driver.core.Message$ProtocolEncoder.encode(Message.java:207) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:66) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582) at org.jboss.netty.channel.Channels.write(Channels.java:704) at org.jboss.netty.channel.Channels.write(Channels.java:671) at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248) ... 14 more 2014-06-25 10:01:39,305 TRACE [Cluster] Host /10.1.161.36:9042 is DOWN 2014-06-25 10:01:39,305 TRACE [ControlConnection] [Control connection] /10.1.161.36:9042 is down, currently connected to /10.1.161.36:9042 2014-06-25 10:01:39,307 TRACE [Connection] [/10.1.161.36:9042-2] connection error: java.lang.ArrayIndexOutOfBoundsException: 3965 at org.jboss.netty.buffer.BigEndianHeapChannelBuffer.setInt(BigEndianHeapChannelBuffer.java:98) at org.jboss.netty.buffer.AbstractChannelBuffer.writeInt(AbstractChannelBuffer.java:423) at com.datastax.driver.core.Requests$QueryProtocolOptions.encode(Requests.java:275) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:172) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:169) at com.datastax.driver.core.Message$ProtocolEncoder.encode(Message.java:207) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:66) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59) at org.jboss.netty.channel.Channels.write(Channels.java:704) at org.jboss.netty.channel.Channels.write(Channels.java:671) at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248) at com.datastax.driver.core.Connection.write(Connection.java:330) at com.datastax.driver.core.RequestHandler.query(RequestHandler.java:126) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:100) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:418) at com.datastax.driver.core.SessionManager.executeQuery(SessionManager.java:454) at com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:104) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:92) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.createData(CassandraCache.java:94) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.put(CassandraCache.java:82) at biz.bsite.direct.services.cache.CommsCache.setSmsReplyCache(CommsCache.java:39) at biz.bsite.direct.services.cache.CommsCache.run(CommsCache.java:54) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code}

    DataStax JIRA | 2 years ago | Roshan
    java.lang.ArrayIndexOutOfBoundsException: 3965
  3. 0

    Under the heavy write load, java driver throws the below exception and marked the target node as down. {code} 2014-06-25 10:01:39,304 DEBUG [Connection] Defuncting connection to /10.1.161.36:9042: com.datastax.driver.core.TransportException: [/10.1.161.36:9042] Error writing at com.datastax.driver.core.Connection$1.operationComplete(Connection.java:351) at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427) at org.jboss.netty.channel.DefaultChannelFuture.addListener(DefaultChannelFuture.java:145) at com.datastax.driver.core.Connection.write(Connection.java:330) at com.datastax.driver.core.RequestHandler.query(RequestHandler.java:126) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:100) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:418) at com.datastax.driver.core.SessionManager.executeQuery(SessionManager.java:454) at com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:104) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:92) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.createData(CassandraCache.java:94) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.put(CassandraCache.java:82) at biz.bsite.direct.services.cache.CommsCache.setSmsReplyCache(CommsCache.java:39) at biz.bsite.direct.services.cache.CommsCache.run(CommsCache.java:54) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ArrayIndexOutOfBoundsException: 3965 at org.jboss.netty.buffer.BigEndianHeapChannelBuffer.setInt(BigEndianHeapChannelBuffer.java:98) at org.jboss.netty.buffer.AbstractChannelBuffer.writeInt(AbstractChannelBuffer.java:423) at com.datastax.driver.core.Requests$QueryProtocolOptions.encode(Requests.java:275) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:172) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:169) at com.datastax.driver.core.Message$ProtocolEncoder.encode(Message.java:207) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:66) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582) at org.jboss.netty.channel.Channels.write(Channels.java:704) at org.jboss.netty.channel.Channels.write(Channels.java:671) at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248) ... 14 more {code}

    DataStax JIRA | 2 years ago | Roshan
    com.datastax.driver.core.TransportException: [/10.1.161.36:9042] Error writing
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Under the heavy write load, java driver throws the below exception and marked the target node as down. {code} 2014-06-25 10:01:39,304 DEBUG [Connection] Defuncting connection to /10.1.161.36:9042: com.datastax.driver.core.TransportException: [/10.1.161.36:9042] Error writing at com.datastax.driver.core.Connection$1.operationComplete(Connection.java:351) at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427) at org.jboss.netty.channel.DefaultChannelFuture.addListener(DefaultChannelFuture.java:145) at com.datastax.driver.core.Connection.write(Connection.java:330) at com.datastax.driver.core.RequestHandler.query(RequestHandler.java:126) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:100) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:418) at com.datastax.driver.core.SessionManager.executeQuery(SessionManager.java:454) at com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:104) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:92) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.createData(CassandraCache.java:94) at biz.bsite.direct.services.cache.cacheselect.CassandraCache.put(CassandraCache.java:82) at biz.bsite.direct.services.cache.CommsCache.setSmsReplyCache(CommsCache.java:39) at biz.bsite.direct.services.cache.CommsCache.run(CommsCache.java:54) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ArrayIndexOutOfBoundsException: 3965 at org.jboss.netty.buffer.BigEndianHeapChannelBuffer.setInt(BigEndianHeapChannelBuffer.java:98) at org.jboss.netty.buffer.AbstractChannelBuffer.writeInt(AbstractChannelBuffer.java:423) at com.datastax.driver.core.Requests$QueryProtocolOptions.encode(Requests.java:275) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:172) at com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:169) at com.datastax.driver.core.Message$ProtocolEncoder.encode(Message.java:207) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:66) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582) at org.jboss.netty.channel.Channels.write(Channels.java:704) at org.jboss.netty.channel.Channels.write(Channels.java:671) at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248) ... 14 more {code}

    DataStax JIRA | 2 years ago | Roshan
    com.datastax.driver.core.TransportException: [/10.1.161.36:9042] Error writing

    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.ArrayIndexOutOfBoundsException

      3965

      at org.jboss.netty.buffer.BigEndianHeapChannelBuffer.setInt()
    2. Netty
      AbstractChannelBuffer.writeInt
      1. org.jboss.netty.buffer.BigEndianHeapChannelBuffer.setInt(BigEndianHeapChannelBuffer.java:98)
      2. org.jboss.netty.buffer.AbstractChannelBuffer.writeInt(AbstractChannelBuffer.java:423)
      2 frames
    3. DataStax Java Driver for Apache Cassandra - Core
      Message$ProtocolEncoder.encode
      1. com.datastax.driver.core.Requests$QueryProtocolOptions.encode(Requests.java:275)
      2. com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:172)
      3. com.datastax.driver.core.Requests$Execute$2.encode(Requests.java:169)
      4. com.datastax.driver.core.Message$ProtocolEncoder.encode(Message.java:207)
      4 frames
    4. Netty
      AbstractChannel.write
      1. org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:66)
      2. org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59)
      3. org.jboss.netty.channel.Channels.write(Channels.java:704)
      4. org.jboss.netty.channel.Channels.write(Channels.java:671)
      5. org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248)
      5 frames
    5. DataStax Java Driver for Apache Cassandra - Core
      SessionManager.execute
      1. com.datastax.driver.core.Connection.write(Connection.java:330)
      2. com.datastax.driver.core.RequestHandler.query(RequestHandler.java:126)
      3. com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:100)
      4. com.datastax.driver.core.SessionManager.execute(SessionManager.java:418)
      5. com.datastax.driver.core.SessionManager.executeQuery(SessionManager.java:454)
      6. com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:104)
      7. com.datastax.driver.core.SessionManager.execute(SessionManager.java:92)
      7 frames
    6. biz.bsite.direct
      CommsCache.run
      1. biz.bsite.direct.services.cache.cacheselect.CassandraCache.createData(CassandraCache.java:94)
      2. biz.bsite.direct.services.cache.cacheselect.CassandraCache.put(CassandraCache.java:82)
      3. biz.bsite.direct.services.cache.CommsCache.setSmsReplyCache(CommsCache.java:39)
      4. biz.bsite.direct.services.cache.CommsCache.run(CommsCache.java:54)
      4 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames