Details

Description

(This issue is for the Mantis plugin - there is no subcomponent for this yet!)

In Hudson v1.232 as soon as I installed the Mantis plugin v0.4 I am no longer
able to save any Job forms. As soon as I click Save (even without modifying any
of the existing values) I get the following:

Error

Failed to parse form data. Please report this probelm as a bug
JSON={"disable":false,"description":"sdfasdfasdf","scm":{"value":"0"},"name":"C-Gate
Wombat Build"} net.sf.json.JSONException: null object at
net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2498) at
net.sf.json.JSONObject.has(JSONObject.java:1857) at
org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:293) at
hudson.plugins.mantis.MantisProjectProperty$DescriptorImpl.newInstance(MantisProjectProperty.java:94)
at hudson.model.Job.doConfigSubmit(Job.java:824) at
hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:312) at
sun.reflect.GeneratedMethodAccessor253.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103) at
org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at
org.kohsuke.stapler.Stapler.invoke(Stapler.java:440) at
org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:263) at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at
org.kohsuke.stapler.Stapler.invoke(Stapler.java:440) at
org.kohsuke.stapler.Stapler.invoke(Stapler.java:361) at
org.kohsuke.stapler.Stapler.service(Stapler.java:121) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:38) at
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:30) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at
java.lang.Thread.run(Unknown Source)

Activity

Failed to parse form data. Please report this probelm as a bug
JSON={"publisher0":{"latestOnly":false,"excludes":"","artifacts":"DEPLOYMENT/WEBAPPS/com.ait.services.shipping_v1_dev.ear"},"publisher2":{"javadoc_dir":"DEPLOYMENT/WEBAPPS/javadoc","keep_all":false},"builder":{"shell":"rm
-rf `find . -type d -name .svn`\ncd
com.ait.services.shippingENV\n/opt/IBM/SDP70/bin/runAnt-workspace.sh $WORKSPACE
buildAndDeploy","kind":"hudson.tasks.Shell$DescriptorImpl"},"publisher7":{"keepNotePrivate":false},"publisher8":{"min":["10","10","10","10","10","10","10","10"],"limit":"100","unstable":["999","999","999","999","999","999","999","999"],"max":["999","999","999","999","999","999","999","999"],"pattern":["DEPLOYMENT/WEBAPPS/checkstyle.xml","","DEPLOYMENT/WEBAPPS/findbugs.xml","","","","",""],"fauxProjectPath":"","encoding":"default","sourcePathPattern":"com.ait.services.shippingWAR/src"},"publisher9":{"mailer_recipients":"smerical@applied.com
tlarrow@applied.com","mailer_notifyEveryUnstableBuild":true,"mailer_sendToIndividuals":true},"publisher12":{"notifyStart":true,"notifySuspects":false,"strategy":"all","notifyFixers":false,"targets":"autobuild@conference.chat.applied.com"},"publisher11":{"webtestResultsSrc":"com.ait.services.shippingENV/results"},"logrotate":{"logrotate_nums":"","logrotate_days":"180"},"trigger0":{"scmpoll_spec":"*/2
* * * *"},"description":"com.ait.services.shipping for the Dev
environment","name":"shipping-dev-2056.000.000","disable":false,"scm":{"":"3","svn_use_update":false,"value":"2","browser":{"stapler-class":"hudson.scm.browsers.Sventon","repositoryInstance":"ax","url":"http://autobuild.applied.com/viewsvn/"},"loc":[{"location_local":"com.ait.services.shippingENV","location_remote":"file:///opt/repos/ax/services/branches/2056.000.000/com.ait.services.shippingENV"},{"location_local":"com.ait.services.shippingWAR","location_remote":"file:///opt/repos/ax/services/branches/2056.000.000/com.ait.services.shippingWAR"},{"location_local":"com.ait.services.shippingEAR","location_remote":"file:///opt/repos/ax/services/branches/2056.000.000/com.ait.services.shippingEAR"},{"location_local":"Servers","location_remote":"file:///opt/repos/ax/devenv/trunk/Servers"},{"location_local":"com.ait.services.shipping.clientJAVA","location_remote":"file:///opt/repos/ax/services/branches/2056.000.000/com.ait.services.shipping.clientJAVA"}]}}
net.sf.json.JSONException: null object at
net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2498) at
net.sf.json.JSONObject.has(JSONObject.java:1857) at
org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:293) at
hudson.plugins.mantis.MantisProjectProperty$DescriptorImpl.newInstance(MantisProjectProperty.java:94)
at hudson.model.Job.doConfigSubmit(Job.java:824) at
hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:312) 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:103) at
org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at
org.kohsuke.stapler.Stapler.invoke(Stapler.java:440) at
org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:263) at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at
org.kohsuke.stapler.Stapler.invoke(Stapler.java:440) at
org.kohsuke.stapler.Stapler.invoke(Stapler.java:361) at
org.kohsuke.stapler.Stapler.service(Stapler.java:121) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:38) at
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:30) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:52)
at
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:28)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at
hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:42)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:44)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:85) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)

When the mantis plugin is disabled, everything works just fine, when the plugin
is enabled this exception is thrown every time a user tries to change
configuration changes.

skraut
added a comment - 08/Jul/08 9:44 AM I can confirm this issue with the following exception:
Failed to parse form data. Please report this probelm as a bug
JSON={"publisher0":{"latestOnly":false,"excludes":"","artifacts":"DEPLOYMENT/WEBAPPS/com.ait.services.shipping_v1_dev.ear"},"publisher2":{"javadoc_dir":"DEPLOYMENT/WEBAPPS/javadoc","keep_all":false},"builder":{"shell":"rm
-rf `find . -type d -name .svn`\ncd
com.ait.services.shippingENV\n/opt/IBM/SDP70/bin/runAnt-workspace.sh $WORKSPACE
buildAndDeploy","kind":"hudson.tasks.Shell$DescriptorImpl"},"publisher7":{"keepNotePrivate":false},"publisher8":{"min":["10","10","10","10","10","10","10","10"],"limit":"100","unstable":["999","999","999","999","999","999","999","999"],"max":["999","999","999","999","999","999","999","999"],"pattern":["DEPLOYMENT/WEBAPPS/checkstyle.xml","","DEPLOYMENT/WEBAPPS/findbugs.xml","","","","",""],"fauxProjectPath":"","encoding":"default","sourcePathPattern":"com.ait.services.shippingWAR/src"},"publisher9":{"mailer_recipients":"smerical@applied.com
tlarrow@applied.com","mailer_notifyEveryUnstableBuild":true,"mailer_sendToIndividuals":true},"publisher12":{"notifyStart":true,"notifySuspects":false,"strategy":"all","notifyFixers":false,"targets":"autobuild@conference.chat.applied.com"},"publisher11":{"webtestResultsSrc":"com.ait.services.shippingENV/results"},"logrotate":{"logrotate_nums":"","logrotate_days":"180"},"trigger0":{"scmpoll_spec":"*/2
* * * *"},"description":"com.ait.services.shipping for the Dev
environment","name":"shipping-dev-2056.000.000","disable":false,"scm":{"":"3","svn_use_update":false,"value":"2","browser":{"stapler-class":"hudson.scm.browsers.Sventon","repositoryInstance":"ax","url":"http://autobuild.applied.com/viewsvn/"},"loc":[{"location_local":"com.ait.services.shippingENV","location_remote":"file:///opt/repos/ax/services/branches/2056.000.000/com.ait.services.shippingENV"},{"location_local":"com.ait.services.shippingWAR","location_remote":"file:///opt/repos/ax/services/branches/2056.000.000/com.ait.services.shippingWAR"},{"location_local":"com.ait.services.shippingEAR","location_remote":"file:///opt/repos/ax/services/branches/2056.000.000/com.ait.services.shippingEAR"},{"location_local":"Servers","location_remote":"file:///opt/repos/ax/devenv/trunk/Servers"},{"location_local":"com.ait.services.shipping.clientJAVA","location_remote":"file:///opt/repos/ax/services/branches/2056.000.000/com.ait.services.shipping.clientJAVA"}]}}
net.sf.json.JSONException: null object at
net.sf.json.JSONObject.verifyIsNull(JSONObject.java:2498) at
net.sf.json.JSONObject.has(JSONObject.java:1857) at
org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:293) at
hudson.plugins.mantis.MantisProjectProperty$DescriptorImpl.newInstance(MantisProjectProperty.java:94)
at hudson.model.Job.doConfigSubmit(Job.java:824) at
hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:312) 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:103) at
org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at
org.kohsuke.stapler.Stapler.invoke(Stapler.java:440) at
org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:263) at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at
org.kohsuke.stapler.Stapler.invoke(Stapler.java:440) at
org.kohsuke.stapler.Stapler.invoke(Stapler.java:361) at
org.kohsuke.stapler.Stapler.service(Stapler.java:121) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:38) at
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:30) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:52)
at
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:28)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at
hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:42)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:44)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:85) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
When the mantis plugin is disabled, everything works just fine, when the plugin
is enabled this exception is thrown every time a user tries to change
configuration changes.