1 Reply Latest reply on Dec 6, 2016 7:49 AM by Horia Chiorean

    DocumentAlreadyExistsException after restore

    Данил Ходырев Newbie

      Hello.

       

      We have database on ModeShape 3.7. I am trying migrate to 4.6, but after restoring data I have following error:

      Caused by: org.modeshape.jcr.cache.DocumentAlreadyExistsException: 5d1ebbb317f1e7/jcr:system/jcr:nodeTypes/nt:versionHistory/jcr:versionLabels/nt:versionLabels

        at org.modeshape.jcr.cache.document.WritableSessionCache.persistChanges(WritableSessionCache.java:1343)

        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:488)

        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:443)

        at org.modeshape.jcr.SystemContent.save(SystemContent.java:120)

        at org.modeshape.jcr.RepositoryNodeTypeManager.registerNodeTypes(RepositoryNodeTypeManager.java:532)

        at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:1160)

        at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:980)

        at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:388)

        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:653)

        ... 96 more

       

      I have no idea what I should do.