java.lang.UnsupportedOperationException: Inserts out of order

Terracotta Project Issue Tracker | Pankaj Bhambhani | 1 year 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

    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
  2. 0

    [Ehcache 2.10.0 + Terracotta 4.3.0] - UnsupportedOperationException: Inserts out of order

    Google Groups | 1 year ago | Unknown author
    java.lang.UnsupportedOperationException: Inserts out of order
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Inserts out of order

      at com.tc.util.BasicObjectIDSet.doRangeInsert()
    2. com.tc.util
      ObjectIDSet.deserializeFrom
      1. com.tc.util.BasicObjectIDSet.doRangeInsert(BasicObjectIDSet.java:62)
      2. com.tc.util.BasicObjectIDSet.insertRange(BasicObjectIDSet.java:47)
      3. com.tc.util.ObjectIDSet.deserializeFrom(ObjectIDSet.java:99)
      3 frames
    3. com.tc.net
      TCMessageImpl.getObject
      1. com.tc.net.protocol.tcm.TCMessageImpl.getObject(TCMessageImpl.java:248)
      1 frame
    4. com.tc.object
      RequestManagedObjectMessageImpl.hydrateValue
      1. com.tc.object.msg.RequestManagedObjectMessageImpl.hydrateValue(RequestManagedObjectMessageImpl.java:61)
      1 frame
    5. com.tc.net
      HydrateHandler.handleEvent
      1. com.tc.net.protocol.tcm.TCMessageImpl.hydrate(TCMessageImpl.java:166)
      2. com.tc.net.protocol.tcm.HydrateHandler.handleEvent(HydrateHandler.java:33)
      2 frames
    6. com.tc.async
      StageImpl$WorkerThread.run
      1. com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:188)
      1 frame