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

failed to save config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker

      steps to re-produce the issues:

       

      go to https://localhost:8080/manage/configure, and just click save button (you don't even need to add/update a yaml config). it will report error occurred.

      the following error messages logged:

       

      // 
      Jul 11 03:14:54 fcai-vm-01 jenkins[14185]: 2023-07-11 03:14:54.574+0000 [id=18]#011INFO#011h.p.b.g.GlobalTimeOutConfiguration#configure: global timeout has been cleared
      Jul 11 03:14:55 fcai-vm-01 jenkins[14185]: 2023-07-11 03:14:55.043+0000 [id=18]#011WARNING#011o.e.j.s.h.ContextHandler$Context#log: Error while serving http://192.168.0.60:8080/manage/configSubmit
      Jul 11 03:14:55 fcai-vm-01 jenkins[14185]: net.sf.json.JSONException: JSONObject["configs"] is not a JSONArray.
      Jul 11 03:14:55 fcai-vm-01 jenkins[14185]: #011at net.sf.json.JSONObject.getJSONArray(JSONObject.java:1986)
      Jul 11 03:14:55 fcai-vm-01 jenkins[14185]: #011at io.jenkins.plugins.globalyamlproperties.GlobalYAMLPropertiesConfiguration.configure(GlobalYAMLPropertiesConfiguration.java:77)
      Jul 11 03:14:55 fcai-vm-01 jenkins[14185]: #011at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:4039)
      Jul 11 03:14:55 fcai-vm-01 jenkins[14185]: #011at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:4003)
      Jul 11 03:14:55 fcai-vm-01 jenkins[14185]: #011at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
       

            vladyslav_kovalov Vladyslav Kovalov
            caichao1103 Chao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: