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

Tomcat Exception when providing wrongly formatted crontab entry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      This might be just a minor problem, but it should not cause an exception with tomcat. It rather should be handled by SCMTriggers constructor.

      avax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.triggers.SCMTrigger from {"scmpoll_spec":"0* * * *"}
      	org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:616)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      	org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
      	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      	org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
      	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
      	org.kohsuke.stapler.Stapler.service(Stapler.java:162)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      	hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      	hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      	hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      
      root cause 
      

      Don'tknow whether thats the correct component though...

            Unassigned Unassigned
            murks11 Johannes W. Kunze
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: