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

ClassCastException JSONNull cannot be cast to JSONObject thrown when launching a release

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • m2release-plugin
    • None
    • Linux, Jenkins 1.506

      Begining with Jenkins 1.506, the following exception is thrown when clicking on the "Schedule Maven Release Build" button
      java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject

      Then the screen shows the error, that is status code 500 and stack trace (see attachment for full stack trace).

          [JENKINS-17736] ClassCastException JSONNull cannot be cast to JSONObject thrown when launching a release

          Patrick Roth created issue -
          Patrick Roth made changes -
          Priority Original: Critical [ 2 ] New: Major [ 3 ]
          Patrick Roth made changes -
          Description Original: Begining with Jenkins 1.506, the following exception is thrown when clicking on the "Schedule Maven Release Build" button
          java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject

          Then the screen becomes black, showing the error with status code 500 and stack trace (see attachment for full stack trace).
          New: Begining with Jenkins 1.506, the following exception is thrown when clicking on the "Schedule Maven Release Build" button
          java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject

          Then the screen shows the error, that is status code 500 and stack trace (see attachment for full stack trace).
          Patrick Roth made changes -
          Assignee Original: James Nord [ teilo ] New: Patrick Roth [ pmjroth ]
          Patrick Roth made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Patrick Roth made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 148916 ] New: JNJira + In-Review [ 206603 ]

            pmjroth Patrick Roth
            pmjroth Patrick Roth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: