com.tc.object.dna.api.DNAException: java.lang.ClassCastException: com.s6.sphere.common.pojos.Orange

Terracotta | nbreau | 1 decade 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

    Simple DSO Question

    Terracotta | 1 decade ago | nbreau
    com.tc.object.dna.api.DNAException: java.lang.ClassCastException: com.s6.sphere.common.pojos.Orange

    Root Cause Analysis

    1. com.tc.object.dna.api.DNAException

      java.lang.ClassCastException: com.s6.sphere.common.pojos.Orange

      at com.tc.object.TCObjectImpl.setValue()
    2. com.tc.object
      ManagerUtil.lookupOrCreateRoot
      1. com.tc.object.TCObjectImpl.setValue(TCObjectImpl.java:192)
      2. com.tc.object.applicator.PhysicalApplicator.hydrate(PhysicalApplicator.java:103)
      3. com.tc.object.TCClassImpl.hydrate(TCClassImpl.java:152)
      4. com.tc.object.TCObjectImpl.hydrate(TCObjectImpl.java:103)
      5. com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:499)
      6. com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:400)
      7. com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:393)
      8. com.tc.object.applicator.ListApplicator.hydrate(ListApplicator.java:67)
      9. com.tc.object.TCClassImpl.hydrate(TCClassImpl.java:152)
      10. com.tc.object.TCObjectImpl.hydrate(TCObjectImpl.java:103)
      11. com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:499)
      12. com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:400)
      13. com.tc.object.ClientObjectManagerImpl.lookupRootOptionallyCreateOrReplace(ClientObjectManagerImpl.java:740)
      14. com.tc.object.ClientObjectManagerImpl.lookupOrCreateRoot(ClientObjectManagerImpl.java:570)
      15. com.tc.object.ClientObjectManagerImpl.lookupOrCreateRoot(ClientObjectManagerImpl.java:557)
      16. com.tc.object.bytecode.ManagerImpl.lookupOrCreateRoot(ManagerImpl.java:288)
      17. com.tc.object.bytecode.ManagerImpl.lookupOrCreateRoot(ManagerImpl.java:267)
      18. com.tc.object.bytecode.ManagerUtil.lookupOrCreateRoot(ManagerUtil.java:79)
      18 frames
    3. com.s6.sphere
      FruitBasket.__tc_setnewOrangess
      1. com.s6.sphere.crawler.services.FruitBasket.__tc_setnewOrangess(FruitBasket.java)
      1 frame