I've found another problem with:
Orient RC-5
OSX - 10.7.1
JDK version 1.6.0_26
When executing the query you can see in the log below, we get a class cast exception.
Any suggestions?
R.
java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: OSQLQuery [text=SELECT key FROM index:Files.hash WHERE key = ? LIMIT 1]
at com.quolos.os.storage.orient.OrientExecutor$1.deliver(OrientExecutor.java:58)
at com.quolos.os.storage.orient.OrientExecutor.executeAndWait(OrientExecutor.java:34)
at com.quolos.os.storage.orient.OrientObjectStore.containsObject(OrientObjectStore.java:68)
at com.quolos.os.VersionedFileRSyncOperationImpl$VersionedRSyncFindFileCommand.execute(VersionedFileRSyncOperationImpl.java:204)
at com.quolos.os.QuolosBinding.onMessage(QuolosBinding.java:142)
at com.quolos.os.ODNetworkBinding.processIncomingMessage(ODNetworkBinding.java:87)
at com.quolos.os.ODNetworkBinding$1.onMessage(ODNetworkBinding.java:61)
at com.onedrum.net.client.handlers.TopicNotificationHandler$1.run(TopicNotificationHandler.java:51)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.util.concurrent.ExecutionException: com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: OSQLQuery [text=SELECT key FROM index:Files.hash WHERE key = ? LIMIT 1]
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at com.quolos.os.storage.orient.OrientExecutor$1.deliver(OrientExecutor.java:50)
... 10 more
Caused by: com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: OSQLQuery [text=SELECT key FROM index:Files.hash WHERE key = ? LIMIT 1]
at com.orientechnologies.orient.core.storage.OStorageEmbedded.command(OStorageEmbedded.java:70)
at com.orientechnologies.orient.core.sql.query.OSQLQuery.run(OSQLQuery.java:67)
at com.orientechnologies.orient.core.sql.query.OSQLSynchQuery.run(OSQLSynchQuery.java:71)
at com.orientechnologies.orient.core.query.OQueryAbstract.execute(OQueryAbstract.java:38)
at com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.query(ODatabaseRecordAbstract.java:291)
at com.orientechnologies.orient.core.db.ODatabaseRecordWrapperAbstract.query(ODatabaseRecordWrapperAbstract.java:160)
at com.quolos.os.storage.orient.OrientUtil.executeQuery(OrientUtil.java:42)
at com.quolos.os.storage.orient.OrientUtil.queryReturnsNoRows(OrientUtil.java:59)
at com.quolos.os.storage.orient.OrientObjectStore.containsObject(OrientObjectStore.java:136)
at com.quolos.os.storage.orient.OrientObjectStore.access$200(OrientObjectStore.java:21)
at com.quolos.os.storage.orient.OrientObjectStore$2.execute(OrientObjectStore.java:72)
at com.quolos.os.storage.orient.OrientObjectStore$2.execute(OrientObjectStore.java:69)
at com.quolos.os.storage.orient.OrientExecutor$2$1.perform(OrientExecutor.java:76)
at com.quolos.os.storage.orient.OrientExecutor.withDb(OrientExecutor.java:91)
at com.quolos.os.storage.orient.OrientExecutor$2.call(OrientExecutor.java:71)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
... 3 more
Caused by: java.lang.ClassCastException: com.orientechnologies.orient.core.db.record.ORecordLazySet cannot be cast to com.orientechnologies.orient.core.db.record.OIdentifiable
at com.orientechnologies.orient.core.index.OIndexOneValue.get(OIndexOneValue.java:52)
at com.orientechnologies.orient.core.index.OIndexOneValue.get(OIndexOneValue.java:42)
at com.orientechnologies.orient.core.index.OIndexAbstractDelegate.get(OIndexAbstractDelegate.java:57)
at com.orientechnologies.orient.core.index.OIndexTxAwareOneValue.get(OIndexTxAwareOneValue.java:48)
at com.orientechnologies.orient.core.index.OIndexTxAwareOneValue.get(OIndexTxAwareOneValue.java:35)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.searchInIndex(OCommandExecutorSQLSelect.java:927)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.execute(OCommandExecutorSQLSelect.java:202)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:51)
at com.orientechnologies.orient.core.storage.OStorageEmbedded.command(OStorageEmbedded.java:65)
... 19 more
--
---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/K9IaEQmYW8U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.