net.sf.json.JSONException: null object

Jenkins JIRA | Sean DeNigris | 4 years ago
  1. 0

    After various option permutations, I finally was able to inspect a text response with: * Inspect URL content * Monitor a change of the content I couldn't get it to work with any other combination except only and exactly those two. I found the interface very confusing... 1. Checking "[URLTrigger] - Poll with a URL" w/o specifying anything else polls, but never finds any changes. Users should be notified that this is an invalid state, in the config, output, or both 2. [1] and checking "Inspect URL content" causes an error (see [4] below) 3. TXT/"Monitor the contents of a text response" seems especially misleading, since it requires a regex. Not knowing that (although I now see it in the help), I set TXT w/o a regex only to discover later that it was never finding any changes in the context. I think either: - if no regex is supplied, assume all text (.*) - I like this one the best - notify the user that TXT w/o a regex is an invalid config - name it REGEX/"Something mentioning regex" [4] Error output: Error Failed to parse form data. Please report this problem as a bug JSON={"":"","builder":{"command":"\"$JENKINS_HOME\"/build.sh","kind":"hudson.tasks.Shell","stapler-class":"hudson.tasks.Shell"},"core:apply":"","description":"","displayNameOrNull":"","logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":"5"},"name":"Test Job","org-jenkinsci-plugins-urltrigger-URLTrigger":{"cronTabSpec":"* * * * *","urlElements":{"checkETag":false,"checkLastModificationDate":false,"inspectingContent":{},"password":"","proxyActivated":false,"url":"http://seandenigris.com/blog/?page_id=58","username":""}},"properties":{"hudson-model-ParametersDefinitionProperty":{},"stapler-class-bag":"true"},"scm":{"value":"1"}} net.sf.json.JSONException: null object at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2428)

    Jenkins JIRA | 4 years ago | Sean DeNigris
    net.sf.json.JSONException: null object
  2. 0

    After various option permutations, I finally was able to inspect a text response with: * Inspect URL content * Monitor a change of the content I couldn't get it to work with any other combination except only and exactly those two. I found the interface very confusing... 1. Checking "[URLTrigger] - Poll with a URL" w/o specifying anything else polls, but never finds any changes. Users should be notified that this is an invalid state, in the config, output, or both 2. [1] and checking "Inspect URL content" causes an error (see [4] below) 3. TXT/"Monitor the contents of a text response" seems especially misleading, since it requires a regex. Not knowing that (although I now see it in the help), I set TXT w/o a regex only to discover later that it was never finding any changes in the context. I think either: - if no regex is supplied, assume all text (.*) - I like this one the best - notify the user that TXT w/o a regex is an invalid config - name it REGEX/"Something mentioning regex" [4] Error output: Error Failed to parse form data. Please report this problem as a bug JSON={"":"","builder":{"command":"\"$JENKINS_HOME\"/build.sh","kind":"hudson.tasks.Shell","stapler-class":"hudson.tasks.Shell"},"core:apply":"","description":"","displayNameOrNull":"","logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":"5"},"name":"Test Job","org-jenkinsci-plugins-urltrigger-URLTrigger":{"cronTabSpec":"* * * * *","urlElements":{"checkETag":false,"checkLastModificationDate":false,"inspectingContent":{},"password":"","proxyActivated":false,"url":"http://seandenigris.com/blog/?page_id=58","username":""}},"properties":{"hudson-model-ParametersDefinitionProperty":{},"stapler-class-bag":"true"},"scm":{"value":"1"}} net.sf.json.JSONException: null object at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2428)

    Jenkins JIRA | 4 years ago | Sean DeNigris
    net.sf.json.JSONException: null object
  3. 0

    I was adding a war deployment step to a running job in Hudson and got the following message. Error Failed to parse form data. Please report this probelm as a bug JSON={"hudson-triggers-TimerTrigger":{"timer_spec":"@daily"},"hudson-plugins-emotional_hudson-EmotionalHudsonPublisher":{},"jobProperty0":{},"jobProperty1":{"promotions":{"config":{"buildStep":{"":"hudson.plugins.deploy.Tomcat6xAdapter","adapter":{"stapler-class":"hudson.plugins.deploy.Tomcat6xAdapter","userName":"","password":"","url":"http://phpdevapp3.dev.livenation.com:8080"},"kind":"hudson.plugins.deploy.DeployPublisher$DescriptorImpl","war":""},"name":""}}},"builder":[{"shell":"env\necho \"Start svn up `date` \" \necho $WORKSPACE\nssh imager1 \"/usr/local/bin/svn up $WORKSPACE/global_digital\"\necho \"End svn up `date` \" \n# Fake out the properties file system to use hudson.properties to build the baker war into a private tomcat \n# so we can promote to being used later if the build works.\nexport USER=hudson\ncd $WORKSPACE/global_digital/plugins/baker/webapps/baker\nmkdir -p build/webapps\n$ANT_HOME/bin/ant -d -Duser.name=hudson clean\n$ANT_HOME/bin/ant -Duser.name=hudson\n","kind":"hudson.tasks.Shell$DescriptorImpl"},{"shell":"cd $WORKSPACE/global_digital/plugins/baker/webapps/baker\n$ANT_HOME/bin/ant -Duser.name=hudson short-build","kind":"hudson.tasks.Shell$DescriptorImpl"}],"hudson-plugins-deploy-DeployPublisher":{"":"hudson.plugins.deploy.Tomcat6xAdapter","adapter":{"stapler-class":"hudson.plugins.deploy.Tomcat6xAdapter","userName":"","password":"","url":"http://phpdevapp3.dev.livenation.com:8080"},"war":"global_digital/plugins/baker/webapps/baker/build/webapps/baker.war"},"hudson-tasks-Mailer":{"mailer_recipients":"sf-dev@internal.livenation.com","mailer_notifyEveryUnstableBuild":true,"mailer_sendToIndividuals":true},"hudson-tasks-ArtifactArchiver":{"latestOnly":false,"excludes":"","artifacts":"global_digital/plugins/baker/webapps/baker/**/*.war"},"hudson-plugins-emailext-ExtendedEmailPublisher":{"":["select","Failure"],"body":["$PROJECT_DEFAULT_CONTENT","$PROJECT_DEFAULT_CONTENT","$PROJECT_DEFAULT_CONTENT","$PROJECT_DEFAULT_CONTENT","$PROJECT_DEFAULT_CONTENT","$PROJECT_DEFAULT_CONTENT"],"project_default_subject":"$DEFAULT_SUBJECT","includeCulprits":[false,false,false,false,false,false],"configured":["true","false","false","false","false","false"],"subject":["$PROJECT_DEFAULT_SUBJECT","$PROJECT_DEFAULT_SUBJECT","$PROJECT_DEFAULT_SUBJECT","$PROJECT_DEFAULT_SUBJECT","$PROJECT_DEFAULT_SUBJECT","$PROJECT_DEFAULT_SUBJECT"],"project_default_content":"$DEFAULT_CONTENT","sendToDevelopers":[true,true,true,true,true,true],"sendToRecipientList":[true,true,false,false,true,false],"recipientlist_recipients":"stuartschmukler@livenation.com, corey.lohman@livenation.com, georgeblazer@livenation.com, tanyaGygi@livenation.com","recipientList":["","","","","",""]},"description":"","name":"daily-build","hudson-tasks-BuildTrigger":{"childProjects":"the_bake, the_bake_in_place","evenIfUnstable":false},"jobProperty3":{},"scm":{"value":"0"}} net.sf.json.JSONException: null object at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2498) at net.sf.json.JSONObject.getString(JSONObject.java:1842) at hudson.plugins.promoted_builds.JobPropertyImpl.<init>(JobPropertyImpl.java:67) at hudson.plugins.promoted_builds.JobPropertyImpl.<init>(JobPropertyImpl.java:37) at hudson.plugins.promoted_builds.JobPropertyImpl$DescriptorImpl.newInstance(JobPropertyImpl.java:229) at hudson.plugins.promoted_builds.JobPropertyImpl$DescriptorImpl.newInstance(JobPropertyImpl.java:213) at hudson.model.Job.doConfigSubmit(Job.java:912) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:379) at sun.reflect.GeneratedMethodAccessor527.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:156) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:76) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:438) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:438) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:356) at org.kohsuke.stapler.Stapler.service(Stapler.java:116) 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.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:91) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:83) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155) 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:619) Hudson ver. 1.291

    Jenkins JIRA | 8 years ago | sasconsul
    net.sf.json.JSONException: null object
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to parse form data. Please report this problem as a bug JSON={"":"","builder":{"command":"set -e\nunset TMP TMPDIR TEMP TEMPDIR\nexport TMP='.'\n./build.sh\nscripts/ci/test-mmcc-berlin.py","kind":"hudson.tasks.Shell","stapler-class":"hudson.tasks.Shell"},"core:apply":"","description":"","displayNameOrNull":"","hudson-plugins-build_timeout-BuildTimeoutWrapper":{"failBuild":true,"timeoutMinutes":"30"},"hudson-triggers-SCMTrigger":{"scmpoll_spec":"# PLEASE KEEP THIS PLACEHOLDER AS IT IS\n@yearly"},"logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":"10"},"name":"mcf-berlin","properties":{"hudson-model-ParametersDefinitionProperty":{},"hudson-plugins-throttleconcurrents-ThrottleJobProperty":{"maxConcurrentPerNode":"0","maxConcurrentTotal":"0","throttleEnabled":false,"throttleOption":"project"},"stapler-class-bag":"true"},"publisher":[{"artifacts":"_mmcc_stats_out/*.cdt,build/release/mmcc,build/release/most","excludes":"","kind":"hudson.tasks.ArtifactArchiver","latestOnly":false,"stapler-class":"hudson.tasks.ArtifactArchiver"},{"childProjects":"mcf-world_f8,mcf-world_f6","kind":"hudson.tasks.BuildTrigger","stapler-class":"hudson.tasks.BuildTrigger","threshold":"SUCCESS"},{"kind":"hudson.plugins.plot.PlotPublisher","plots":[{"csvFileName":"2142092486.csv","group":"mmcc","numBuilds":"100","series":[{"file":"_mmcc_stats_out/peak_mb_f6"},{"file":"_mmcc_stats_out/peak_mb_f8"}],"style":"line","title":"Peak memory usage","useDescr":false,"yaxis":"MB"},{"csvFileName":"164505283.csv","group":"mmcc","numBuilds":"100","series":[{"file":"_mmcc_stats_out/cdt_mb_f6"},{"file":"_mmcc_stats_out/cdt_mb_f8"}],"style":"line","title":"CDT size","useDescr":false,"yaxis":"MB"},{"csvFileName":"1474549102.csv","group":"mmcc","numBuilds":"100","series":[{"file":"_mmcc_stats_out/time_s_f6"},{"file":"_mmcc_stats_out/time_s_f8","fileType":{"label":"format 8","value":"properties"}}],"style":"line","title":"Compile time","useDescr":false,"yaxis":"s"}],"stapler-class":"hudson.plugins.plot.PlotPublisher"},{"kind":"hudson.tasks.Mailer","mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"pedro.larroy@nokia.com frank.gellert@nokia.com nunzio.visciano@nokia.com stefano.pettini@nokia.com arsen.drambyan@nokia.com peter.siniakov@nokia.com ","mailer_sendToIndividuals":false,"stapler-class":"hudson.tasks.Mailer"}],"scm":{"":"3","branch":"default","browser":{"stapler-class":"hudson.plugins.mercurial.browser.HgWeb","url":"https://source.nokia.com/mos_map_compiler/hg/production/"},"clean":true,"modules":"","source":"http://bfmapcomp01.europe.nokia.com/sources_jenkins/mos_map_compiler/production/","subdir":"","value":"1"}} net.sf.json.JSONException: null object at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2428) at net.sf.json.JSONObject.element(JSONObject.java:1486) at net.sf.json.JSONObject.element(JSONObject.java:1469) at net.sf.json.JSONObject.put(JSONObject.java:2065) at hudson.plugins.plot.SeriesFactory.createSeries(SeriesFactory.java:27) at hudson.plugins.plot.SeriesFactory.createSeriesList(SeriesFactory.java:43) at hudson.plugins.plot.PlotPublisher$DescriptorImpl.bindPlot(PlotPublisher.java:231) at hudson.plugins.plot.PlotPublisher$DescriptorImpl.newInstance(PlotPublisher.java:224) at hudson.plugins.plot.PlotPublisher$DescriptorImpl.newInstance(PlotPublisher.java:202) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:912) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:899) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:184) at hudson.model.Project.submit(Project.java:203) at hudson.model.Job.doConfigSubmit(Job.java:990) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:665) at sun.reflect.GeneratedMethodAccessor1001.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488) at org.kohsuke.stapler.Stapler.service(Stapler.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679)

    Jenkins JIRA | 4 years ago | Pedro Larroy
    net.sf.json.JSONException: null object
  6. 0

    When you try to create two plots, (csv, xml..etc..). Hudson throws the following exception: Failed to parse form data. Please report this problem as a bug JSON={"builder":{"command":"andres.bat","kind":"hudson.tasks.BatchFile$DescriptorImpl","stapler-class":"hudson.tasks.BatchFile"},"concurrentBuild":{},"description":"Sandbox","hasSlaveAffinity":{"assignedLabelString":"Master"},"hudson-plugins-plot-PlotPublisher":{"plots":[{"csvFileName":"1687204258.csv","group":"hello","numBuilds":"20","series":{"file":"1.xml"},"style":"line","title":"jj","useDescr":false,"yaxis":"de"},{"csvFileName":"","group":"wed","numBuilds":"5","series":{"file":"2.xml","fileType":{"url":"","value":"xml","xpath":"/result/b"}},"style":"area","title":"fgfg","useDescr":false,"yaxis":"gg"}]},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"":true,"maxConcurrentPerNode":"5","maxConcurrentTotal":"1"},"name":"Andres2","scm":{"value":"0"}} net.sf.json.JSONException: null object at net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2424) at net.sf.json.JSONObject.element(JSONObject.java:1482) at net.sf.json.JSONObject.element(JSONObject.java:1465) at net.sf.json.JSONObject.put(JSONObject.java:2061) at hudson.plugins.plot.SeriesFactory.createSeries(SeriesFactory.java:27) at hudson.plugins.plot.SeriesFactory.createSeriesList(SeriesFactory.java:43) at hudson.plugins.plot.PlotPublisher$DescriptorImpl.bindPlot(PlotPublisher.java:239) at hudson.plugins.plot.PlotPublisher$DescriptorImpl.newInstance(PlotPublisher.java:232) at hudson.plugins.plot.PlotPublisher$DescriptorImpl.newInstance(PlotPublisher.java:211) at hudson.util.DescribableList.rebuild(DescribableList.java:146) at hudson.model.Project.submit(Project.java:198) at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:97) at hudson.model.Job.doConfigSubmit(Job.java:1062) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:578) 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:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:259) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:126) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:65) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:79) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534) at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:450) at org.kohsuke.stapler.Stapler.service(Stapler.java:132) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 6 years ago | serdnago
    net.sf.json.JSONException: null object

    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.verifyIsNull
      1. net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2428)
      1 frame