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

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 GitHub by xscratt
, 1 year ago
com.orientechnologies.orient.core.sql.filter.OSQLFilterCondition cannot be cast to java.util.Date
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.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1421)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:456)

Users with the same issue

You are the first who have seen this exception.

Write tip

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