Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-915

Updater executer fails with InvalidItemStateException

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.24.13
    • None
    • None

    Description

      • start a 7.8 archetype
      • add a link compound to the textdocument template
      • create a couple of textdocuments in /content/documents/common
      • create a new groovy updater script
      • execute it using the query content/documents//element[@hippo:docbase='cafebabe-cafe-babe-cafe-babecafebabe']

      You'll see:
      INFO Executing updater new-1
      DEBUG Initializing updater
      INFO No path set. Skipping path visitor.
      ERROR Unexpected exception while executing updater - javax.jcr.InvalidItemStateException: Item does not exist anymore: 0ed847a9-1dd7-42b0-8f50-afd990fd5871
      INFO Finished executing updater new-1

      It is the uuid of one of the hippo:mirror nodes that is being iterated through.

      On the console you can see the stacktrace:
      javax.jcr.InvalidItemStateException: Item does not exist anymore: 0ed847a9-1dd7-42b0-8f50-afd990fd5871
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.ItemImpl.itemSanityCheck(ItemImpl.java:116)
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:90)
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.ItemImpl.getPath(ItemImpl.java:376)
      [INFO] [talledLocalContainer] at org.hippoecm.repository.decorating.ItemDecorator.getPath(ItemDecorator.java:89)
      [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutor.executeUpdater(UpdaterExecutor.java:248)
      [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutor.runQueryVisitor(UpdaterExecutor.java:217)
      [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutor.execute(UpdaterExecutor.java:104)
      [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutionModule$ExecuteUpdatersTask.executeUpdater(Up

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              uhommes Unico Hommes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: