Uploaded image for project: 'Magnolia Groovy Module'
  1. Magnolia Groovy Module
  2. MGNLGROOVY-181

Concurrency exception when iterating through multiple scripts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 2.6.4
    • None
    • None

    Description

      Jenkins run encounter a concurrent exception when running the GroovyModuleVersionHandlerTest.cleanInstallBootstrapsSamples test.

      The stacktrace:

      groovy.lang.GroovyRuntimeException: Failed to create Script instance for class: class samples.commands.GroovyMailCommand. Reason: java.util.ConcurrentModificationException
       at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719)
       at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:752)
       at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:750)
       at org.codehaus.groovy.runtime.InvokerHelper.createScript(InvokerHelper.java:467)
       at info.magnolia.module.groovy.console.MgnlGroovyConsole.parse(MgnlGroovyConsole.java:195)
       at groovy.lang.GroovyShell.parse(GroovyShell.java:725)
       at groovy.lang.GroovyShell.parse(GroovyShell.java:716)
       at info.magnolia.module.groovy.setup.GroovyModuleVersionHandlerTest.cleanInstallBootstrapsSamples(GroovyModuleVersionHandlerTest.java:430)

      running the maven tests locally, or from the ide reveals no exceptions.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              aichimescu Andrei Ichimescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD