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

Teiid Sequencer fails upon multiple sequencing requests

XMLWordPrintable

      When trying to sequence second (and later) XMI files, the sequencing fails with [1]. Attaching two xmi files that can be used to reproduce the bug.

      Note no such problems arise with other sequencers (XML, CND etc.)

      [1]
      08:40:10,294 ERROR [org.modeshape.jcr.SequencingRunner] (modeshape-sequencer-6-thread-1) The 'teiid-model-sequencer' sequencer of repository 'dv' had an error while processing '/files/BQT1.xmi/jcr:content/jcr:data' in workspace 'default' and generating output '/derived/teiid/models/BQT1.xmi': javax.jcr.RepositoryException: The session with an ID of '275407465' has been closed and can no longer be used.
      

      A more complete stacktrace looks like:

      17:39:19,807 ERROR [org.modeshape.sequencer.teiid.VdbSequencer] (modeshape-sequencer-6-thread-4) Error reading VDB file "/files/teiid-ms/TopPartsVDB.vdb/jcr:content/jcr:data": The session with an ID o
      f '2a8a8297f' has been closed and can no longer be used. : javax.jcr.RepositoryException: The session with an ID of '2a8a8297f' has been closed and can no longer be used.
              at org.modeshape.jcr.JcrSession.checkLive(JcrSession.java:321) [modeshape-jcr-3.8.3.GA-redhat-3.jar:3.8.3.GA-redhat-3]
              at org.modeshape.jcr.JcrSession.getValueFactory(JcrSession.java:1272) [modeshape-jcr-3.8.3.GA-redhat-3.jar:3.8.3.GA-redhat-3]
              at org.modeshape.jcr.JcrSession.getValueFactory(JcrSession.java:135) [modeshape-jcr-3.8.3.GA-redhat-3.jar:3.8.3.GA-redhat-3]
              at org.modeshape.sequencer.teiid.model.ModelNodeWriter.writeUnresolvedReferences(ModelNodeWriter.java:207)
              at org.modeshape.sequencer.teiid.model.ModelNodeWriter.write(ModelNodeWriter.java:161)
              at org.modeshape.sequencer.teiid.model.ModelSequencer.sequenceModel(ModelSequencer.java:187)
              at org.modeshape.sequencer.teiid.model.ModelSequencer.sequenceVdbModel(ModelSequencer.java:217)
              at org.modeshape.sequencer.teiid.VdbSequencer.execute(VdbSequencer.java:163)
              at org.modeshape.jcr.SequencingRunner.run(SequencingRunner.java:196) [modeshape-jcr-3.8.3.GA-redhat-3.jar:3.8.3.GA-redhat-3]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_40]
              at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_40]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40]
              at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
      

        1. BQT1.xmi
          60 kB
        2. Source.xmi
          73 kB

            hchiorean Horia Chiorean (Inactive)
            hchiorean Horia Chiorean (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: