net.sf.json.JSONException: JSONObject["value"] not found.

Jenkins JIRA | Jeff Storey | 1 year ago
  1. 0

    When calling a remote parameterized job that has as one of its parameters the Matrix Combination parameter, the Parameterized Remote Trigger plugin fails: {noformat} FATAL: JSONObject["value"] not found. net.sf.json.JSONException: JSONObject["value"] not found. at net.sf.json.JSONObject.getString(JSONObject.java:2040) at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.compareParameters(RemoteBuildConfiguration.java:681) at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.perform(RemoteBuildConfiguration.java:572) at org.jenkinsci.plugins.conditionalbuildstep.BuilderChain.perform(BuilderChain.java:71) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154) at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105) at org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder.perform(ConditionalBuilder.java:133) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) {noformat} This seems to be because the .../api/json for the parameters of the build it kicked off only has a name field, no value, for the Matrix Combination parameter.

    Jenkins JIRA | 2 years ago | Andrew Bayer
    net.sf.json.JSONException: JSONObject["value"] not found.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    When calling a remote parameterized job that has as one of its parameters the Matrix Combination parameter, the Parameterized Remote Trigger plugin fails: {noformat} FATAL: JSONObject["value"] not found. net.sf.json.JSONException: JSONObject["value"] not found. at net.sf.json.JSONObject.getString(JSONObject.java:2040) at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.compareParameters(RemoteBuildConfiguration.java:681) at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.perform(RemoteBuildConfiguration.java:572) at org.jenkinsci.plugins.conditionalbuildstep.BuilderChain.perform(BuilderChain.java:71) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154) at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105) at org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder.perform(ConditionalBuilder.java:133) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) {noformat} This seems to be because the .../api/json for the parameters of the build it kicked off only has a name field, no value, for the Matrix Combination parameter.

    Jenkins JIRA | 2 years ago | Andrew Bayer
    net.sf.json.JSONException: JSONObject["value"] not found.
  4. 0

    problems with rebuild plugin

    Google Groups | 3 years ago | David Gang
    javax.servlet.ServletException: net.sf.json.JSONException: JSONObject["tag"] not found.

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. net.sf.json.JSONException

      JSONObject["value"] not found.

      at net.sf.json.JSONObject.getString()
    2. json-lib
      JSONObject.getString
      1. net.sf.json.JSONObject.getString(JSONObject.java:2040)
      1 frame
    3. org.jenkinsci.plugins
      RemoteBuildConfiguration.perform
      1. org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.compareParameters(RemoteBuildConfiguration.java:695)
      2. org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.perform(RemoteBuildConfiguration.java:567)
      2 frames
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
      3. hudson.model.Build$BuildExecution.build(Build.java:203)
      4. hudson.model.Build$BuildExecution.doRun(Build.java:160)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
      6. hudson.model.Run.execute(Run.java:1741)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:374)
      9 frames