I tried the same after posting to the mailing list, didn't help :( It actually went back to the same thing where I wasn't able to save the job :(
On Tuesday, 22 October 2013 18:09:51 UTC+4, Daniel Beck wrote: > > I think we had this just yesterday, try removing and adding the email-ext > publisher, then make sure to add a trigger (e.g. 'Success'). > > On 22.10.2013, at 14:59, mubbashir <[email protected] <javascript:>> > wrote: > > > Hi guys, > > > > Today I had updated jenkins and it's plugin, after the update I am > getting some weird exception as soon as jenkins is done with scm This will > only happen if the build script of a job is updated. > > > > After updating the build script I wasn't able to save the job (see below > the exception 1 ) > > - I open the advance option of the editable email and there were couple > of empty values in the triggers advance option > > - I deleted all the triggers, added new triggers > > - I was able to save the the job > > - On executing the build I got null pointer exception (see below the > exception 2 , couldn't find the complete stack trace) > > > > I removed the editable email notifications from post build actions run > the build it worked fine. > > > > I got the same null pointer exception on adding the editable email > notification again. > > > > Any thoughts? > > > > _____ > > > > > > Exception 1 (unable to save the job): > > > > Oops! > > > > A problem occurred while processing the request. Please check our bug > tracker to see if a similar problem has already been reported. If it is > already reported, please vote and put a comment on it to let us gauge the > impact of the problem. If you think this is a new issue, please file a new > issue. When you file an issue, make sure to add the entire stack trace, > along with the version of Jenkins and relevant plugins. The users list > might be also useful in understanding what has happened. > > > > Stack trace > > > > javax.servlet.ServletException: java.lang.RuntimeException: Failed to > instantiate class hudson.plugins.emailext.ExtendedEmailPublisher from > {"project_recipient_list":"$DEFAULT_RECIPIENTS","project_replyto":"$DEFAULT_RECIPIENTS","project_content_type":"default","project_default_subject":"$DEFAULT_SUBJECT","project_default_content":"$DEFAULT_CONTENT","project_attachments":"","project_attach_buildlog":"0","project_presend_script":"","project_save_output":false,"project_triggers":[{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""}],"stapler-class":"hudson.plugins.emailext.ExtendedEmailPublisher","kind":"hudson.plugins.emailext.ExtendedEmailPublisher"} > > > > at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:777) > > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841) > > at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) > > at > org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) > > > at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:727) > > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841) > > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:630) > > at org.kohsuke.stapler.Stapler.service(Stapler.java:224) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) > > > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > > > > at > hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) > > at > hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58) > > at > hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99) > > at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > > > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > > > > at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > > > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > > > > 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 > jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) > > > > 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:174) > > > > at > hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) > > > at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64) > > 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:67) > > > > at > hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) > > > at > hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) > > at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > > > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > > > > at > org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) > > > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > > > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > > > > at > hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) > > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > > > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > > > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) > > > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) > > > > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) > > > > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) > > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > > > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > > > > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) > > at > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) > > > > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > > > > at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) > > > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > > > > at java.lang.Thread.run(Thread.java:724) > > Caused by: java.lang.RuntimeException: Failed to instantiate class > hudson.plugins.emailext.ExtendedEmailPublisher from > {"project_recipient_list":"$DEFAULT_RECIPIENTS","project_replyto":"$DEFAULT_RECIPIENTS","project_content_type":"default","project_default_subject":"$DEFAULT_SUBJECT","project_default_content":"$DEFAULT_CONTENT","project_attachments":"","project_attach_buildlog":"0","project_presend_script":"","project_save_output":false,"project_triggers":[{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""}],"stapler-class":"hudson.plugins.emailext.ExtendedEmailPublisher","kind":"hudson.plugins.emailext.ExtendedEmailPublisher"} > > > > at hudson.model.Descriptor.newInstance(Descriptor.java:578) > > at > hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:916) > > at > hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:901) > > at hudson.util.DescribableList.rebuildHetero(DescribableList.java:203) > > at hudson.model.Project.submit(Project.java:208) > > at hudson.model.Job.doConfigSubmit(Job.java:1136) > > at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:787) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > > > at java.lang.reflect.Method.invoke(Method.java:606) > > at > org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297) > > at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160) > > at > org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:95) > > > at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) > > at > org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) > > > at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:727) > > ... 61 more > > Caused by: java.lang.IllegalArgumentException: Failed to instantiate > class hudson.plugins.emailext.ExtendedEmailPublisher from > {"project_recipient_list":"$DEFAULT_RECIPIENTS","project_replyto":"$DEFAULT_RECIPIENTS","project_content_type":"default","project_default_subject":"$DEFAULT_SUBJECT","project_default_content":"$DEFAULT_CONTENT","project_attachments":"","project_attach_buildlog":"0","project_presend_script":"","project_save_output":false,"project_triggers":[{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""}],"stapler-class":"hudson.plugins.emailext.ExtendedEmailPublisher","kind":"hudson.plugins.emailext.ExtendedEmailPublisher"} > > > > at > org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:589) > > at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:400) > > at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:396) > > at hudson.model.Descriptor.newInstance(Descriptor.java:569) > > ... 77 more > > Caused by: java.lang.IllegalArgumentException: Failed to convert the > project_triggers parameter of the constructor public > hudson.plugins.emailext.ExtendedEmailPublisher(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,int,java.lang.String,boolean,java.util.List,hudson.plugins.emailext.MatrixTriggerMode) > > > > at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:686) > > at org.kohsuke.stapler.RequestImpl.access$100(RequestImpl.java:81) > > at > org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:587) > > ... 80 more > > Caused by: java.lang.IllegalArgumentException: Failed to instantiate > class hudson.plugins.emailext.plugins.EmailTrigger from > {"stapler-class":"","kind":""} > > at > org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:589) > > at > org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:634) > > at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:400) > > at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:684) > > ... 82 more > > Caused by: java.lang.IllegalArgumentException: Class is specified in > JSON, but no such class found in classLoader > hudson.PluginManager$UberClassLoader > > at > org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:583) > > ... 85 more > > Caused by: java.lang.ClassNotFoundException: > > at > hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:985) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > > at > org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:578) > > ... 85 more > > > > > > > > Exception 2 (unable to execute the job) > > > > WARNING: Publisher hudson.plugins.emailext.ExtendedEmailPublisher > aborted due to exception > > > > java.lang.NullPointerException > > > > at > hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:243) > > > > > > at > hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:232) > > > > > > at > hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) > > > > at > hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781) > > > > > > at > hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753) > > > > > > at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) > > > > at hudson.model.Run.execute(Run.java:1710) > > > > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > > > > at > hudson.model.ResourceController.execute(ResourceController.java:88) > > > > at hudson.model.Executor.run(Executor.java:230) > > > > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "Jenkins Users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
