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

Docker: Build step failed with exception net.sf.json.JSONException: null object

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • docker-commons-plugin
    • jenkins-lts v2.361.1
      docker-common v1.21
      CloudBees Docker Build and Publish plugin v1.4.0

      ERROR: Build step failed with exception
      net.sf.json.JSONException: null object
      at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2688)
      at net.sf.json.JSONObject.element(JSONObject.java:1733)
      at net.sf.json.JSONObject.element(JSONObject.java:1716)
      at net.sf.json.JSONObject.put(JSONObject.java:2328)
      at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryToken$1.call(DockerRegistryToken.java:154)
      at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryToken$1.call(DockerRegistryToken.java:129)
      at hudson.remoting.LocalChannel.call(LocalChannel.java:47)
      at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryToken.newKeyMaterialFactory(DockerRegistryToken.java:129)
      at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint.newKeyMaterialFactory(DockerRegistryEndpoint.java:273)
      at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint.newKeyMaterialFactory(DockerRegistryEndpoint.java:258)
      at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint.newKeyMaterialFactory(DockerRegistryEndpoint.java:250)
      at com.cloudbees.dockerpublish.DockerBuilder$Perform.executeCmd(DockerBuilder.java:457)
      at com.cloudbees.dockerpublish.DockerBuilder$Perform.executeCmd(DockerBuilder.java:431)
      at com.cloudbees.dockerpublish.DockerBuilder$Perform.buildAndTag(DockerBuilder.java:373)
      at com.cloudbees.dockerpublish.DockerBuilder$Perform.exec(DockerBuilder.java:311)
      at com.cloudbees.dockerpublish.DockerBuilder$Perform.access$100(DockerBuilder.java:291)
      at com.cloudbees.dockerpublish.DockerBuilder.perform(DockerBuilder.java:262)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816)
      at hudson.model.Build$BuildExecution.build(Build.java:199)
      at hudson.model.Build$BuildExecution.doRun(Build.java:164)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524)
      at hudson.model.Run.execute(Run.java:1899)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
      at hudson.model.ResourceController.execute(ResourceController.java:107)
      at hudson.model.Executor.run(Executor.java:449)
      Build step 'Docker Build and Publish' marked build as failure
      Finished: FAILURE

          [JENKINS-69702] Docker: Build step failed with exception net.sf.json.JSONException: null object

          Ankit Giri created issue -
          Ankit Giri made changes -
          Environment Original: jenkins-lts v2.361.1
          docker-common v1.21
          New: jenkins-lts v2.361.1
          docker-common v1.21
          CloudBees Docker Build and Publish plugin v1.4.0
          Ankit Giri made changes -
          Summary Original: Build step failed with exception net.sf.json.JSONException: null object New: Docker: Build step failed with exception net.sf.json.JSONException: null object
          Mark Waite made changes -
          Labels Original: docker-build-step New: docker-build-step stalled
          Ankit Giri made changes -
          Attachment New: Screenshot 2022-09-28 at 7.13.00 PM.png [ 59149 ]
          Ankit Giri made changes -
          Attachment Original: Screenshot 2022-09-28 at 7.13.00 PM.png [ 59149 ]
          Ankit Giri made changes -
          Attachment New: Screenshot 2022-09-28 at 7.14.12 PM.png [ 59150 ]
          Ankit Giri made changes -
          Attachment New: Screenshot 2022-09-28 at 7.16.07 PM.png [ 59151 ]
          Ankit Giri made changes -
          Attachment New: image-2022-09-28-19-18-05-758.png [ 59152 ]
          jack lesner made changes -
          Description Original: ERROR: Build step failed with exception
          net.sf.json.JSONException: null object
          at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2688)
          at net.sf.json.JSONObject.element(JSONObject.java:1733)
          at net.sf.json.JSONObject.element(JSONObject.java:1716)
          at net.sf.json.JSONObject.put(JSONObject.java:2328)
          at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryToken$1.call(DockerRegistryToken.java:154)
          at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryToken$1.call(DockerRegistryToken.java:129)
          at hudson.remoting.LocalChannel.call(LocalChannel.java:47)
          at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryToken.newKeyMaterialFactory(DockerRegistryToken.java:129)
          at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint.newKeyMaterialFactory(DockerRegistryEndpoint.java:273)
          at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint.newKeyMaterialFactory(DockerRegistryEndpoint.java:258)
          at org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint.newKeyMaterialFactory(DockerRegistryEndpoint.java:250)
          at com.cloudbees.dockerpublish.DockerBuilder$Perform.executeCmd(DockerBuilder.java:457)
          at com.cloudbees.dockerpublish.DockerBuilder$Perform.executeCmd(DockerBuilder.java:431)
          at com.cloudbees.dockerpublish.DockerBuilder$Perform.buildAndTag(DockerBuilder.java:373)
          at com.cloudbees.dockerpublish.DockerBuilder$Perform.exec(DockerBuilder.java:311)
          at com.cloudbees.dockerpublish.DockerBuilder$Perform.access$100(DockerBuilder.java:291)
          at com.cloudbees.dockerpublish.DockerBuilder.perform(DockerBuilder.java:262)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816)
          at hudson.model.Build$BuildExecution.build(Build.java:199)
          at hudson.model.Build$BuildExecution.doRun(Build.java:164)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524)
          at hudson.model.Run.execute(Run.java:1899)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
          at hudson.model.ResourceController.execute(ResourceController.java:107)
          at hudson.model.Executor.run(Executor.java:449)
          Build step 'Docker Build and Publish' marked build as failure
          Finished: FAILURE
          New: Welcome to Beautyation, a platform for learning about Beauty and style. Bloggers passionate about Beauty, pores and skin care, hair, make-up, cosmetics products and salons are welcome to percent their exceptional thoughts and advice.
          In this manner, we inspire individuals who want to observe and get tips approximately Beauty, pores and skin care, hair, makeup, Cosmetics products and Salons.
          To submit a piece of writing idea, please e-mail us at “—“with the issue “Guest Post for Beautyation”. Our publishing group will touch you inside 24 hours.
          And you could contact us at touch@beautyation.Com
          Our Goal
          You can Write for the Following Topics
          Cosmetics Face Products
          Skin care merchandise Online Store
          Beautiful Makeup
          Cosmetic Salon
          Makeup
          Top Rated Hair Salons
          Cosmetic Makeup
          Guidelines to Follow even as Writing to Us
          We continuously provide beneficial, precious, and beauty-based totally totally answers and updates for our splendor-savvy readers. Writers must observe some writing rules for our platform. Also, please ensure you comply with the underneath suggestions earlier than posting as a guest on touch@beautyation.Com

          First, the content material written need to be plagiarism loose. And we don’t recognize 1% plagiarism in case you write for us.
          Also, make certain that you have decided on a trusted and accurate article or website as a reference for writing the given subject be counted.
          Also, writers ought to attempt to maintain short paragraphs in preference to lengthy paragraphs within the visitor post or article.
          Then take a one-of-a-kind and unique picture with right Quality. If desired, add additional snap shots to your article.
          The content material need to be organized and free from grammatical errors.
          The Benefits of Contributing to Beautyation:
          Build your credibility on-line.
          Promote your logo.
          Increase traffic to your website online.
          The agency turns into greater green.@https://www.beautyation.com/write-for-us/
          jack lesner made changes -
          Summary Original: Docker: Build step failed with exception net.sf.json.JSONException: null object New: WRITE FOR US – BEAUTY, MAKEUP, SKINCARE, HAIR, HEALTH

            Unassigned Unassigned
            ankitgiri45 Ankit Giri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: