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

"Failed to parse form data" when saving a config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • core
    • None
    • Linux RHEL5 64bit, apache-tomcat-6.0.18

      Installed build 1.339 and when saving a configuration for any project (new or existing), receive the following:

      Error

      Failed to parse form data. Please report this problem as a bug
      JSON={"":["select","Failure"],"builder":

      {"antName":"apache-ant-1.7.1","antOpts":"","buildFile":"","kind":"hudson.tasks.Ant$DescriptorImpl","properties":"","stapler-class":"hudson.tasks.Ant","targets":"jar"}

      ,"crumb":"0e60bfc7f612fec9395e287fd17bbbc3","description":"Sample project to demonstrate a project configured to extract code from a StarTeam repository and run a build.","hasSlaveAffinity":

      {"slave":"hudson-java.cm"}

      ,"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-plugins-emotional_hudson-EmotionalHudsonPublisher":{},"hudson-tasks-ArtifactArchiver":

      {"artifacts":"dist/*.jar","excludes":"","latestOnly":false}

      ,"jdk":"SunJDK1.6.0_17","jobProperty0":{"useProjectSecurity":{"":"","data":{"anonymous":{"hudson.model.Item.Build":false,"hudson.model.Item.Configure":false,"hudson.model.Item.Delete":false,"hudson.model.Item.Read":false,"hudson.model.Item.Workspace":false,"hudson.model.Run.Delete":false,"hudson.model.Run.Update":false}}}},"jobProperty1":{},"mailer_Failure_body":"$PROJECT_DEFAULT_CONTENT","mailer_Failure_configured":"true","mailer_Failure_includeCulprits":false,"mailer_Failure_recipientList":"","mailer_Failure_sendToDevelopers":true,"mailer_Failure_sendToRecipientList":true,"mailer_Failure_subject":"$PROJECT_DEFAULT_SUBJECT","mailer_Fixed_body":"$PROJECT_DEFAULT_CONTENT","mailer_Fixed_configured":"false","mailer_Fixed_includeCulprits":false,"mailer_Fixed_recipientList":"","mailer_Fixed_sendToDevelopers":true,"mailer_Fixed_sendToRecipientList":true,"mailer_Fixed_subject":"$PROJECT_DEFAULT_SUBJECT","mailer_Still-Failing_body":"$PROJECT_DEFAULT_CONTENT","mailer_Still-Failing_configured":"false","mailer_Still-Failing_includeCulprits":false,"mailer_Still-Failing_recipientList":"","mailer_Still-Failing_sendToDevelopers":true,"mailer_Still-Failing_sendToRecipientList":false,"mailer_Still-Failing_subject":"$PROJECT_DEFAULT_SUBJECT","mailer_Still-Unstable_body":"$PROJECT_DEFAULT_CONTENT","mailer_Still-Unstable_configured":"false","mailer_Still-Unstable_includeCulprits":false,"mailer_Still-Unstable_recipientList":"","mailer_Still-Unstable_sendToDevelopers":true,"mailer_Still-Unstable_sendToRecipientList":false,"mailer_Still-Unstable_subject":"$PROJECT_DEFAULT_SUBJECT","mailer_Success_body":"$PROJECT_DEFAULT_CONTENT","mailer_Success_configured":"false","mailer_Success_includeCulprits":false,"mailer_Success_recipientList":"","mailer_Success_sendToDevelopers":true,"mailer_Success_sendToRecipientList":false,"mailer_Success_subject":"$PROJECT_DEFAULT_SUBJECT","mailer_Unstable_body":"$PROJECT_DEFAULT_CONTENT","mailer_Unstable_configured":"false","mailer_Unstable_includeCulprits":false,"mailer_Unstable_recipientList":"","mailer_Unstable_sendToDevelopers":true,"mailer_Unstable_sendToRecipientList":true,"mailer_Unstable_subject":"$PROJECT_DEFAULT_SUBJECT","name":"Sample_StarTeam_Project","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","recipientlist_recipients":"","scm":{"aFoldername":"CM/source/apps/stCreateProject","aHostname":"cmstarteam","aPassword":"Password","aPort":"49201","aProjectname":"CM","aUsername":"hudson-build","aViewname":"CM","value":"2"}}

      net.sf.json.JSONException: JSONObject["hudson-plugins-emailext-ExtendedEmailPublisher"] is not a JSONObject.
      at net.sf.json.JSONObject.getJSONObject(JSONObject.java:1734)
      at hudson.util.DescribableList.rebuild(DescribableList.java:139)
      at hudson.model.Project.submit(Project.java:195)
      at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:97)
      at hudson.model.Job.doConfigSubmit(Job.java:967)
      at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:527)
      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:185)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:180)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:408)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      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:78)
      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:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      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:286)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)

      Page generated: Jan 8, 2010 9:09:40 PMHudson ver. 1.339

            Unassigned Unassigned
            dsilk01 dsilk01
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: