[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title Kanstantsin Shautsou commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Tony Finn what you describe sounds like other issue that already fixed. Chin Boon Oh without knowing what/when/who inserted null in triggers it impossible to reproduce. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title Tony Finn commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Observed this occur on 1.620 with a Build Flow job. We didn't restart but it did prevent SCM polling jobs from running. Don't have any more useful log messages because we didn't have the config history plugin and the messages were the same as in this thread. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title gene lzr commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException I do have Job Config History installed but I already deleted the project I'm not sure if config history is kept after deletion. Let me ask this though. Why does a single project with incorrect config.xml prevent other projects from being scheduled. This seems very wrong to me. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title Daniel Beck commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Hm. Weird. Difficult to say how a null trigger got in there. Do you have the Job Config History Plugin that could show you information on how the job config was changed to add that null/ element? You should be able to fix this by changing the XML to triggers/ instead of what that element is currently while Jenkins is stopped. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title gene lzr commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Actually, downgrading to 1.615 didn't help. I still observe the problem. Ran the script and it printed a name of a disabled Jenkins job. I tried saving it today and got an error page (with evil Jenkins). What do I do now? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title gene lzr edited a comment on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Actually,downgradingto1.615didn'thelp.Istillobservetheproblem.RanthescriptanditprintedanameofadisabledJenkinsjob.Itriedsavingittodayandgotanerrorpage(withevilJenkins).WhatdoIdonow? config.xml:{code:xml}?xmlversion='1.0'encoding='UTF-8'?projectactions/description/descriptionkeepDependenciesfalse/keepDependenciesproperties/scmclass=hudson.scm.NullSCM/canRoamtrue/canRoamdisabledfalse/disabledblockBuildWhenDownstreamBuildingfalse/blockBuildWhenDownstreamBuildingblockBuildWhenUpstreamBuildingfalse/blockBuildWhenUpstreamBuildingtriggersnull//triggersconcurrentBuildfalse/concurrentBuildbuildershudson.tasks.Shellcommandsudo-unobodyscript.shpath/command/hudson.tasks.Shell/builderspublishershudson.tasks.Mailerplugin=mailer@1.15recipientsops-al...@example.com/recipientsdontNotifyEveryUnstableBuildfalse/dontNotifyEveryUnstableBuildsendToIndividualsfalse/sendToIndividuals/hudson.tasks.Mailer/publishersbuildWrappers//project{code}WhenItriedtore-savethatprojectIgotthisexception:{code}javax.servlet.ServletException:java.lang.NullPointerException atorg.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) atorg.kohsuke.stapler.Stapler.invoke(Stapler.java:876) atorg.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) atorg.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) atorg.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) atorg.kohsuke.stapler.Stapler.invoke(Stapler.java:876) atorg.kohsuke.stapler.Stapler.invoke(Stapler.java:649) atorg.kohsuke.stapler.Stapler.service(Stapler.java:238) atjavax.servlet.http.HttpServlet.service(HttpServlet.java:848) atorg.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) athudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123) atcom.cloudbees.jenkins.support.slowrequest.SlowRequestFilter.doFilter(SlowRequestFilter.java:37) athudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120) atjenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:117) athudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120) athudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114) atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) athudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) athudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atjenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atorg.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atorg.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atorg.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atjenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atorg.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title gene lzr edited a comment on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Actually,downgradingto1.615didn'thelp.Istillobservetheproblem.Ranthescriptanditprintedanameofa disabled Jenkinsjob.Itriedsavingittodayandgotanerrorpage(withevilJenkins).WhatdoIdonow?config.xml:{code:xml}?xmlversion='1.0'encoding='UTF-8'?projectactions/description/descriptionkeepDependenciesfalse/keepDependenciesproperties/scmclass=hudson.scm.NullSCM/canRoamtrue/canRoamdisabledfalse/disabledblockBuildWhenDownstreamBuildingfalse/blockBuildWhenDownstreamBuildingblockBuildWhenUpstreamBuildingfalse/blockBuildWhenUpstreamBuildingtriggersnull//triggersconcurrentBuildfalse/concurrentBuildbuildershudson.tasks.Shellcommandsudo-unobodyscript.shpath/command/hudson.tasks.Shell/builderspublishershudson.tasks.Mailerplugin=mailer@1.15recipientsops-al...@example.com/recipientsdontNotifyEveryUnstableBuildfalse/dontNotifyEveryUnstableBuildsendToIndividualsfalse/sendToIndividuals/hudson.tasks.Mailer/publishersbuildWrappers//project{code}WhenItriedtore-savethatprojectIgotthisexception:{code}javax.servlet.ServletException:java.lang.NullPointerException atorg.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) atorg.kohsuke.stapler.Stapler.invoke(Stapler.java:876) atorg.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) atorg.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) atorg.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) atorg.kohsuke.stapler.Stapler.invoke(Stapler.java:876) atorg.kohsuke.stapler.Stapler.invoke(Stapler.java:649) atorg.kohsuke.stapler.Stapler.service(Stapler.java:238) atjavax.servlet.http.HttpServlet.service(HttpServlet.java:848) atorg.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) athudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123) atcom.cloudbees.jenkins.support.slowrequest.SlowRequestFilter.doFilter(SlowRequestFilter.java:37) athudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120) atjenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:117) athudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120) athudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114) atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) athudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) athudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atjenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atorg.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atorg.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atorg.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atjenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) atorg.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title Daniel Beck commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Sorry about that. Please try: Jenkins.instance.getAllItems(AbstractProject).each { p - try { p.getTriggers() } catch (NullPointerException npe) { println p.fullName } } return Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title Chin Boon Oh commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Hi Daniel Beck, i tried the command but it is not displaying anything. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title Daniel Beck commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException If you currently experience this problem, please run this script in the Jenkins Script Console: Jenkins.instance.getAllItems(AbstractProject).each { p - try { p.triggers() } catch (NullPointerException npe) { println p.fullName } } return Please attach the config.xml files of the listed projects to this issue. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title gene lzr commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException This is a horrible bug. Some of the crons stop running, without any notification (unless you constantly monitor Jenkins logs). Downgrading to 1.615 worked but it's a huge shame on Jenkins developers to roll out releases with such serious bugs. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title Phil Dickson updated an issue Jenkins / JENKINS-29078 hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Change By: Phil Dickson Priority: Minor Major Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title Phil Dickson commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException None of our cron scheduled tasks are running! This seems pretty serious. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title Phil Dickson commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Looks like JENKINS-27549 is the probable cause Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title Phil Dickson commented on JENKINS-29078 Re: hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Downgrading to 1.615 fixes things for us. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-29078) hudson.triggers.Trigger$Cron doRun throwing a NullPointerException
Title: Message Title Chin Boon Oh created an issue Jenkins / JENKINS-29078 hudson.triggers.Trigger$Cron doRun throwing a NullPointerException Issue Type: Bug Assignee: Unassigned Components: core Created: 25/Jun/15 9:41 AM Environment: 1.617 RHEL Priority: Minor Reporter: Chin Boon Oh Hi, it seems that Jenkins is throwing a NullPointerException on the below in the background logs but i can't seem to tell why. Jun 25, 2015 5:38:00 PM hudson.triggers.Trigger$Cron doRun WARNING: Cron thread throw an exception java.lang.NullPointerException at hudson.model.Descriptor.toMap(Descriptor.java:880) at hudson.util.DescribableList.toMap(DescribableList.java:151) at hudson.model.AbstractProject.getTriggers(AbstractProject.java:1615) at hudson.triggers.Trigger.checkTriggers(Trigger.java:259) at hudson.triggers.Trigger$Cron.doRun(Trigger.java:215) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at