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

SEVERE java.lang.IllegalStateException in email-ext

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • token-macro-plugin
    • None
    • jenkins LTS 2.277.1
      email ext 2.82
      token macro 2.13
    • 2.14

      A test job with email-ext setup sends a SEVERE log in the jenkins.log file

      Stack trace

      2021-03-18 13:59:37.177+0000 [id=1806]	SEVERE	h.p.e.plugins.ContentBuilder#transformText
      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 hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:80)
      	at hudson.plugins.emailext.ExtendedEmailPublisher.setSubject(ExtendedEmailPublisher.java:1018)
      	at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:901)
      	at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:509)
      	at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:444)
      	at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:354)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752)
      	at hudson.model.Build$BuildExecution.cleanUp(Build.java:187)
      	at hudson.model.Run.execute(Run.java:1954)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429) 

      Attaching the job config

       

            Unassigned Unassigned
            sbeaulie Samuel Beaulieu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: