net.sf.json.JSONException: null object

jenkins-ci.org | 3 months ago
  1. 0

    More details upon request. Just reporting cause the message (below) said to. Failed to parse form data. Please report this problem as a bug JSON={"":"<img type=\"image/svg+xml\" height=\"300\" src=\"ws/build/pdepend/overview-pyramid.svg\" width=\"500\"><\/img>\n<img type=\"image/svg+xml\" height=\"300\" src=\"ws/build/pdepend/dependencies.svg\" width=\"500\"><\/img>","builder":{"antOpts":"","buildFile":"","kind":"hudson.tasks.Ant","properties":"","stapler-class":"hudson.tasks.Ant","targets":""},"com-cloudbees-jenkins-GitHubPushTrigger":{},"core:apply":"","description":"<img type=\"image/svg+xml\" height=\"300\" src=\"ws/build/pdepend/overview-pyramid.svg\" width=\"500\"><\/img>\n<img type=\"image/svg+xml\" height=\"300\" src=\"ws/build/pdepend/dependencies.svg\" width=\"500\"><\/img>","displayNameOrNull":"","logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"10","logrotate_nums":"10"},"name":"Squareknot testing","properties":{"com-coravy-hudson-plugins-github-GithubProjectProperty":{"projectUrl":"git@github.com:Squareknot/Squareknot-API.git"},"hudson-model-ParametersDefinitionProperty":{},"stapler-class-bag":"true"},"publisher":[{"canComputeNew":{"failedNewAll":"","failedNewHigh":"","failedNewLow":"","failedNewNormal":"","unstableNewAll":"","unstableNewHigh":"","unstableNewLow":"","unstableNewNormal":"","useDeltaValues":false,"useStableBuildAsReference":false},"canRunOnFailed":true,"defaultEncoding":"","failedTotalAll":"","failedTotalHigh":"","failedTotalLow":"","failedTotalNormal":"","healthy":"","kind":"hudson.plugins.pmd.PmdPublisher","pattern":"build/logs/pmd.xml","shouldDetectModules":false,"stapler-class":"hudson.plugins.pmd.PmdPublisher","thresholdLimit":"low","unHealthy":"","unstableTotalAll":"","unstableTotalHigh":"","unstableTotalLow":"","unstableTotalNormal":""},{"kind":"hudson.plugins.plot.PlotPublisher","plots":[{"csvFileName":"123.csv","group":"phploc","numBuilds":"100","series":{"file":""},"style":"line","title":"A - Lines of code","useDescr":false,"yaxis":"Lines of Code"},{"csvFileName":"1107599928.csv","group":"phploc","numBuilds":"100","series":{"file":"","fileType":{"label":"","value":"properties"}},"style":"line","title":"B - Structures","useDescr":false,"yaxis":"Count"}],"stapler-class":"hudson.plugins.plot.PlotPublisher"},{"kind":"org.jenkinsci.plugins.cloverphp.CloverPublisher","methodCoverage":["70","",""],"publishHtmlReport":{"disableArchiving":false,"reportDir":"build/coverage"},"stapler-class":"org.jenkinsci.plugins.cloverphp.CloverPublisher","statementCoverage":["80","",""],"xmlLocation":"build/logs/clover.xml"},{"kind":"htmlpublisher.HtmlPublisher","reportTargets":[{"keepAll":true,"reportDir":"build/api","reportFiles":"index.xhtml","reportName":"API Documentation"},{"keepAll":true,"reportDir":"build/code-browser","reportFiles":"index.html","reportName":"Code Browser"}],"stapler-class":"htmlpublisher.HtmlPublisher"},{"kind":"org.jenkinsci.plugins.xunit.XUnitPublisher","stapler-class":"org.jenkinsci.plugins.xunit.XUnitPublisher","thresholdMode":"1","thresholds":[{"failureNewThreshold":"0","failureThreshold":"0","kind":"org.jenkinsci.plugins.xunit.threshold.FailedThresholdDescriptor","stapler-class":"org.jenkinsci.plugins.xunit.threshold.FailedThreshold","unstableNewThreshold":"0","unstableThreshold":"0"},{"failureNewThreshold":"0","failureThreshold":"0","kind":"org.jenkinsci.plugins.xunit.threshold.SkippedThresholdDescriptor","stapler-class":"org.jenkinsci.plugins.xunit.threshold.SkippedThreshold","unstableNewThreshold":"0","unstableThreshold":"0"}],"tools":{"deleteOutputFiles":true,"failIfNotNew":true,"kind":"class com.thalesgroup.dtkit.junit.PHPUnit","pattern":"build/logs/junit.xml","stapler-class":"com.thalesgroup.dtkit.metrics.hudson.model.PHPUnitJunitHudsonTestType","stopProcessingIfError":true}},{"configuredJDependFile":"build/logs/jdepend.xml","kind":"hudson.plugins.jdepend.JDependRecorder","stapler-class":"hudson.plugins.jdepend.JDependRecorder"}],"scm":{"value":"2"}} 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:203) at hudson.model.Project.submit(Project.java:203) at hudson.model.Job.doConfigSubmit(Job.java:993) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:699) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 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: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.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.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:679)

    Jenkins JIRA | 4 years ago | Mark Hershberger
    net.sf.json.JSONException: null object
  2. 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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    More details upon request. Just reporting cause the message (below) said to. Failed to parse form data. Please report this problem as a bug JSON={"":"<img type=\"image/svg+xml\" height=\"300\" src=\"ws/build/pdepend/overview-pyramid.svg\" width=\"500\"><\/img>\n<img type=\"image/svg+xml\" height=\"300\" src=\"ws/build/pdepend/dependencies.svg\" width=\"500\"><\/img>","builder":{"antOpts":"","buildFile":"","kind":"hudson.tasks.Ant","properties":"","stapler-class":"hudson.tasks.Ant","targets":""},"com-cloudbees-jenkins-GitHubPushTrigger":{},"core:apply":"","description":"<img type=\"image/svg+xml\" height=\"300\" src=\"ws/build/pdepend/overview-pyramid.svg\" width=\"500\"><\/img>\n<img type=\"image/svg+xml\" height=\"300\" src=\"ws/build/pdepend/dependencies.svg\" width=\"500\"><\/img>","displayNameOrNull":"","logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"10","logrotate_nums":"10"},"name":"Squareknot testing","properties":{"com-coravy-hudson-plugins-github-GithubProjectProperty":{"projectUrl":"git@github.com:Squareknot/Squareknot-API.git"},"hudson-model-ParametersDefinitionProperty":{},"stapler-class-bag":"true"},"publisher":[{"canComputeNew":{"failedNewAll":"","failedNewHigh":"","failedNewLow":"","failedNewNormal":"","unstableNewAll":"","unstableNewHigh":"","unstableNewLow":"","unstableNewNormal":"","useDeltaValues":false,"useStableBuildAsReference":false},"canRunOnFailed":true,"defaultEncoding":"","failedTotalAll":"","failedTotalHigh":"","failedTotalLow":"","failedTotalNormal":"","healthy":"","kind":"hudson.plugins.pmd.PmdPublisher","pattern":"build/logs/pmd.xml","shouldDetectModules":false,"stapler-class":"hudson.plugins.pmd.PmdPublisher","thresholdLimit":"low","unHealthy":"","unstableTotalAll":"","unstableTotalHigh":"","unstableTotalLow":"","unstableTotalNormal":""},{"kind":"hudson.plugins.plot.PlotPublisher","plots":[{"csvFileName":"123.csv","group":"phploc","numBuilds":"100","series":{"file":""},"style":"line","title":"A - Lines of code","useDescr":false,"yaxis":"Lines of Code"},{"csvFileName":"1107599928.csv","group":"phploc","numBuilds":"100","series":{"file":"","fileType":{"label":"","value":"properties"}},"style":"line","title":"B - Structures","useDescr":false,"yaxis":"Count"}],"stapler-class":"hudson.plugins.plot.PlotPublisher"},{"kind":"org.jenkinsci.plugins.cloverphp.CloverPublisher","methodCoverage":["70","",""],"publishHtmlReport":{"disableArchiving":false,"reportDir":"build/coverage"},"stapler-class":"org.jenkinsci.plugins.cloverphp.CloverPublisher","statementCoverage":["80","",""],"xmlLocation":"build/logs/clover.xml"},{"kind":"htmlpublisher.HtmlPublisher","reportTargets":[{"keepAll":true,"reportDir":"build/api","reportFiles":"index.xhtml","reportName":"API Documentation"},{"keepAll":true,"reportDir":"build/code-browser","reportFiles":"index.html","reportName":"Code Browser"}],"stapler-class":"htmlpublisher.HtmlPublisher"},{"kind":"org.jenkinsci.plugins.xunit.XUnitPublisher","stapler-class":"org.jenkinsci.plugins.xunit.XUnitPublisher","thresholdMode":"1","thresholds":[{"failureNewThreshold":"0","failureThreshold":"0","kind":"org.jenkinsci.plugins.xunit.threshold.FailedThresholdDescriptor","stapler-class":"org.jenkinsci.plugins.xunit.threshold.FailedThreshold","unstableNewThreshold":"0","unstableThreshold":"0"},{"failureNewThreshold":"0","failureThreshold":"0","kind":"org.jenkinsci.plugins.xunit.threshold.SkippedThresholdDescriptor","stapler-class":"org.jenkinsci.plugins.xunit.threshold.SkippedThreshold","unstableNewThreshold":"0","unstableThreshold":"0"}],"tools":{"deleteOutputFiles":true,"failIfNotNew":true,"kind":"class com.thalesgroup.dtkit.junit.PHPUnit","pattern":"build/logs/junit.xml","stapler-class":"com.thalesgroup.dtkit.metrics.hudson.model.PHPUnitJunitHudsonTestType","stopProcessingIfError":true}},{"configuredJDependFile":"build/logs/jdepend.xml","kind":"hudson.plugins.jdepend.JDependRecorder","stapler-class":"hudson.plugins.jdepend.JDependRecorder"}],"scm":{"value":"2"}} 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:203) at hudson.model.Project.submit(Project.java:203) at hudson.model.Job.doConfigSubmit(Job.java:993) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:699) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 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: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.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.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:679)

    Jenkins JIRA | 4 years ago | Mark Hershberger
    net.sf.json.JSONException: null object
  5. 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

    3 unregistered visitors
    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.put
      1. net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2428)
      2. net.sf.json.JSONObject.element(JSONObject.java:1486)
      3. net.sf.json.JSONObject.element(JSONObject.java:1469)
      4. net.sf.json.JSONObject.put(JSONObject.java:2065)
      4 frames
    3. hudson.plugins.plot
      PlotPublisher$DescriptorImpl.newInstance
      1. hudson.plugins.plot.SeriesFactory.createSeries(SeriesFactory.java:27)
      2. hudson.plugins.plot.SeriesFactory.createSeriesList(SeriesFactory.java:43)
      3. hudson.plugins.plot.PlotPublisher$DescriptorImpl.bindPlot(PlotPublisher.java:231)
      4. hudson.plugins.plot.PlotPublisher$DescriptorImpl.newInstance(PlotPublisher.java:224)
      5. hudson.plugins.plot.PlotPublisher$DescriptorImpl.newInstance(PlotPublisher.java:202)
      5 frames
    4. Hudson
      AbstractProject.doConfigSubmit
      1. hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:912)
      2. hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:899)
      3. hudson.util.DescribableList.rebuildHetero(DescribableList.java:203)
      4. hudson.model.Project.submit(Project.java:203)
      5. hudson.model.Job.doConfigSubmit(Job.java:991)
      6. hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:699)
      6 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1490.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:601)
      3 frames
    6. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
      2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
      3. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
      4. org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
      5. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      6. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      7. org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      8. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
      9. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      10. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      11. org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      12. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
      13. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      14. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      15. org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      16. org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
      17. org.kohsuke.stapler.Stapler.service(Stapler.java:162)
      17 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    9. Hudson
      PluginServletFilter$1.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      1 frame
    10. net.bull.javamelody
      PluginMonitoringFilter.doFilter
      1. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:185)
      2. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:159)
      3. net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
      3 frames
    11. org.jvnet.hudson
      HudsonMonitoringFilter.doFilter
      1. org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
      1 frame
    12. Hudson
      PluginServletFilter$1.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      1 frame
    13. hudson.plugins.greenballs
      GreenBallFilter.doFilter
      1. hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:74)
      1 frame
    14. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      2 frames
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    16. Hudson
      CrumbFilter.doFilter
      1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      1 frame
    17. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    18. Hudson
      HudsonFilter.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      2. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      3. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      3 frames
    19. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    20. Stapler
      CompressionFilter.doFilter
      1. org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
      1 frame
    21. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    22. Hudson
      CharacterEncodingFilter.doFilter
      1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      1 frame
    23. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      9 frames
    24. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    25. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame