The trace is truncated, but I see:
Sent run-time exception to the client /127.0.0.1:50489:
com.orientechnologies.orient.core.exception.
OStorageException: Error during transaction commit.
com.orientechnologies.orient.core.exception.OStorageException: Error during
transaction commit.
at
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.com
mit(OLocalPaginatedStorage.java:1115)
at
com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimist
ic.java:469)
at
com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic
.java:148)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.commit(ODatabaseRecordTx.ja
va:142)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumen
tTx.java:511)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumen
tTx.java:503)
at
com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.commit(OrientTransactional
Graph.java:110)
at
com.orientechnologies.orient.graph.sql.OGraphCommandExecutorSQLFactory.runInTx(OGraphComm
andExecutorSQLFactory.java:99)
at
com.orientechnologies.orient.graph.sql.OGraphCommandExecutorSQLFactory.runInTx(OGraphComm
andExecutorSQLFactory.java:111)
at
com.orientechnologies.orient.graph.sql.OCommandExecutorSQLCreateVertex.execute(OCommandEx
ecutorSQLCreateVertex.java:99)
at
com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecuto
rSQLDelegate.java:60)
at
com.orientechnologies.orient.core.storage.OStorageEmbedded.executeCommand(OStorageEmbedde
d.java:114)
at
com.orientechnologies.orient.core.storage.OStorageEmbedded.command(OStorageEmbedded.java:
103)
at
com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandReq
uestTextAbstract.java:59)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.comman
d(ONetworkProtocolBinary.java:1181)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execut
eRequest(ONetworkProtocolBinary.java:340)
at
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstrac
t.execute(OBinaryNetworkProtocolAbstract.java:170)
at
com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:45)
Caused by: java.lang.IllegalArgumentException: targetGen=7 was never
returned by the ReferenceManage
r instance (current gen=2)
at
org.apache.lucene.search.ControlledRealTimeReopenThread.waitForGeneration(ControlledRealT
imeReopenThread.java:160)
at
org.apache.lucene.search.ControlledRealTimeReopenThread.waitForGeneration(ControlledRealT
imeReopenThread.java:135)
at
com.orientechnologies.lucene.manager.OLuceneIndexManagerAbstract.getSearcher(OLuceneIndex
ManagerAbstract.java:318)
at
com.orientechnologies.lucene.manager.OLuceneSpatialIndexManager.searchIntersect(OLuceneSp
atialIndexManager.java:155)
at
com.orientechnologies.lucene.manager.OLuceneSpatialIndexManager.get(OLuceneSpatialIndexMa
nager.java:134)
at
com.orientechnologies.lucene.OLuceneIndexEngine.get(OLuceneIndexEngine.java:155)
at
com.orientechnologies.orient.core.index.OIndexMultiValues.putInSnapshot(OIndexMultiValues
.java:137)
at
com.orientechnologies.orient.core.index.OIndexAbstract.applyIndexTxEntry(OIndexAbstract.j
ava:966)
at
com.orientechnologies.orient.core.index.OIndexAbstract.addTxOperation(OIndexAbstract.java
:691)
at
com.orientechnologies.orient.core.tx.OTransactionOptimistic$CommitIndexesCallback.run(OTr
ansactionOptimistic.java:99)
at
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.com
mit(OLocalPaginatedStorage.java:1101)
... 17 more
On Friday, December 5, 2014 9:47:58 AM UTC-8, Enrico Risa wrote:
>
> @Aaron
>
> can you send me the log please?
>
>
> thanks
>
> 2014-12-05 18:43 GMT+01:00 Aaron Schulz <[email protected]
> <javascript:>>:
>
>> I'm running that jar and still seeing the log entries :/
>>
>> On Tuesday, December 2, 2014 2:49:16 AM UTC-8, Enrico Risa wrote:
>>>
>>> Hi Aaron
>>>
>>> can you try this version ?
>>>
>>> https://oss.sonatype.org/content/repositories/snapshots/com/
>>> orientechnologies/orientdb-lucene/1.7.9-SNAPSHOT/orientdb-lucene-1.7.9-
>>> 20140905.090614-1-dist.jar
>>>
>>> and tell me if it's resolved?
>>>
>>> Btw how can i replicate the problem?
>>>
>>>
>>> 2014-12-02 10:50 GMT+01:00 Luca Garulli <[email protected]>:
>>>
>>>> @Enrico,
>>>> Any thoughts about this?
>>>>
>>>> Lvc@
>>>>
>>>> On 2 December 2014 at 09:51, @sach <[email protected]> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I guess this problem was upto 1.7.3 (don't know exactly), but i
>>>>> resolved it by using Lucene indexing outside, even I haven't got any
>>>>> solution so I preferred to use it separately. So my suggestion is you
>>>>> should try this approach it may help you.
>>>>>
>>>>>
>>>>>
>>>>> On Tuesday, December 2, 2014 2:00:53 PM UTC+5:30, Aaron Schulz wrote:
>>>>>>
>>>>>> I'm running into this same problem with 1.7.10 (and on all the 1.7
>>>>>> lucene plugin jars). I haven't seen any solution for it on the web. This
>>>>>> the first problem I've ran into with OrientDB so far.
>>>>>>
>>>>>> The error seems to trigger on any write that effects the one spatial
>>>>>> index in my schema. The index is on an edge:
>>>>>>
>>>>>> create class HasPropertyWithCoordinateValue extends E;
>>>>>> create property HasPropertyWithCoordinateValue.out LINK Item;
>>>>>> create property HasPropertyWithCoordinateValue.in LINK Property;
>>>>>> create property HasPropertyWithCoordinateValue.lat double;
>>>>>> create property HasPropertyWithCoordinateValue.long double;
>>>>>> create index HasPropertyWithCoordinateValueInOutIdx on
>>>>>> HasPropertyWithCoordinateValue (in, out, lat, long) unique;
>>>>>> create index HasPropertyWithCoordinateValueInLocIdx on
>>>>>> HasPropertyWithCoordinateValue (lat,long) spatial engine LUCENE;
>>>>>>
>>>>>>
>>>>>> On Thursday, June 26, 2014 2:33:27 AM UTC-7, @sach wrote:
>>>>>>>
>>>>>>> Hi Enrico,
>>>>>>>
>>>>>>> Yes, I m using remote server, and Orient db version is 1.7.3.
>>>>>>> If you want to replicate it just see my attached file as a
>>>>>>> reference, when ever i start from scratch(created new database, all
>>>>>>> related
>>>>>>> fields and the Lucene index on "content" field), it will work fine for
>>>>>>> few
>>>>>>> time like 50-60 records get inserted but after some time it start
>>>>>>> throwing
>>>>>>> exception (IllegalOrgument i.e. mentioned in post), not able to find
>>>>>>> the
>>>>>>> root cause. i am also using Orient Lucene query parser to parse the
>>>>>>> "content" field.
>>>>>>>
>>>>>>> On Thursday, June 26, 2014 2:49:22 PM UTC+5:30, Enrico Risa wrote:
>>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> Are you using remote server?
>>>>>>>> Which version of OrientDb?
>>>>>>>>
>>>>>>>> how can i replicate it?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2014-06-25 16:55 GMT+02:00 sachchidanand singh <[email protected]>:
>>>>>>>>
>>>>>>>>> hi,
>>>>>>>>> my graph model of my project consist of three custom vertex
>>>>>>>>> classes: Person, Location and Content. Recently i migrated my code to
>>>>>>>>> 1.7.3
>>>>>>>>> from 1.7.rc2, we are also using Lucene based index for Content class,
>>>>>>>>> ever
>>>>>>>>> since we added that we are getting this Exception :
>>>>>>>>>
>>>>>>>>> com.orientechnologies.orient.core.exception.OStorageException:
>>>>>>>>> Error during transaction commit.
>>>>>>>>> at com.orientechnologies.orient.core.storage.impl.local.paginated.
>>>>>>>>> OLocalPaginatedStorage.commit(OLocalPaginatedStorage.java:1096)
>>>>>>>>> at com.orientechnologies.orient.core.tx.OTransactionOptimistic.
>>>>>>>>> doCommit(OTransactionOptimistic.java:132)
>>>>>>>>> at com.orientechnologies.orient.core.tx.OTransactionOptimistic.
>>>>>>>>> commit(OTransactionOptimistic.java:105)
>>>>>>>>> at com.orientechnologies.orient.core.db.record.ODatabaseRecordT
>>>>>>>>> x.commit(ODatabaseRecordTx.java:142)
>>>>>>>>> at com.orientechnologies.orient.core.db.document.ODatabaseDocum
>>>>>>>>> entTx.commit(ODatabaseDocumentTx.java:504)
>>>>>>>>> at com.orientechnologies.orient.core.db.document.ODatabaseDocum
>>>>>>>>> entTx.commit(ODatabaseDocumentTx.java:496)
>>>>>>>>> at com.orientechnologies.orient.server.network.protocol.binary.
>>>>>>>>> ONetworkProtocolBinary.commit(ONetworkProtocolBinary.java:1096)
>>>>>>>>> at com.orientechnologies.orient.server.network.protocol.binary.
>>>>>>>>> ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:
>>>>>>>>> 344)
>>>>>>>>> at com.orientechnologies.orient.server.network.protocol.binary.
>>>>>>>>> OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtoco
>>>>>>>>> lAbstract.java:169)
>>>>>>>>> at com.orientechnologies.common.thread.OSoftThread.run(OSoftThr
>>>>>>>>> ead.java:45)
>>>>>>>>> Caused by: java.lang.IllegalArgumentException: targetGen=122 was
>>>>>>>>> never returned by the ReferenceManager instance (current gen=35)
>>>>>>>>> at org.apache.lucene.search.ControlledRealTimeReopenThread.
>>>>>>>>> waitForGeneration(ControlledRealTimeReopenThread.java:160)
>>>>>>>>> at org.apache.lucene.search.ControlledRealTimeReopenThread.
>>>>>>>>> waitForGeneration(ControlledRealTimeReopenThread.java:135)
>>>>>>>>> at com.orientechnologies.lucene.manager.OLuceneIndexManagerAbst
>>>>>>>>> ract.getSearcher(OLuceneIndexManagerAbstract.java:135)
>>>>>>>>> at com.orientechnologies.lucene.manager.OLuceneFullTextIndexMan
>>>>>>>>> ager.getResults(OLuceneFullTextIndexManager.java:131)
>>>>>>>>> at com.orientechnologies.lucene.manager.OLuceneFullTextIndexMan
>>>>>>>>> ager.get(OLuceneFullTextIndexManager.java:99)
>>>>>>>>> at com.orientechnologies.lucene.OLuceneIndexEngine.get(OLuceneI
>>>>>>>>> ndexEngine.java:153)
>>>>>>>>> at com.orientechnologies.orient.core.index.OIndexMultiValues.pu
>>>>>>>>> tInSnapshot(OIndexMultiValues.java:137)
>>>>>>>>> at com.orientechnologies.orient.core.index.OIndexAbstract.apply
>>>>>>>>> IndexTxEntry(OIndexAbstract.java:954)
>>>>>>>>> at com.orientechnologies.orient.core.index.OIndexAbstract.addTx
>>>>>>>>> Operation(OIndexAbstract.java:679)
>>>>>>>>> at com.orientechnologies.orient.core.tx.OTransactionOptimistic$
>>>>>>>>> CommitIndexesCallback.run(OTransactionOptimistic.java:256)
>>>>>>>>> at com.orientechnologies.orient.core.storage.impl.local.paginat
>>>>>>>>> ed.OLocalPaginatedStorage.commit(OLocalPaginatedStorage.java:1082)
>>>>>>>>> ... 9 more
>>>>>>>>>
>>>>>>>>> did search for a few minutes in Google but could't find anything
>>>>>>>>> useful.
>>>>>>>>>
>>>>>>>>> have attached my dao file where in im adding the model object to
>>>>>>>>> graph vertices
>>>>>>>>>
>>>>>>>>> lucene index command :
>>>>>>>>>
>>>>>>>>> CREATE INDEX INDX_CONTENT_TEXT ON Content (content) FULLTEXT
>>>>>>>>> ENGINE LUCENE;
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> ---
>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>> Groups "OrientDB" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>>> send an email to [email protected].
>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "OrientDB" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> --
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "OrientDB" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.