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

net.sf.json.JSONException: JSONObject["hudson-triggers-TimerTrigger"] is not a JSONObject.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Incomplete
    • Component/s: core
    • Labels:
      None
    • Environment:
      Windows XP, Hudson version - 1.337
    • Similar Issues:

      Description

      Every time when I try to save a new job configuration I get an error:

      Failed to parse form data. Please report this problem as a bug
      JSON={"":"","artifacts":"","blockBuildWhenUpstreamBuilding":false,"builder":{"antOpts":"","buildFile":"","kind":"hudson.tasks.Ant$DescriptorImpl","properties":"","stapler-class<span class="code-quote">":"hudson.tasks.Ant","targets":"build"},"childProjects":"","concurrentBuild":false,"customWorkspace":false,"description":"","directory":"","disable":false,"evenIfUnstable":false,"excludes":"","fingerprint_artifacts":false,"fingerprint_targets":"","hasCustomQuietPeriod":false,"hasCustomScmCheckoutRetryCount":false,"hudson-tasks-ArtifactArchiver":false,"hudson-tasks-BuildTrigger":false,"hudson-tasks-Fingerprinter":true,"hudson-tasks-JavadocArchiver":false,"hudson-tasks-Mailer":true,"hudson-tasks-junit-JUnitResultArchiver":false,"hudson-tasks-test-AggregatedTestResultPublisher":false,"hudson-triggers-SCMTrigger":false,"hudson-triggers-TimerTrigger":true,"javadoc_dir":"","jobs":"","keepDependencies":false,"keep_all":false,"latestOnly":false,"logrotate":false,"logrotate_days":"","logrotate_nums":"","mailer_notifyEveryUnstableBuild":true,"mailer_recipients":"volodymyr_shynkliar@epam.com","mailer_sendToIndividuals":false,"name":"GC","parameterized":false,"pseudoUpstreamTrigger":false,"quiet_period":"5","scm":{"":"auto","excludedRegions":"","excludedRevprop":"","excludedUsers":"","locations":[{"local":"gc","remote":"https://svnlviv.epam.com/sap-supp"},{"local":"gc-csc2core","remote":"https://svnlviv.epam.com/sap-supp"}],"useUpdate":true,"value":"2"},"scmCheckoutRetryCount":"0","scmpoll_spec":"","specify":false,"testResults":"","timer_spec":"0 2 * * *","upstreamProjects":""}
      
      net.sf.json.JSONException: JSONObject["hudson-triggers-TimerTrigger"] is not a JSONObject.
      	at net.sf.json.JSONObject.getJSONObject(JSONObject.java:1734)
      	at hudson.model.AbstractProject.buildDescribable(AbstractProject.java:1420)
      	at hudson.model.AbstractProject.submit(AbstractProject.java:1397)
      	at hudson.model.Project.submit(Project.java:188)
      	at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:97)
      	at hudson.model.Job.doConfigSubmit(Job.java:967)
      	at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:519)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.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:185)
      	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
      	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
      	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:180)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:408)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      	at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      	at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      	at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      	at java.lang.Thread.run(Unknown Source)
      

        Attachments

          Activity

          Hide
          mindless Alan Harder added a comment -

          Please post steps to reproduce this issue in a recent Hudson release, thanks.

          Show
          mindless Alan Harder added a comment - Please post steps to reproduce this issue in a recent Hudson release, thanks.
          Hide
          evernat evernat added a comment -

          No response for a year, so closing as incomplete.
          Please open again if needed.

          Show
          evernat evernat added a comment - No response for a year, so closing as incomplete. Please open again if needed.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vshynkliar vshynkliar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: