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

json input error in parameterized schedular plugin

XMLWordPrintable

      Im  using extended choice parameter plugin with json input but this plugin return the error:Null pointer exception

      Ex: 5 * * * *%v1={'option':'test','tool':'val'}

      Error:
      FATAL: null
      java.lang.NullPointerException
      at hudson.model.ParametersAction.filter(ParametersAction.java:328)
      at hudson.model.ParametersAction.getParameters(ParametersAction.java:183)
      at hudson.model.ParametersAction.iterator(ParametersAction.java:178)
      at hudson.model.AbstractBuild.getSensitiveBuildVariables(AbstractBuild.java:957)
      at org.jenkinsci.plugins.envinject.util.RunHelper.getSensitiveBuildVariables(RunHelper.java:55)
      at org.jenkinsci.plugins.envinject.service.EnvInjectActionSetter.addEnvVarsToRun(EnvInjectActionSetter.java:69)
      at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:83)
      at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:44)
      at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:542)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:462)
      at hudson.model.Run.execute(Run.java:1724)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:421)
      Finished: FAILURE

            raihaan Raihaan Shouhell
            cglr caglar cglr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: