Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4522

Recursive activation does not work with Java 7

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.5.4
    • Fix Version/s: 4.5.5
    • Component/s: activation
    • Labels:
      None
    • Environment:
      Linux, JDK 1.7.0_04
    • Magnolia Release:
      4.5.5

      Description

      The activation in magnolia does not work with Java 7. The following exception is thrown on recursive activations. We have to run our application with Java 6.

      12-08-29 10:24:34 ERROR AUTHOR[Thread-60]info.magnolia.module.admininterface.commands.ActivationCommand: can't activate
      java.lang.IllegalArgumentException: Comparison method violates its general contract!
      	at java.util.TimSort.mergeLo(TimSort.java:747)
      	at java.util.TimSort.mergeAt(TimSort.java:483)
      	at java.util.TimSort.mergeCollapse(TimSort.java:408)
      	at java.util.TimSort.sort(TimSort.java:214)
      	at java.util.TimSort.sort(TimSort.java:173)
      	at java.util.Arrays.sort(Arrays.java:659)
      	at java.util.Collections.sort(Collections.java:217)
      	at info.magnolia.module.admininterface.commands.ActivationCommand.activateRecursive(ActivationCommand.java:212)
      	at info.magnolia.module.admininterface.commands.ActivationCommand.activateBulkUpdate(ActivationCommand.java:141)
      	at info.magnolia.module.admininterface.commands.ActivationCommand.execute(ActivationCommand.java:96)
      	at info.magnolia.commands.MgnlCommand.executePooledOrSynchronized(MgnlCommand.java:174)
      	at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:161)
      	at info.magnolia.module.workflow.MgnlParticipant.consume(MgnlParticipant.java:132)
      	at openwfe.org.embed.impl.engine.AbstractEmbeddedParticipant.dispatch(AbstractEmbeddedParticipant.java:154)
      	at openwfe.org.engine.expressions.ParticipantExpression.dispatch(ParticipantExpression.java:474)
      	at openwfe.org.engine.expressions.ParticipantExpression.regularDispatch(ParticipantExpression.java:489)
      	at openwfe.org.engine.expressions.ParticipantExpression.apply(ParticipantExpression.java:430)
      	at openwfe.org.engine.expressions.raw.RawExpression.apply(RawExpression.java:371)
      	at openwfe.org.engine.expressions.state.NormalState.apply(NormalState.java:112)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:529)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:542)
      	at openwfe.org.engine.expressions.SequentialFlowExpression.apply(SequentialFlowExpression.java:140)
      	at openwfe.org.engine.expressions.state.NormalState.apply(NormalState.java:112)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:529)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:542)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:554)
      	at openwfe.org.engine.expressions.SequenceExpression.reply(SequenceExpression.java:130)
      	at openwfe.org.engine.expressions.state.NormalState.reply(NormalState.java:118)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.reply(SimpleExpressionPool.java:713)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.replyToParent(SimpleExpressionPool.java:644)
      	at openwfe.org.engine.expressions.AbstractFlowExpression.replyToParent(AbstractFlowExpression.java:479)
      	at openwfe.org.engine.expressions.IfExpression.applyConsequence(IfExpression.java:260)
      	at openwfe.org.engine.expressions.IfExpression.reply(IfExpression.java:189)
      	at openwfe.org.engine.expressions.state.NormalState.reply(NormalState.java:118)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.reply(SimpleExpressionPool.java:713)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.replyToParent(SimpleExpressionPool.java:644)
      	at openwfe.org.engine.expressions.AbstractFlowExpression.replyToParent(AbstractFlowExpression.java:479)
      	at openwfe.org.engine.expressions.AbstractFlowExpression.applyToParent(AbstractFlowExpression.java:494)
      	at openwfe.org.engine.expressions.DefinedExpression.apply(DefinedExpression.java:97)
      	at openwfe.org.engine.expressions.raw.RawExpression.apply(RawExpression.java:371)
      	at openwfe.org.engine.expressions.state.NormalState.apply(NormalState.java:112)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:529)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:542)
      	at openwfe.org.engine.expressions.IfExpression.apply(IfExpression.java:128)
      	at openwfe.org.engine.expressions.raw.RawExpression.apply(RawExpression.java:371)
      	at openwfe.org.engine.expressions.state.NormalState.apply(NormalState.java:112)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:529)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:542)
      	at openwfe.org.engine.expressions.SequentialFlowExpression.apply(SequentialFlowExpression.java:140)
      	at openwfe.org.engine.expressions.AbstractFlowExpression.launch(AbstractFlowExpression.java:163)
      	at openwfe.org.engine.expressions.raw.RawExpression.launch(RawExpression.java:383)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:527)
      	at openwfe.org.engine.impl.expool.SimpleExpressionPool.launch(SimpleExpressionPool.java:565)
      	at openwfe.org.engine.impl.launch.SimpleXmlLauncher$1.run(SimpleXmlLauncher.java:453)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mdivilek Milan Divilek
              Reporter:
              frank.sommer Frank Sommer
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: