java.io.IOException: connection not established

GitHub | lorban | 6 days ago
  1. 0

    GitHub comment 1782#271859088

    GitHub | 6 days ago | lorban
    java.io.IOException: connection not established
  2. 0

    Error in ManagedEntityImpl.releaseEntity()

    GitHub | 4 months ago | esebasti
    java.io.IOException: connection not established
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    I am using Terracotta 4.3.0 in combination with Ehcache 2.10.0. I have a Terracotta cluster with a single server instance which manages about 18 Ehcache client nodes. Sometimes (It doesn't happen always and I can't seem to figure out any particular condition in which it might happen) when a client attempts to establish a connection to the Terracotta server, I get the following exception in Terracotta indicating the range inserts in the object id set are out of order : {code} 2015-09-17 09:44:11,174 [WorkerThread(hydrate_message_stage, 13, 13)] ERROR com.tc.net.protocol.tcm.HydrateHandler - Error hydrating message of type REQUEST_MANAGED_OBJECT_MESSAGE (12) java.lang.UnsupportedOperationException: Inserts out of order at com.tc.util.BasicObjectIDSet.doRangeInsert(BasicObjectIDSet.java:62) at com.tc.util.BasicObjectIDSet.insertRange(BasicObjectIDSet.java:47) at com.tc.util.ObjectIDSet.deserializeFrom(ObjectIDSet.java:99) at com.tc.net.protocol.tcm.TCMessageImpl.getObject(TCMessageImpl.java:248) at com.tc.object.msg.RequestManagedObjectMessageImpl.hydrateValue(RequestManagedObjectMessageImpl.java:61) at com.tc.net.protocol.tcm.TCMessageImpl.hydrate(TCMessageImpl.java:166) at com.tc.net.protocol.tcm.HydrateHandler.handleEvent(HydrateHandler.java:33) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:188) {code} Sometimes, the error occurs with the new Ehcache client which is trying to connect. At other times, it occurs with one of the existing clients. In both cases, it causes Terracotta to close the connection with the corresponding client.

    Terracotta Project Issue Tracker | 1 year ago | Pankaj Bhambhani
    java.lang.UnsupportedOperationException: Inserts out of order

    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.io.IOException

      connection not established

      at com.tc.net.protocol.transport.MessageTransportBase.send()
    2. com.tc.net
      TCMessageImpl.send
      1. com.tc.net.protocol.transport.MessageTransportBase.send(MessageTransportBase.java:185)
      2. com.tc.net.protocol.tcm.AbstractMessageChannel.send(AbstractMessageChannel.java:206)
      3. com.tc.net.protocol.tcm.ClientMessageChannelImpl.send(ClientMessageChannelImpl.java:167)
      4. com.tc.net.protocol.tcm.TCMessageImpl.basicSend(TCMessageImpl.java:399)
      5. com.tc.net.protocol.tcm.TCMessageImpl.send(TCMessageImpl.java:385)
      5 frames
    3. com.tc.object
      EntityClientEndpointImpl$InvocationBuilderImpl.invoke
      1. com.tc.object.InFlightMessage.send(InFlightMessage.java:87)
      2. com.tc.object.ClientEntityManagerImpl$1.handleEvent(ClientEntityManagerImpl.java:135)
      3. com.tc.object.ClientEntityManagerImpl$1.handleEvent(ClientEntityManagerImpl.java:121)
      4. com.tc.object.ClientEntityManagerImpl$2.addSingleThreaded(ClientEntityManagerImpl.java:162)
      5. com.tc.object.ClientEntityManagerImpl.createInFlightMessageAfterAcks(ClientEntityManagerImpl.java:532)
      6. com.tc.object.ClientEntityManagerImpl.invokeAction(ClientEntityManagerImpl.java:288)
      7. com.tc.object.EntityClientEndpointImpl$InvocationBuilderImpl.invoke(EntityClientEndpointImpl.java:155)
      7 frames
    4. org.ehcache.clustered
      ClusteredStore.getAndFault
      1. org.ehcache.clustered.client.internal.EhcacheClientEntity.invokeAsync(EhcacheClientEntity.java:345)
      2. org.ehcache.clustered.client.internal.EhcacheClientEntity.invokeInternal(EhcacheClientEntity.java:320)
      3. org.ehcache.clustered.client.internal.EhcacheClientEntity.invoke(EhcacheClientEntity.java:311)
      4. org.ehcache.clustered.client.internal.store.CommonServerStoreProxy.get(CommonServerStoreProxy.java:159)
      5. org.ehcache.clustered.client.internal.store.EventualServerStoreProxy.get(EventualServerStoreProxy.java:55)
      6. org.ehcache.clustered.client.internal.store.ClusteredStore.getInternal(ClusteredStore.java:189)
      7. org.ehcache.clustered.client.internal.store.ClusteredStore.getAndFault(ClusteredStore.java:515)
      7 frames
    5. org.ehcache.impl
      TieredStore.get
      1. org.ehcache.impl.internal.store.tiering.TieredStore$3.apply(TieredStore.java:103)
      2. org.ehcache.impl.internal.store.tiering.TieredStore$3.apply(TieredStore.java:99)
      3. org.ehcache.impl.internal.store.heap.OnHeapStore$15.apply(OnHeapStore.java:727)
      4. org.ehcache.impl.internal.store.heap.OnHeapStore$15.apply(OnHeapStore.java:724)
      5. org.ehcache.impl.internal.store.heap.OnHeapStore$Fault.get(OnHeapStore.java:1023)
      6. org.ehcache.impl.internal.store.heap.OnHeapStore$Fault.access$1000(OnHeapStore.java:996)
      7. org.ehcache.impl.internal.store.heap.OnHeapStore.resolveFault(OnHeapStore.java:760)
      8. org.ehcache.impl.internal.store.heap.OnHeapStore.getOrComputeIfAbsent(OnHeapStore.java:733)
      9. org.ehcache.impl.internal.store.tiering.TieredStore.get(TieredStore.java:99)
      9 frames
    6. org.ehcache.core
      Ehcache.get
      1. org.ehcache.core.Ehcache.get(Ehcache.java:170)
      1 frame
    7. org.ehcache.clustered
      BasicClusteredCacheOpsReplicationWithMultipleClientsTest.lambda$testClear$12
      1. org.ehcache.clustered.replication.BasicClusteredCacheOpsReplicationWithMultipleClientsTest.lambda$testClear$12(BasicClusteredCacheOpsReplicationWithMultipleClientsTest.java:217)
      1 frame
    8. Java RT
      Iterable.forEach
      1. java.lang.Iterable.forEach(Iterable.java:75)
      1 frame
    9. org.ehcache.clustered
      BasicClusteredCacheOpsReplicationWithMultipleClientsTest.testClear
      1. org.ehcache.clustered.replication.BasicClusteredCacheOpsReplicationWithMultipleClientsTest.testClear(BasicClusteredCacheOpsReplicationWithMultipleClientsTest.java:217)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    11. JUnit
      FailOnTimeout$CallableStatement.call
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
      6. org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
      6 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.lang.Thread.run(Thread.java:745)
      2 frames