• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      If I enter the schedule in an wrong format, I get an exception instead of an
      error message:

      javax.servlet.ServletException: antlr.ANTLRException: Invalid input: "20 1 * * *
      1 2": line 1:11: expecting EOF, found ' '
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:269)
      org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:198)
      org.kohsuke.stapler.Stapler.service(Stapler.java:72)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      javax.servlet.ServletException: antlr.ANTLRException: Invalid input: "20 1 * * *
      1 2": line 1:11: expecting EOF, found ' '
      hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:500)
      hudson.model.Project.doConfigSubmit(Project.java:173)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:50)
      org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:63)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
      org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:260)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:198)
      org.kohsuke.stapler.Stapler.service(Stapler.java:72)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

          [JENKINS-383] Wrong Schedule Format leeds to exception

          troggan created issue -

          Fixed in 1.89.

          Kohsuke Kawaguchi added a comment - Fixed in 1.89.
          Kohsuke Kawaguchi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: www [ 15484 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 130456 ] New: JNJira + In-Review [ 199831 ]

            Unassigned Unassigned
            troggan troggan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: