Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1858

IllegalStateException during query execution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.2.0.Final
    • 3.1.3.Final
    • Query, Search
    • None

      This is probably caused by a record being concurrently deleted from modeshape. I am guessing that modeshape doesn't truly support repeatable read isolation (which I am fine with) but I don't think the right idea is to throw an exception. Perhaps simply ignoring the row would be fine?

      java.lang.IllegalStateException: SchematicValue stored under key 99f427c7505d64b1c2eda7-4c14-481e-81ed-b254207beb37 has been concurrently removed!
      	org.infinispan.schematic.internal.SchematicEntryProxy.assertValid(SchematicEntryProxy.java:103)
      	org.infinispan.schematic.internal.SchematicEntryProxy.getDeltaValueForRead(SchematicEntryProxy.java:142)
      	org.infinispan.schematic.internal.SchematicEntryProxy.getContentAsDocument(SchematicEntryProxy.java:224)
      	org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:168)
      	org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:176)
      	org.modeshape.jcr.cache.document.WorkspaceCache.getNode(WorkspaceCache.java:208)
      	org.modeshape.jcr.cache.document.AbstractSessionCache.getNode(AbstractSessionCache.java:237)
      	org.modeshape.jcr.cache.document.WritableSessionCache.getNode(WritableSessionCache.java:153)
      	org.modeshape.jcr.query.lucene.basic.BasicTupleCollector.doCollect(BasicTupleCollector.java:189)
      	org.modeshape.jcr.query.lucene.LuceneQueryEngine$TupleCollector.collect(LuceneQueryEngine.java:384)
      	org.apache.lucene.search.BooleanScorer2.score(BooleanScorer2.java:287)
      	org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:581)
      	org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:383)
      	org.modeshape.jcr.query.lucene.LuceneQueryEngine$LuceneAccessQuery.execute(LuceneQueryEngine.java:320)
      	org.modeshape.jcr.query.process.NestedLoopJoinComponent.execute(NestedLoopJoinComponent.java:56)
      	org.modeshape.jcr.query.process.ProjectComponent.execute(ProjectComponent.java:43)
      	org.modeshape.jcr.query.process.SortValuesComponent.execute(SortValuesComponent.java:65)
      	org.modeshape.jcr.query.process.LimitComponent.execute(LimitComponent.java:47)
      	org.modeshape.jcr.query.process.QueryProcessor.execute(QueryProcessor.java:96)
      	org.modeshape.jcr.query.process.QueryEngine.execute(QueryEngine.java:140)
      	org.modeshape.jcr.query.lucene.LuceneQueryEngine$1.getResults(LuceneQueryEngine.java:153)
      	org.modeshape.jcr.query.JcrQuery.execute(JcrQuery.java:119)
      

              rhauch Randall Hauch (Inactive)
              clementp_jira Clement Pang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: