net.sf.json.JSONException: null object

Jenkins JIRA | ajpurkiss | 9 years ago
  1. 0

    I have updated to 1.207 snapshot and copied my windows setup over to a linux box. I decided to try the system using winstone rather then the tomcat setup I was using but when I try to change my main hudson config it fails to save so I had to make the changes directly to the files. I do not get any error messages. When however I try to save a job configuration I get the following error. The other change I have made is to install the ci-game plugin Status Code: 500 Exception: Stacktrace: net.sf.json.JSONException: null object at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2498) at net.sf.json.JSONObject.get(JSONObject.java:1712) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:285) at hudson.plugins.descriptionsetter.DescriptionSetterPublisher$DescriptorImpl.newIn stance(DescriptionSetterPublisher.java:85) at hudson.plugins.descriptionsetter.DescriptionSetterPublisher$DescriptorImpl.newIn stance(DescriptionSetterPublisher.java:71) at hudson.model.AbstractProject.buildDescribable (AbstractProject.java:891) at hudson.model.Project.submit(Project.java:154) at hudson.model.Job.doConfigSubmit(Job.java:745) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:294) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke (Function.java:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:69) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:416) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:416) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:352) at org.kohsuke.stapler.Stapler.service(Stapler.java:112) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest (RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:595)

    Jenkins JIRA | 9 years ago | ajpurkiss
    net.sf.json.JSONException: null object
  2. 0

    I have updated to 1.207 snapshot and copied my windows setup over to a linux box. I decided to try the system using winstone rather then the tomcat setup I was using but when I try to change my main hudson config it fails to save so I had to make the changes directly to the files. I do not get any error messages. When however I try to save a job configuration I get the following error. The other change I have made is to install the ci-game plugin Status Code: 500 Exception: Stacktrace: net.sf.json.JSONException: null object at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2498) at net.sf.json.JSONObject.get(JSONObject.java:1712) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:285) at hudson.plugins.descriptionsetter.DescriptionSetterPublisher$DescriptorImpl.newIn stance(DescriptionSetterPublisher.java:85) at hudson.plugins.descriptionsetter.DescriptionSetterPublisher$DescriptorImpl.newIn stance(DescriptionSetterPublisher.java:71) at hudson.model.AbstractProject.buildDescribable (AbstractProject.java:891) at hudson.model.Project.submit(Project.java:154) at hudson.model.Job.doConfigSubmit(Job.java:745) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:294) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke (Function.java:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:69) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:416) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:416) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:352) at org.kohsuke.stapler.Stapler.service(Stapler.java:112) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest (RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:595)

    Jenkins JIRA | 9 years ago | ajpurkiss
    net.sf.json.JSONException: null object
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    net.sf.json.JSONException: null object

    GitHub | 3 years ago | cdgraff
    net.sf.json.JSONException: null object
  5. 0

    首页内容

    139students.com | 1 year ago
    freemarker.template.TemplateModelException: [... Exception message was already printed; see it above ...]

    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

      null object

      at net.sf.json.JSONObject.verifyIsNull()
    2. json-lib
      JSONObject.get
      1. net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2498)
      2. net.sf.json.JSONObject.get(JSONObject.java:1712)
      2 frames
    3. Stapler
      RequestImpl.bindJSON
      1. org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:285)
      1 frame