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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Terracotta by nbreau, 1 year ago
java.lang.ClassCastException: com.s6.sphere.common.pojos.Orange
via Terracotta by hardy, 1 year ago
java.lang.ClassCastException: org.apache.lucene.store.SingleInstanceLockFactory
com.tc.object.dna.api.DNAException: java.lang.ClassCastException: com.s6.sphere.common.pojos.Orange
at com.tc.object.TCObjectImpl.setValue(TCObjectImpl.java:192)
at com.tc.object.applicator.PhysicalApplicator.hydrate(PhysicalApplicator.java:103)
at com.tc.object.TCClassImpl.hydrate(TCClassImpl.java:152)
at com.tc.object.TCObjectImpl.hydrate(TCObjectImpl.java:103)
at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:499)
at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:400)
at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:393)
at com.tc.object.applicator.ListApplicator.hydrate(ListApplicator.java:67)
at com.tc.object.TCClassImpl.hydrate(TCClassImpl.java:152)
at com.tc.object.TCObjectImpl.hydrate(TCObjectImpl.java:103)
at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:499)
at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:400)
at com.tc.object.ClientObjectManagerImpl.lookupRootOptionallyCreateOrReplace(ClientObjectManagerImpl.java:740)
at com.tc.object.ClientObjectManagerImpl.lookupOrCreateRoot(ClientObjectManagerImpl.java:570)
at com.tc.object.ClientObjectManagerImpl.lookupOrCreateRoot(ClientObjectManagerImpl.java:557)
at com.tc.object.bytecode.ManagerImpl.lookupOrCreateRoot(ManagerImpl.java:288)
at com.tc.object.bytecode.ManagerImpl.lookupOrCreateRoot(ManagerImpl.java:267)
at com.tc.object.bytecode.ManagerUtil.lookupOrCreateRoot(ManagerUtil.java:79)
at com.s6.sphere.crawler.services.FruitBasket.__tc_setnewOrangess(FruitBasket.java)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.