Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-6143

Stacktrace when discarding a newly created document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.20.10
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      When a new document is created and being discarded a stack trace is shown in the log:

      21.05.2012 13:30:57 ERROR [org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.getEditorModel():238] error resolving editor model
      javax.jcr.InvalidItemStateException: Item does not exist anymore: df56e44d-de14-44a4-902f-3b13930df481
      at org.apache.jackrabbit.core.ItemImpl.itemSanityCheck(ItemImpl.java:116)
      at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:90)
      at org.apache.jackrabbit.core.ItemImpl.getDepth(ItemImpl.java:391)
      at org.hippoecm.repository.decorating.ItemDecorator.getDepth(ItemDecorator.java:113)
      at org.hippoecm.repository.decorating.checked.ItemDecorator.getDepth(ItemDecorator.java:118)
      at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.getEditorModel(EditorManagerPlugin.java:234)
      at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.getEditor(EditorManagerPlugin.java:109)
      at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.onClose(EditorManagerPlugin.java:221)

      Reproduction path:

      Make sure you don't have any other documents open. Create a new document (don't save). Close the document (click on 'x') and discard changes. This will cause a stack trace in the log.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                swesten Stephan Westen
                Reporter:
                dvandiepen Dirkjan van Diepen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: