net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[{"command":"XXX","stapler-class":"hudson.tasks.BatchFile","kind":"hudson.tasks.BatchFile"}, {"command":"XXX","stapler-class":"hudson.tasks.BatchFile","kind":"hudson.tasks.BatchFile"}]"

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • configSubmit triggers a JSON Error in folowing configuration: _ have a slave jenkins attached _ have a free project config with more than one build step (e.g. 2 windows batch) [works fine for each condition but not when the 2 are encountered] Error message : (XXX replaced internal strings) Error Failed to parse form data. Please report this problem as a bug JSON={"":"XXX","blockBuildWhenUpstreamBuilding":{},"builder":"\"[{\"command\":\"XXX\",\"stapler-class\":\"hudson.tasks.BatchFile\",\"kind\":\"hudson.tasks.BatchFile\"}, {\"command\":\"XXX\",\"stapler-class\":\"hudson.tasks.BatchFile\",\"kind\":\"hudson.tasks.BatchFile\"}]\"","description":"XXX","hasSlaveAffinity":{"assignedLabelString":"master"},"hudson-tasks-BuildTrigger":{"childProjects":"XXX","threshold":"SUCCESS"},"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":false,"mailer_recipients":"XXX","mailer_sendToIndividuals":false},"hudson-triggers-TimerTrigger":{"spec":"0 2 * * 0"},"logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":"1"},"name":"XXX","properties":{"hudson-model-ParametersDefinitionProperty":{},"hudson-plugins-heavy_job-HeavyJobProperty":{"weight":"4"},"hudson-security-AuthorizationMatrixProperty":{},"stapler-class-bag":"true"},"scm":{"value":"1"}} net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[{"command":"XXX","stapler-class":"hudson.tasks.BatchFile","kind":"hudson.tasks.BatchFile"}, {"command":"XXX","stapler-class":"hudson.tasks.BatchFile","kind":"hudson.tasks.BatchFile"}]" at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:903) at net.sf.json.JSONArray._fromString(JSONArray.java:983) at net.sf.json.JSONArray.fromObject(JSONArray.java:141) at net.sf.json.JSONArray.fromObject(JSONArray.java:120) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:863) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:853) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:185) at hudson.model.Project.submit(Project.java:197) at hudson.model.Job.doConfigSubmit(Job.java:966) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:643) at sun.reflect.GeneratedMethodAccessor450.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) 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.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:61) 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:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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(Unknown Source)
    via by j_v,
  • configSubmit triggers a JSON Error in folowing configuration: _ have a slave jenkins attached _ have a free project config with more than one build step (e.g. 2 windows batch) [works fine for each condition but not when the 2 are encountered] Error message : (XXX replaced internal strings) Error Failed to parse form data. Please report this problem as a bug JSON={"":"XXX","blockBuildWhenUpstreamBuilding":{},"builder":"\"[{\"command\":\"XXX\",\"stapler-class\":\"hudson.tasks.BatchFile\",\"kind\":\"hudson.tasks.BatchFile\"}, {\"command\":\"XXX\",\"stapler-class\":\"hudson.tasks.BatchFile\",\"kind\":\"hudson.tasks.BatchFile\"}]\"","description":"XXX","hasSlaveAffinity":{"assignedLabelString":"master"},"hudson-tasks-BuildTrigger":{"childProjects":"XXX","threshold":"SUCCESS"},"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":false,"mailer_recipients":"XXX","mailer_sendToIndividuals":false},"hudson-triggers-TimerTrigger":{"spec":"0 2 * * 0"},"logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":"1"},"name":"XXX","properties":{"hudson-model-ParametersDefinitionProperty":{},"hudson-plugins-heavy_job-HeavyJobProperty":{"weight":"4"},"hudson-security-AuthorizationMatrixProperty":{},"stapler-class-bag":"true"},"scm":{"value":"1"}} net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[{"command":"XXX","stapler-class":"hudson.tasks.BatchFile","kind":"hudson.tasks.BatchFile"}, {"command":"XXX","stapler-class":"hudson.tasks.BatchFile","kind":"hudson.tasks.BatchFile"}]" at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:903) at net.sf.json.JSONArray._fromString(JSONArray.java:983) at net.sf.json.JSONArray.fromObject(JSONArray.java:141) at net.sf.json.JSONArray.fromObject(JSONArray.java:120) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:863) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:853) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:185) at hudson.model.Project.submit(Project.java:197) at hudson.model.Job.doConfigSubmit(Job.java:966) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:643) at sun.reflect.GeneratedMethodAccessor450.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) 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.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:61) 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:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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(Unknown Source)
    via by j_v,
  • When the html5-notifier plugin is enabled, you cannot save a job with more than one build step. To reproduce, install the plugin and add a new job with two windows batch file or shell script build steps. If only one is created, it will save, but if two are created, you will see an error like the following: Failed to parse form data. Please report this problem as a bug JSON={"":"","builder":"\"[{\"command\":\"bar\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"cd foo\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}]\"","description":"","hasSlaveAffinity":{"assignedLabelString":"windows&&expander"},"name":"debug_job2","properties":{"hudson-model-ParametersDefinitionProperty":{},"hudson-plugins-batch_task-BatchTaskProperty":{},"stapler-class-bag":"true"},"scm":{"value":"3"}} net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[{"command":"cd bar","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"cd foo","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}]" at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:903) at net.sf.json.JSONArray._fromString(JSONArray.java:983) at net.sf.json.JSONArray.fromObject(JSONArray.java:141) at net.sf.json.JSONArray.fromObject(JSONArray.java:120) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:863) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:853) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:185) at hudson.model.Project.submit(Project.java:197) at hudson.model.Job.doConfigSubmit(Job.java:966) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:643) 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:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) 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.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:61) 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:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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:636) I think the problem is the \" at the start that's inserted there... Workaround is to uninstall the plugin.
    via by Dan Savilonis,
  • Failed to parse form data. Please report this problem as a bug JSON={"":"Web manager","builder":"\"[{\"command\":\"cd common/quoteobj/ver2/\\nmake\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"cd webmanager\\nmake\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"rm -rf /var/www/manager/*\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"cd webmanager\\nmake productioninstall\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"echo \\\"${BUILD_VERSION_NUMBER}\\\" > /var/www/manager/cgi-bin/version.txt\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"chmod -R 775 /var/www/manager/*\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"chmod 777 /var/www/manager/cgi-bin/sshTailLog.sh\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}]\"","description":"Web manager","hasSlaveAffinity":{"assignedLabelString":"master"},"hudson-plugins-chucknorris-CordellWalkerRecorder":{},"hudson-plugins-svn_tag-SvnTagPublisher":{"tagBaseURL":"svn://75.102.12.197/tags/WebManager/${env['BUILD_TAG']}","tagComment":"Tagged by Jenkins svn-tag plugin. Build:${env['BUILD_TAG']}.","tagDeleteComment":"Delete old tag by SvnTag Jenkins plugin."},"hudson-plugins-twitter-TwitterPublisher":{"includeUrl":"(System Default)","onlyOnFailureOrRecovery":"(System Default)"},"logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":"5"},"name":"WebManager","org-jvnet-hudson-tools-versionnumber-VersionNumberBuilder":{"buildsAllTime":"","buildsThisMonth":"","buildsThisYear":"","buildsToday":"","environmentVariableName":"BUILD_VERSION_NUMBER","projectStartDate":"1969-12-31","skipFailedBuilds":false,"useAsBuildDisplayName":false,"versionNumberString":"${BUILD_YEAR}.${BUILD_MONTH}.${BUILD_DAY}.${BUILDS_TODAY}"},"properties":{"hudson-model-ParametersDefinitionProperty":{},"stapler-class-bag":"true"},"scm":{"":"\"[\"2\", \"auto\"]\"","excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","includedRegions":"","locations":{"local":".","remote":"svn://75.102.12.197/root"},"value":"1","workspaceUpdater":{"stapler-class":"hudson.scm.subversion.UpdateWithCleanUpdater"}}} net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[{"command":"cd common/quoteobj/ver2/\nmake","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"cd webmanager\nmake","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"rm -rf /var/www/manager/*","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"cd webmanager\nmake productioninstall","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"echo \"${BUILD_VERSION_NUMBER}\" > /var/www/manager/cgi-bin/version.txt","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"chmod -R 775 /var/www/manager/*","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"chmod 777 /var/www/manager/cgi-bin/sshTailLog.sh","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}]" at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:903) at net.sf.json.JSONArray._fromString(JSONArray.java:983) at net.sf.json.JSONArray.fromObject(JSONArray.java:141) at net.sf.json.JSONArray.fromObject(JSONArray.java:120) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:884) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:874) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:184) at hudson.model.Project.submit(Project.java:197) at hudson.model.Job.doConfigSubmit(Job.java:977) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:643) 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:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) 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:563) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648) 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:563) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) 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.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:61) 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:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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:636)
    via by Steven Warwick,
  • When the html5-notifier plugin is enabled, you cannot save a job with more than one build step. To reproduce, install the plugin and add a new job with two windows batch file or shell script build steps. If only one is created, it will save, but if two are created, you will see an error like the following: Failed to parse form data. Please report this problem as a bug JSON={"":"","builder":"\"[{\"command\":\"bar\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"cd foo\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}]\"","description":"","hasSlaveAffinity":{"assignedLabelString":"windows&&expander"},"name":"debug_job2","properties":{"hudson-model-ParametersDefinitionProperty":{},"hudson-plugins-batch_task-BatchTaskProperty":{},"stapler-class-bag":"true"},"scm":{"value":"3"}} net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[{"command":"cd bar","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"cd foo","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}]" at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:903) at net.sf.json.JSONArray._fromString(JSONArray.java:983) at net.sf.json.JSONArray.fromObject(JSONArray.java:141) at net.sf.json.JSONArray.fromObject(JSONArray.java:120) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:863) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:853) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:185) at hudson.model.Project.submit(Project.java:197) at hudson.model.Job.doConfigSubmit(Job.java:966) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:643) 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:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) 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.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:61) 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:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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:636) I think the problem is the \" at the start that's inserted there... Workaround is to uninstall the plugin.
    via by Dan Savilonis,
  • Failed to parse form data. Please report this problem as a bug JSON={"":"Web manager","builder":"\"[{\"command\":\"cd common/quoteobj/ver2/\\nmake\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"cd webmanager\\nmake\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"rm -rf /var/www/manager/*\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"cd webmanager\\nmake productioninstall\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"echo \\\"${BUILD_VERSION_NUMBER}\\\" > /var/www/manager/cgi-bin/version.txt\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"chmod -R 775 /var/www/manager/*\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}, {\"command\":\"chmod 777 /var/www/manager/cgi-bin/sshTailLog.sh\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}]\"","description":"Web manager","hasSlaveAffinity":{"assignedLabelString":"master"},"hudson-plugins-chucknorris-CordellWalkerRecorder":{},"hudson-plugins-svn_tag-SvnTagPublisher":{"tagBaseURL":"svn://75.102.12.197/tags/WebManager/${env['BUILD_TAG']}","tagComment":"Tagged by Jenkins svn-tag plugin. Build:${env['BUILD_TAG']}.","tagDeleteComment":"Delete old tag by SvnTag Jenkins plugin."},"hudson-plugins-twitter-TwitterPublisher":{"includeUrl":"(System Default)","onlyOnFailureOrRecovery":"(System Default)"},"logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":"5"},"name":"WebManager","org-jvnet-hudson-tools-versionnumber-VersionNumberBuilder":{"buildsAllTime":"","buildsThisMonth":"","buildsThisYear":"","buildsToday":"","environmentVariableName":"BUILD_VERSION_NUMBER","projectStartDate":"1969-12-31","skipFailedBuilds":false,"useAsBuildDisplayName":false,"versionNumberString":"${BUILD_YEAR}.${BUILD_MONTH}.${BUILD_DAY}.${BUILDS_TODAY}"},"properties":{"hudson-model-ParametersDefinitionProperty":{},"stapler-class-bag":"true"},"scm":{"":"\"[\"2\", \"auto\"]\"","excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","includedRegions":"","locations":{"local":".","remote":"svn://75.102.12.197/root"},"value":"1","workspaceUpdater":{"stapler-class":"hudson.scm.subversion.UpdateWithCleanUpdater"}}} net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[{"command":"cd common/quoteobj/ver2/\nmake","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"cd webmanager\nmake","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"rm -rf /var/www/manager/*","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"cd webmanager\nmake productioninstall","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"echo \"${BUILD_VERSION_NUMBER}\" > /var/www/manager/cgi-bin/version.txt","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"chmod -R 775 /var/www/manager/*","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}, {"command":"chmod 777 /var/www/manager/cgi-bin/sshTailLog.sh","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}]" at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:903) at net.sf.json.JSONArray._fromString(JSONArray.java:983) at net.sf.json.JSONArray.fromObject(JSONArray.java:141) at net.sf.json.JSONArray.fromObject(JSONArray.java:120) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:884) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:874) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:184) at hudson.model.Project.submit(Project.java:197) at hudson.model.Job.doConfigSubmit(Job.java:977) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:643) 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:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) 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:563) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648) 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:563) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) 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.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:61) 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:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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:636)
    via by Steven Warwick,
  • My instance of jenkins appears unable to parse any shell build steps as valid JSON. Clearly, the desired character is present in the string. This started occurring around 1.430 and is still present in 1.438; though it may be a specific problem with a plugin. Failed to parse form data. Please report this problem as a bug JSON={"":"\t","builder":"\"[{\"targets\":\"build\",\"buildFile\":\"\",\"properties\":\"\",\"antOpts\":\"\",\"stapler-class\":\"hudson.tasks.Ant\",\"kind\":\"hudson.tasks.Ant\"}, {\"command\":\"f\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}]\"","description":"\t","disable":{},"hasCustomQuietPeriod":{"quiet_period":"300"},"hudson-tasks-junit-JUnitResultArchiver":{"keepLongStdio":false,"testResults":"tests/unit/build/logs/*-junit.xml"},"hudson-triggers-SCMTrigger":{"scmpoll_spec":"0 */4 * * *"},"logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"7","logrotate_nums":""},"name":"ValEx-trunknz","properties":{"hudson-model-ParametersDefinitionProperty":{},"hudson-plugins-trac-TracProjectProperty":{"tracWebsite":"http://trac.adl.vm/"},"stapler-class-bag":"true"},"scm":{"":"\"[\"3\", \"auto\"]\"","excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","includedRegions":"","locations":{"local":".","remote":"svn://svn.adl.vm/vx/trunk"},"value":"2","workspaceUpdater":{"stapler-class":"hudson.scm.subversion.UpdateWithRevertUpdater"}}} net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[{"targets":"build","buildFile":"","properties":"","antOpts":"","stapler-class":"hudson.tasks.Ant","kind":"hudson.tasks.Ant"}, {"command":"f","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}]" at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:903) at net.sf.json.JSONArray._fromString(JSONArray.java:983) at net.sf.json.JSONArray.fromObject(JSONArray.java:141) at net.sf.json.JSONArray.fromObject(JSONArray.java:120) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:863) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:853) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:185) at hudson.model.Project.submit(Project.java:197) at hudson.model.Job.doConfigSubmit(Job.java:966) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:643) 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:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) 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:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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:636)
    via by Daniel O'Connor,
  • My instance of jenkins appears unable to parse any shell build steps as valid JSON. Clearly, the desired character is present in the string. This started occurring around 1.430 and is still present in 1.438; though it may be a specific problem with a plugin. Failed to parse form data. Please report this problem as a bug JSON={"":"\t","builder":"\"[{\"targets\":\"build\",\"buildFile\":\"\",\"properties\":\"\",\"antOpts\":\"\",\"stapler-class\":\"hudson.tasks.Ant\",\"kind\":\"hudson.tasks.Ant\"}, {\"command\":\"f\",\"stapler-class\":\"hudson.tasks.Shell\",\"kind\":\"hudson.tasks.Shell\"}]\"","description":"\t","disable":{},"hasCustomQuietPeriod":{"quiet_period":"300"},"hudson-tasks-junit-JUnitResultArchiver":{"keepLongStdio":false,"testResults":"tests/unit/build/logs/*-junit.xml"},"hudson-triggers-SCMTrigger":{"scmpoll_spec":"0 */4 * * *"},"logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"7","logrotate_nums":""},"name":"ValEx-trunknz","properties":{"hudson-model-ParametersDefinitionProperty":{},"hudson-plugins-trac-TracProjectProperty":{"tracWebsite":"http://trac.adl.vm/"},"stapler-class-bag":"true"},"scm":{"":"\"[\"3\", \"auto\"]\"","excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","includedRegions":"","locations":{"local":".","remote":"svn://svn.adl.vm/vx/trunk"},"value":"2","workspaceUpdater":{"stapler-class":"hudson.scm.subversion.UpdateWithRevertUpdater"}}} net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[{"targets":"build","buildFile":"","properties":"","antOpts":"","stapler-class":"hudson.tasks.Ant","kind":"hudson.tasks.Ant"}, {"command":"f","stapler-class":"hudson.tasks.Shell","kind":"hudson.tasks.Shell"}]" at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:903) at net.sf.json.JSONArray._fromString(JSONArray.java:983) at net.sf.json.JSONArray.fromObject(JSONArray.java:141) at net.sf.json.JSONArray.fromObject(JSONArray.java:120) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:863) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:853) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:185) at hudson.model.Project.submit(Project.java:197) at hudson.model.Job.doConfigSubmit(Job.java:966) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:643) 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:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) 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:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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:636)
    via by Daniel O'Connor,
  • Hi, I am having one issue while configuring my project. When I mark Publish testing tools result report, Select PHPUnit 3.4, configure and save it. I get the following error Failed to parse form data. Please report this problem as a bug JSON={"":"","builder":{"buildFile":"./scripts/phing/build.xml","kind":"hudson.plugins.phing.PhingBuilder","properties":"","stapler-class":"hudson.plugins.phing.PhingBuilder","targets":"test","useModuleRoot":false},"description":"","displayNameOrNull":"","logrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":"5"},"name":"LoteriaFacil","org-jenkinsci-plugins-xunit-XUnitPublisher":{"thresholds":"\"[{\"unstableThreshold\":\"\",\"unstableNewThreshold\":\"\",\"failureThreshold\":\"\",\"failureNewThreshold\":\"\",\"stapler-class\":\"org.jenkinsci.plugins.xunit.threshold.FailedThreshold\",\"kind\":\"org.jenkinsci.plugins.xunit.threshold.FailedThresholdDescriptor\"}, {\"unstableThreshold\":\"\",\"unstableNewThreshold\":\"\",\"failureThreshold\":\"\",\"failureNewThreshold\":\"\",\"stapler-class\":\"org.jenkinsci.plugins.xunit.threshold.SkippedThreshold\",\"kind\":\"org.jenkinsci.plugins.xunit.threshold.SkippedThresholdDescriptor\"}]\"","tools":{"deleteOutputFiles":true,"faildedIfNotNew":false,"kind":"class com.thalesgroup.dtkit.junit.PHPUnit","pattern":"tests.log/junit.xml","stapler-class":"com.thalesgroup.dtkit.metrics.hudson.model.PHPUnitJunitHudsonTestType","stopProcessingIfError":true}},"properties":{"hudson-model-ParametersDefinitionProperty":{},"stapler-class-bag":"true"},"scm":{"":"\"[\"hudson.plugins.git.util.DefaultBuildChooser\", \"auto\"]\"","authorOrCommitter":false,"branches":{"name":"*/master"},"buildChooser":{"stapler-class":"hudson.plugins.git.util.DefaultBuildChooser"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":false,"userRemoteConfigs":{"name":"","refspec":"","url":"git@git.****.net:****/****.git"},"value":"1","wipeOutWorkspace":false}} net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[{"unstableThreshold":"","unstableNewThreshold":"","failureThreshold":"","failureNewThreshold":"","stapler-class":"org.jenkinsci.plugins.xunit.threshold.FailedThreshold","kind":"org.jenkinsci.plugins.xunit.threshold.FailedThresholdDescriptor"}, {"unstableThreshold":"","unstableNewThreshold":"","failureThreshold":"","failureNewThreshold":"","stapler-class":"org.jenkinsci.plugins.xunit.threshold.SkippedThreshold","kind":"org.jenkinsci.plugins.xunit.threshold.SkippedThresholdDescriptor"}]" at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:903) at net.sf.json.JSONArray._fromString(JSONArray.java:983) at net.sf.json.JSONArray.fromObject(JSONArray.java:141) at net.sf.json.JSONArray.fromObject(JSONArray.java:120) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:884) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:874) at org.jenkinsci.plugins.xunit.XUnitPublisher$XUnitDescriptorPublisher.newInstance(XUnitPublisher.java:410) at org.jenkinsci.plugins.xunit.XUnitPublisher$XUnitDescriptorPublisher.newInstance(XUnitPublisher.java:367) at hudson.util.DescribableList.rebuild(DescribableList.java:154) at hudson.model.Project.submit(Project.java:198) at hudson.model.Job.doConfigSubmit(Job.java:979) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:643) 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:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) 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:563) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648) 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:563) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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.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:61) 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:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:679)
    via by Rafael Tavares,
  • POST http://jenkins.local/$stapler/bound/dc07110c-05b7-4c0c-a767-f43c78b10d3b/render 500 (Internal Server Error) Status Code: 500 Exception: Stacktrace: net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[]" at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:903) at net.sf.json.JSONArray._fromString(JSONArray.java:983) at net.sf.json.JSONArray.fromObject(JSONArray.java:141) at net.sf.json.JSONArray.fromObject(JSONArray.java:120) at org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher.doDispatch(MetaClass.java:431) 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$12.dispatch(MetaClass.java:384) 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:125) 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.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:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Generated by Winstone Servlet Engine v0.9.10 at Mon May 07 02:44:17 PDT 2012
    via by Aaditya Bhatia,
    • net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of "[{"command":"XXX","stapler-class":"hudson.tasks.BatchFile","kind":"hudson.tasks.BatchFile"}, {"command":"XXX","stapler-class":"hudson.tasks.BatchFile","kind":"hudson.tasks.BatchFile"}]" at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:903) at net.sf.json.JSONArray._fromString(JSONArray.java:983) at net.sf.json.JSONArray.fromObject(JSONArray.java:141) at net.sf.json.JSONArray.fromObject(JSONArray.java:120) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:863) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:853) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:185) at hudson.model.Project.submit(Project.java:197) at hudson.model.Job.doConfigSubmit(Job.java:966) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:643) at sun.reflect.GeneratedMethodAccessor450.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) 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.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:61) 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:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,