java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • class cast exception
    via by 3004,
  • classcastexception
    via by 3004,
  • ClassCastException with Query
    via by 3004,
  • using Custom ResultObjectProvider
    via by 3004,
  • ClassCastException in JBOSS
    via by 3004,
    • java.lang.ClassCastException: java.lang.String at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:842) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:736) at com.commercehub.core.xr.XRService.getHubVal(XRService.java:63) at com.commercehub.core.xr.XRServiceTest.testGetPartnerVal(XRServiceTest.java:29) at java.lang.reflect.Method.invoke(Native Method) at junit.framework.TestCase.runTest(TestCase.java:166) at junit.framework.TestCase.runBare(TestCase.java:140) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:131) at junit.framework.TestSuite.runTest(TestSuite.java:173) at junit.framework.TestSuite.run(TestSuite.java:168) at junit.textui.TestRunner.doRun(TestRunner.java:74) at junit.textui.TestRunner.run(TestRunner.java:200) at com.commercehub.core.xr.XRServiceTest.main(XRServiceTest.java:100)
    No Bugmate found.