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

Managed Scripts 1.5.2 cannot execute task defined with previous version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • token-macro-plugin
    • None
    • Jenkins 2.274
      Managed Scripts Plugin 1.5.2
    • 2.14

      Managed Scripts 1.5.2 plugin cannot execute task defined with previous version. It fails with a "java.lang.RuntimeException: Error creating extended parser class: null" error:

      executing script 'Case Sensitive Disk Build Step - Create and Mount'
      FATAL: Caught exception while loading script 'Case Sensitive Disk Build Step - Create and Mount'
      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:211)
      	at org.jenkinsci.plugins.managedscripts.ScriptBuildStep.perform(ScriptBuildStep.java:161)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803)
      	at hudson.model.Build$BuildExecution.build(Build.java:197)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513)
      	at hudson.model.Run.execute(Run.java:1907)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      Caused by: 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)
      	... 15 more
      Build step 'Execute managed script' marked build as failure
      Skipped archiving because build is not successful
      

      I need to revert to Jenkins 2.273 and Managed Scripts 1.4 plugin to get it working again.

            slide_o_mix Alex Earl
            flabrie Francis Labrie
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: