java.lang.ClassCastException

com.orientechnologies.orient.core.sql.filter.OSQLFilterCondition cannot be cast to java.util.Date

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

Stack trace

  • java.lang.ClassCastException: com.orientechnologies.orient.core.sql.filter.OSQLFilterCondition cannot be cast to java.util.Date at com.orientechnologies.common.serialization.types.ODateTimeSerializer.preprocess(ODateTimeSerializer.java:35) at com.orientechnologies.orient.core.index.sbtree.local.OSBTree.iterateEntriesMajorAsc(OSBTree.java:1185) at com.orientechnologies.orient.core.index.sbtree.local.OSBTree.iterateEntriesMajor(OSBTree.java:735) at com.orientechnologies.orient.core.index.engine.OSBTreeIndexEngine.iterateEntriesMajor(OSBTreeIndexEngine.java:186) at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doIterateIndexEntriesMajor(OAbstractPaginatedStorage.java:2052) at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.iterateIndexEntriesMajor(OAbstractPaginatedStorage.java:2040) at com.orientechnologies.orient.core.index.OIndexMultiValues.iterateEntriesMajor(OIndexMultiValues.java:240) at com.orientechnologies.orient.core.index.OIndexAbstractDelegate.iterateEntriesMajor(OIndexAbstractDelegate.java:110) at com.orientechnologies.orient.core.index.OIndexTxAwareMultiValue.iterateEntriesMajor(OIndexTxAwareMultiValue.java:365) at com.orientechnologies.orient.core.sql.operator.OQueryOperatorMajor.executeIndexQuery(OQueryOperatorMajor.java:97) at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.searchForIndexes(OCommandExecutorSQLSelect.java:2213) at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.searchInClasses(OCommandExecutorSQLSelect.java:994) at com.orientechnologies.orient.core.sql.OCommandExecutorSQLResultsetAbstract.assignTarget(OCommandExecutorSQLResultsetAbstract.java:202) at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.assignTarget(OCommandExecutorSQLSelect.java:515) at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.executeSearch(OCommandExecutorSQLSelect.java:497) at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.execute(OCommandExecutorSQLSelect.java:473) at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:72) at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:2577) at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:2523) at com.orientechnologies.orient.core.sql.query.OSQLQuery.run(OSQLQuery.java:78) at com.orientechnologies.orient.core.sql.query.OSQLAsynchQuery.run(OSQLAsynchQuery.java:74) at com.orientechnologies.orient.core.sql.query.OSQLSynchQuery.run(OSQLSynchQuery.java:85) at com.orientechnologies.orient.core.query.OQueryAbstract.execute(OQueryAbstract.java:33) at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1421) at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:456) at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:199) at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)

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

We couldn't find other users who have seen this exception.