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

Usermanagement breaks Autoexport, throws ArrayIndexOutOfBound exceptions

    XMLWordPrintable

Details

    • Flagged
    • Orion
    • BrXM Backlog

    Description

      Steps to reproduce:

      • Create a fresh project
      • Create a new group
      • Create a new user and add it to the group via usermanagement (hipposys:member attribute will be added to the group that way)
      • Remove the user from the group (hipposys:member attribute will be an empty array after this)
      • Add the user to the group again
      • Autoexport will break by now and spam ArrayIndexOutOfBound exceptions
      java.lang.ArrayIndexOutOfBoundsException: -1
      [INFO] [talledLocalContainer] 	at java.util.ArrayList.elementData(ArrayList.java:424) ~[?:1.8.0_261]
      [INFO] [talledLocalContainer] 	at java.util.ArrayList.get(ArrayList.java:437) ~[?:1.8.0_261]
      [INFO] [talledLocalContainer] 	at java.util.Collections$UnmodifiableList.get(Collections.java:1311) ~[?:1.8.0_261]
      [INFO] [talledLocalContainer] 	at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergePropertyThatShouldExist(DefinitionMergeService.java:1742) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
      [INFO] [talledLocalContainer] 	at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergeProperty(DefinitionMergeService.java:1696) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
      [INFO] [talledLocalContainer] 	at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergeConfigDefinitionNode(DefinitionMergeService.java:888) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
      [INFO] [talledLocalContainer] 	at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergeChangesToModules(DefinitionMergeService.java:270) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
      [INFO] [talledLocalContainer] 	at org.onehippo.cm.engine.autoexport.EventJournalProcessor.exportChangesModule(EventJournalProcessor.java:587) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
      [INFO] [talledLocalContainer] 	at org.onehippo.cm.engine.autoexport.EventJournalProcessor.processEvents(EventJournalProcessor.java:364) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
      [INFO] [talledLocalContainer] 	at org.onehippo.cm.engine.autoexport.EventJournalProcessor.tryProcessEvents(EventJournalProcessor.java:251) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
      [INFO] [talledLocalContainer] 	at org.onehippo.cm.engine.autoexport.EventJournalProcessor.lambda$new$0(EventJournalProcessor.java:125) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sshivangi Shweta Shivangi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: