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

Jenkins JIRA | Andrew Bayer | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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. 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.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    problems with rebuild plugin

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

    8 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
      BuilderChain.perform
      1. org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.compareParameters(RemoteBuildConfiguration.java:681)
      2. org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.perform(RemoteBuildConfiguration.java:572)
      3. org.jenkinsci.plugins.conditionalbuildstep.BuilderChain.perform(BuilderChain.java:71)
      3 frames
    4. org.jenkins_ci.plugins
      BuildStepRunner.perform
      1. org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110)
      2. org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154)
      3. org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105)
      3 frames
    5. org.jenkinsci.plugins
      ConditionalBuilder.perform
      1. org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder.perform(ConditionalBuilder.java:133)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      3. hudson.model.Build$BuildExecution.build(Build.java:199)
      4. hudson.model.Build$BuildExecution.doRun(Build.java:160)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      6. hudson.model.Run.execute(Run.java:1665)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:246)
      9 frames