java.lang.ClassCastException: This exception has no message.

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 Oracle Community by 3004, 1 year ago
This exception has no message.
java.lang.ClassCastException:
at com.correlat.intranet.projectmanagement.Portfolio.jdoReplaceField(Portfolio.java)
at kodo.runtime.StateManagerImpl.replaceField(StateManagerImpl.java:2771)
at kodo.runtime.StateManagerImpl.storeObjectField(StateManagerImpl.java:2272)
at kodo.runtime.StateManagerImpl.storeObject(StateManagerImpl.java:2252)
at kodo.jdbc.meta.ValueFieldMapping.setAutoIncrementValue(ValueFieldMapping.java:346)
at kodo.jdbc.meta.ClassMapping.setAutoIncrementValue(ClassMapping.java:381)
at kodo.jdbc.runtime.PreparedStatementManager.flush(PreparedStatementManager.java:137)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:357)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:153)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:72)
at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:507)
at kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:158)
at kodo.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:412)
at kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:794)
at kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:550)
at kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:563)
at com.correlat.intranet.projectmanagement.PortfolioTest.testFlush(PortfolioTest.java:393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(Unknown Source)
at com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(UnknownSource)
at com.intellij.rt.execution.junit2.JUnitStarter.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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.