java.lang.AssertionError: cannot create a toggle reference if peer object is gone

Terracotta | hmak | 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

    Re:unexpected finalize() after DMI invocation

    Terracotta | 9 years ago | hmak
    java.lang.AssertionError: cannot create a toggle reference if peer object is gone
  2. 0

    Re:unexpected finalize() after DMI invocation

    Terracotta | 9 years ago | hmak
    java.lang.AssertionError: cannot create a toggle reference if peer object is gone

    Root Cause Analysis

    1. java.lang.AssertionError

      cannot create a toggle reference if peer object is gone

      at com.tc.object.TCObjectImpl.getOrCreateToggleRef()
    2. com.tc.object
      TCObjectImpl.getOrCreateToggleRef
      1. com.tc.object.TCObjectImpl.getOrCreateToggleRef(TCObjectImpl.java:437)
      1 frame
    3. Java RT
      ReentrantLock.lock
      1. java.util.concurrent.locks.ReentrantLock$Sync.__tc_AQS_stateChanged(ReentrantLock.java)
      2. java.util.concurrent.locks.AbstractQueuedSynchronizer.compareAndSetState(AbstractQueuedSynchronizer.java:507)
      3. java.util.concurrent.locks.ReentrantLock$FairSync.tryAcquire(ReentrantLock.java:209)
      4. java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1076)
      5. java.util.concurrent.locks.ReentrantLock$FairSync.lock(ReentrantLock.java:197)
      6. java.util.concurrent.locks.ReentrantLock.__RL__tc_lock(Unknown Source)
      7. java.util.concurrent.locks.ReentrantLock.lock(Unknown Source)
      7 frames
    4. Unknown
      DMIGCTest$Member.finalize
      1. DMIGCTest$Member.finalize(DMIGCTest.java:35)
      1 frame
    5. Java RT
      Finalizer$FinalizerThread.run
      1. java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
      2. java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
      3. java.lang.ref.Finalizer.access$100(Finalizer.java:14)
      4. java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
      4 frames