Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64563

Office 365 Connector plugin does not work with Jenkins 2.274

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Component/s: token-macro-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.274
      Token Macro Plugin 2.13
      Office 365 Connector plugin 4.13.2
    • Similar Issues:
    • Released As:
      token-macro-2.14

      Description

      After update to Jenkins 2.274 the pipeline fail when Office 365 Connector plugin is invoked from a declarative pipeline.

      java.lang.IllegalStateException
      	at org.objectweb.asm.tree.analysis.BasicInterpreter.<init>(BasicInterpreter.java:66)
      	at org.parboiled.transform.RuleMethodInterpreter.<init>(RuleMethodInterpreter.java:42)
      	at org.parboiled.transform.InstructionGraphCreator.process(InstructionGraphCreator.java:41)
      	at org.parboiled.transform.ParserTransformer.runMethodTransformers(ParserTransformer.java:62)
      	at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:45)
      	at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:39)
      	at org.parboiled.Parboiled.createParser(Parboiled.java:54)
      Caused: java.lang.RuntimeException: Error creating extended parser class: null
      	at org.parboiled.Parboiled.createParser(Parboiled.java:58)
      	at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:80)
      	at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:74)
      	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:199)
      	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:237)
      	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:207)
      	at jenkins.plugins.office365connector.FactsBuilder.evaluateMacro(FactsBuilder.java:134)
      	at jenkins.plugins.office365connector.FactsBuilder.addUserFacts(FactsBuilder.java:125)
      	at jenkins.plugins.office365connector.CardBuilder.createBuildMessageCard(CardBuilder.java:183)
      	at jenkins.plugins.office365connector.Office365ConnectorWebhookNotifier.sendBuildStepNotification(Office365ConnectorWebhookNotifier.java:100)
      	at jenkins.plugins.office365connector.workflow.Execution.run(Execution.java:33)
      	at jenkins.plugins.office365connector.workflow.Execution.run(Execution.java:15)
      	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

      After rollback to Jenkins 2.273 everything works as expected.

        Attachments

          Issue Links

            Activity

            Hide
            mi_ko Milan Konzal added a comment -

            Solved by upgrade of Token Macro Plugin to 2.14

            Show
            mi_ko Milan Konzal added a comment - Solved by upgrade of Token Macro Plugin to 2.14

              People

              Assignee:
              srhebbar Srivardhan Hebbar
              Reporter:
              mi_ko Milan Konzal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: