java.lang.AssertionError: Unknown type : 0

Terracotta Project Issue Tracker | Sreenivasan Iyer | 9 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

    On migration from 2.4.8 to 2.5.2 cgallimo on the forum reports (http://forums.terracotta.org/forums/posts/list/940.page) that L2 asserts with the following exception. Probably due to lack of backward compatibility from 2.5.2 to 2.4.8 for the data-store in question. This needs to be confirmed and the error message thrown should be something meaningful to the end-user. 2008-04-02 09:35:45,884 INFO - JMX Server started. Available at URL[service:jmx:jmxmp://0.0.0.0:9520] java.lang.AssertionError: Unknown type : 0 at com.tc.net.groups.NodeIDSerializer.getImpl(NodeIDSerializer.java:73) at com.tc.net.groups.NodeIDSerializer.readNodeID(NodeIDSerializer.java:61) at com.tc.object.tx.ServerTransactionID.createFrom(ServerTransactionID.java:96) at com.tc.objectserver.persistence.sleepycat.TransactionPersistorImpl.bytes2ServerTxnID(TransactionPersistorImpl.java:86) at com.tc.objectserver.persistence.sleepycat.TransactionPersistorImpl.loadAllGlobalTransactionDescriptors(TransactionPersistorImpl.java:50) at com.tc.objectserver.persistence.impl.TransactionStoreImpl.<init>(TransactionStoreImpl.java:42) at com.tc.objectserver.impl.DistributedObjectServer.start(DistributedObjectServer.java:522) at com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:309) at com.tc.server.TCServerImpl.access$500(TCServerImpl.java:51) at com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:277) at com.tc.lang.StartupHelper.startUp(StartupHelper.java:39) at com.tc.server.TCServerImpl.startServer(TCServerImpl.java:302) at com.tc.server.TCServerImpl.start(TCServerImpl.java:134) at com.tc.server.TCServerMain.main(TCServerMain.java:28)

    Terracotta Project Issue Tracker | 9 years ago | Sreenivasan Iyer
    java.lang.AssertionError: Unknown type : 0
  2. 0

    On migration from 2.4.8 to 2.5.2 cgallimo on the forum reports (http://forums.terracotta.org/forums/posts/list/940.page) that L2 asserts with the following exception. Probably due to lack of backward compatibility from 2.5.2 to 2.4.8 for the data-store in question. This needs to be confirmed and the error message thrown should be something meaningful to the end-user. 2008-04-02 09:35:45,884 INFO - JMX Server started. Available at URL[service:jmx:jmxmp://0.0.0.0:9520] java.lang.AssertionError: Unknown type : 0 at com.tc.net.groups.NodeIDSerializer.getImpl(NodeIDSerializer.java:73) at com.tc.net.groups.NodeIDSerializer.readNodeID(NodeIDSerializer.java:61) at com.tc.object.tx.ServerTransactionID.createFrom(ServerTransactionID.java:96) at com.tc.objectserver.persistence.sleepycat.TransactionPersistorImpl.bytes2ServerTxnID(TransactionPersistorImpl.java:86) at com.tc.objectserver.persistence.sleepycat.TransactionPersistorImpl.loadAllGlobalTransactionDescriptors(TransactionPersistorImpl.java:50) at com.tc.objectserver.persistence.impl.TransactionStoreImpl.<init>(TransactionStoreImpl.java:42) at com.tc.objectserver.impl.DistributedObjectServer.start(DistributedObjectServer.java:522) at com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:309) at com.tc.server.TCServerImpl.access$500(TCServerImpl.java:51) at com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:277) at com.tc.lang.StartupHelper.startUp(StartupHelper.java:39) at com.tc.server.TCServerImpl.startServer(TCServerImpl.java:302) at com.tc.server.TCServerImpl.start(TCServerImpl.java:134) at com.tc.server.TCServerMain.main(TCServerMain.java:28)

    Terracotta Project Issue Tracker | 9 years ago | Sreenivasan Iyer
    java.lang.AssertionError: Unknown type : 0

    Root Cause Analysis

    1. java.lang.AssertionError

      Unknown type : 0

      at com.tc.net.groups.NodeIDSerializer.getImpl()
    2. com.tc.net
      NodeIDSerializer.readNodeID
      1. com.tc.net.groups.NodeIDSerializer.getImpl(NodeIDSerializer.java:73)
      2. com.tc.net.groups.NodeIDSerializer.readNodeID(NodeIDSerializer.java:61)
      2 frames
    3. com.tc.object
      ServerTransactionID.createFrom
      1. com.tc.object.tx.ServerTransactionID.createFrom(ServerTransactionID.java:96)
      1 frame
    4. com.tc.objectserver
      DistributedObjectServer.start
      1. com.tc.objectserver.persistence.sleepycat.TransactionPersistorImpl.bytes2ServerTxnID(TransactionPersistorImpl.java:86)
      2. com.tc.objectserver.persistence.sleepycat.TransactionPersistorImpl.loadAllGlobalTransactionDescriptors(TransactionPersistorImpl.java:50)
      3. com.tc.objectserver.persistence.impl.TransactionStoreImpl.<init>(TransactionStoreImpl.java:42)
      4. com.tc.objectserver.impl.DistributedObjectServer.start(DistributedObjectServer.java:522)
      4 frames
    5. com.tc.server
      TCServerImpl$StartAction.execute
      1. com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:309)
      2. com.tc.server.TCServerImpl.access$500(TCServerImpl.java:51)
      3. com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:277)
      3 frames
    6. com.tc.lang
      StartupHelper.startUp
      1. com.tc.lang.StartupHelper.startUp(StartupHelper.java:39)
      1 frame
    7. com.tc.server
      TCServerMain.main
      1. com.tc.server.TCServerImpl.startServer(TCServerImpl.java:302)
      2. com.tc.server.TCServerImpl.start(TCServerImpl.java:134)
      3. com.tc.server.TCServerMain.main(TCServerMain.java:28)
      3 frames