OpenEngSB
  1. OpenEngSB
  2. OPENENGSB-3666

OConcurrentModificationException sometimes occurs on karaf startup

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: openengsb-3.0.0.M1
    • Component/s: framework
    • Labels:
      None
    • Changelog:
      added a Read/Write Lock construct to the GraphDB.

      Description

      ERROR: Bundle org.openengsb.framework.ekb.modelregistry.tracker [260]
      EventDispatcher: Error during dispatch.
      (com.orientechnologies.orient.core.exception.OConcurrentModificationException:
      Cannot update record #8:5 because the version is not the latest.
      Probably you are updating an old record or it has been modified by
      another user (db=v1 your=v0))
      com.orientechnologies.orient.core.exception.OConcurrentModificationException:
      Cannot update record #8:5 because the version is not the latest.
      Probably you are updating an old record or it has been modified by
      another user (db=v1 your=v0)
      at com.orientechnologies.orient.core.storage.impl.memory.OStorageMemory.updateRecord(OStorageMemory.java:374)
      at com.orientechnologies.orient.core.db.raw.ODatabaseRaw.save(ODatabaseRaw.java:252)
      at com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeSaveRecord(ODatabaseRecordAbstract.java:668)
      at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:72)
      at com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:224)
      at com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:217)
      at com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:35)
      at com.orientechnologies.orient.core.record.ORecordAbstract.save(ORecordAbstract.java:275)
      at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1251)
      at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1240)
      at org.openengsb.core.ekb.graph.orient.internal.OrientModelGraph.addModel(OrientModelGraph.java:106)
      at org.openengsb.core.ekb.modelregistry.tracker.internal.ModelRegistryService.registerModel(ModelRegistryService.java:152)
      at org.openengsb.core.ekb.modelregistry.tracker.internal.ModelRegistryService.addingBundle(ModelRegistryService.java:58)
      at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:482)
      at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:424)
      at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262)
      at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:234)
      at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:457)
      at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)
      at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
      at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
      at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4244)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1923)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:931)
      at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:465)
      at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:424)
      at org.apache.karaf.features.internal.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:85)
      at org.apache.karaf.features.internal.BootFeaturesInstaller$1.run(BootFeaturesInstaller.java:68)

        Gliffy Diagrams

        Error rendering 'com.meetme.plugins.jira.gerrit-plugin:gerritreviewsmodule'. Please contact your JIRA administrators.

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Felix Mayerhuber
              Reporter:
              Michael Petritsch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: