[JIRA] Created: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
----------------------------------------------------------------------------------------------------------------------------

                 Key: HUDSON-5208
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
             Project: Hudson
          Issue Type: Bug
          Components: email-ext
         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
            Reporter: mwebber
            Assignee: mindless


I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.

Error

Failed to parse form data. Please report this problem as a bug
JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
        at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
        at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
        at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
        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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
        at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
        at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
        at java.lang.Thread.run(Thread.java:619)


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134628#action_134628 ]

mwebber commented on HUDSON-5208:
---------------------------------

The problem is very easy to demonstrate. Just create a new free-style software project, and click "save" without makign any changes to the default configuration. Crash!

> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134630#action_134630 ]

delirii commented on HUDSON-5208:
---------------------------------

I was stuck with the same error.
The easiest workaround is just to revert to the previous version (2.2.1) :
http://download.java.net/maven/2/org/jvnet/hudson/plugins/email-ext/2.2.1/email-ext-2.2.1.hpi

> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Work started: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HUDSON-5208 started by mindless.

> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134632#action_134632 ]

mindless commented on HUDSON-5208:
----------------------------------

ugh.. I did all my testing on Hudson 1.336 and didn't have any problem.  Checking now with current svn to debug this.. there is a javascript error when the page loads.

> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134634#action_134634 ]

mezlight commented on HUDSON-5208:
----------------------------------

Even though you received errors, your changes are saved...not sure if the email will work

> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mindless updated HUDSON-5208:
-----------------------------

    Priority: Critical  (was: Major)

found the cause.. 1 innocent looking line created some whitespace that Hudson's javascript choked on.  Will fix and put out a new release today.

> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>            Priority: Critical
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134636#action_134636 ]

mindless commented on HUDSON-5208:
----------------------------------

It wasn't Hudson 1.336 vs more recent that masked the error during my testing.. you don't get the error if Promoted Builds plugin is also installed; once I disabled that, I also see the error in 1.336.

> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>            Priority: Critical
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134638#action_134638 ]

scm_issue_link commented on HUDSON-5208:
----------------------------------------

Code changed in hudson
User: : mindless
Path:
 trunk/hudson/plugins/email-ext/src/main/resources/hudson/plugins/emailext/ExtendedEmailPublisher/config.jelly
http://fisheye4.cenqua.com/changelog/hudson/?cs=25477
Log:
[FIXED HUDSON-5208] hudson-behavior.js choked on some whitespace!


> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>            Priority: Critical
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

scm_issue_link resolved HUDSON-5208.
------------------------------------

    Resolution: Fixed

> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>            Priority: Critical
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134665#action_134665 ]

xaviou commented on HUDSON-5208:
--------------------------------

Version 2.4 is now documented on wiki but not available for download in http://hudson-ci.org/download/plugins/email-ext/.
Could you make it available?


> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>            Priority: Critical
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134666#action_134666 ]

ashlux commented on HUDSON-5208:
--------------------------------

I think the mirroring might not be happening since it's showing up here https://svn.dev.java.net/svn/maven2-repository/trunk/repository/org/jvnet/hudson/plugins/ but not here http://maven.dyndns.org/2/org/jvnet/hudson/plugins/.

> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>            Priority: Critical
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5208) With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134671#action_134671 ]

mindless commented on HUDSON-5208:
----------------------------------

yes, it was released yesterday without any errors.. kohsuke is checking now on the post-release stuff.

> With email-ext 2.3, saving a job configuration crashes with "Failed to parse form data. Please report this problem as a bug"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5208
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5208
>             Project: Hudson
>          Issue Type: Bug
>          Components: email-ext
>         Environment: Hudson 1.339 and email-ext 2.3 on Linux RHEL5.
>            Reporter: mwebber
>            Assignee: mindless
>            Priority: Critical
>
> I just upgraded to email-ext 2.3. I then go to the configuration page for a job which does not use email-ext, and click "save" (without changing anything). This results in the crash detailed below. Ihave not tried this on a job that does use email-ext.
> Error
> Failed to parse form data. Please report this problem as a bug
> JSON={"":["select","Failure",""],"builder":{"kind":"hudson.tasks.Shell$DescriptorImpl","shell":"date\n${HUDSON_PYTHON_COMMAND} builder/hudson/post-commit.py\necho \"return code from post-commit.py was $?\"\n","stapler-class":"hudson.tasks.Shell"},"customWorkspace":{"directory":"${HUDSON_WORKSPACE_PARENT}/${JOB_NAME}-${EXECUTOR_NUMBER}"},"description":"<p style=\"font-size:120%\">Every subversion commit to the GDA trunk triggers this job.<\/p>\n<p>If the commit was to trunk, then (excluding a few special cases), the \"quick\" test jobs are triggered.<\/p>\n\n\n","hasCustomQuietPeriod":{"quiet_period":"0"},"hasSlaveAffinity":{"slave":"master"},"hudson-plugins-emailext-ExtendedEmailPublisher":false,"hudson-tasks-Mailer":{"mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"[hidden email]","mailer_sendToIndividuals":false},"jobProperty0":{},"jobProperty1":{},"jobProperty2":{"tracWebsite":""},"logrotate":{"logrotate_days":"2","logrotate_nums":"10"},"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":"Subversion.post-commit","project_content_type":"default","project_default_content":"$DEFAULT_CONTENT","project_default_subject":"$DEFAULT_SUBJECT","pseudoRemoteTrigger":{"authToken":"HKE6U1NBGY7KV1HV"},"recipientlist_recipients":"","scm":{"":"auto","doRevert":false,"excludedCommitMessages":"","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":{"local":"","remote":"https://trac.diamond.ac.uk/svn/gda/trunk/builder"},"useUpdate":true,"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: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:94)
> at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
> 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 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 winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
> at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
> at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
> at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]