java.lang.ClassCastException: java.lang.Class

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.org by Unknown author, 1 year ago
via Terracotta by anodos, 1 year ago
java.lang.Class cannot be cast to com.tc.object.bytecode.Manageable
java.lang.ClassCastException: java.lang.Class
at com.tc.object.bytecode.ManagerImpl.shareObjectIfNecessary(ManagerImpl.java:548)
at com.tc.object.bytecode.ManagerUtil.shareObjectIfNecessary(ManagerUtil.java:132)
at java.util.concurrent.ConcurrentHashMap.__tc_hash(ConcurrentHashMap.java)
at java.util.concurrent.ConcurrentHashMap.__tc_hash(ConcurrentHashMap.java)
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:848)
at com.tctest.ConcurrentHashMapTestApp.testPut1(ConcurrentHashMapTestApp.java:62)
at com.tctest.GenericTestApp.runMethod(GenericTestApp.java:144)
at com.tctest.GenericTestApp.runOp(GenericTestApp.java:138)
at com.tctest.GenericTestApp.doMutate(GenericTestApp.java:104)
at com.tctest.GenericTestApp.runTest(GenericTestApp.java:69)
at com.tctest.runner.AbstractErrorCatchingTransparentApp.run(AbstractErrorCatchingTransparentApp.java:29)
at com.tc.simulator.container.ApplicationRunner.run(ApplicationRunner.java:43)
at java.lang.Thread.run(Thread.java:613)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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