java.lang.ClassCastException

java.lang.String

Solutions on the web3032

  • via Eclipse Bugzilla by Konstantin.Scheglov, 1 year ago
    java.lang.String
  • via https://bugzilla.redhat.com/bugzilla/ by Ian Springer, 1 year ago
    java.lang.String
  • Stack trace

    • java.lang.ClassCastException: java.lang.String at com.solarmetric.kodo.impl.jdbc.schema.dict.GenericDictionary.toSQL(GenericDictionary.java:212) at com.solarmetric.kodo.impl.jdbc.sql.ObjectSelect.where(ObjectSelect.java:179) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.loadByPK(JDBCStoreManager.java:372) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.initialize(JDBCStoreManager.java:250) at com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:112) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:831) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    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.