com.datastax.driver.core.TransportException: [/10.1.161.36:9042] Error writing

DataStax JIRA | Roshan | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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 {code}

    DataStax JIRA | 3 years ago | Roshan
    com.datastax.driver.core.TransportException: [/10.1.161.36:9042] Error writing
  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 | 3 years ago | Roshan
    com.datastax.driver.core.TransportException: [/10.1.161.36:9042] Error writing
  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 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 | 3 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 | 3 years ago | Roshan
    com.datastax.driver.core.TransportException: [/10.1.161.36:9042] Error writing
  6. 0

    VGO server crashing

    GitHub | 2 years ago | dweer
    java.lang.ArrayIndexOutOfBoundsException: 0 at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_ 150819_a(SourceFile:34) at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_ 76672_e(SourceFile:121) at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_7582 3_a(AnvilChunkLoader.java:441) at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedRe adChunkFromNBT__Async(AnvilChunkLoader.java:154) at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk __Async(AnvilChunkLoader.java:124) at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage1 (ChunkIOProvider.java:20) at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage1 (ChunkIOProvider.java:12) at net.minecraftforge.common.util.AsynchronousExecutor$Task.ini t(AsynchronousExecutor.java:151) at net.minecraftforge.common.util.AsynchronousExecutor$Task.ini tAsync(AsynchronousExecutor.java:96) at net.minecraftforge.common.util.AsynchronousExecutor$Task.run (AsynchronousExecutor.java:86) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool Executor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:615)

    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.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
      4. org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
      5. org.jboss.netty.channel.Channels.write(Channels.java:704)
      6. org.jboss.netty.channel.Channels.write(Channels.java:671)
      7. org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248)
      7 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