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

Builds fail after upgrade to 1.488, work fine with 1.478

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • RHEL 6, Jenkins running in stand-alone server mode on localhost

      An external job using this command

      export JENKINS_HOME=http://127.0.0.1:8080

      java jar /opt/jenkins/jenkins-data/war/WEB-INF/lib/jenkins-core*.jar testcron /u/sf/bbense/
      bin/synctaylor 2>&1 > /dev/null

      works fine in 1.478, but fails with this long error after upgrading to 1.488.
      Reverting to 1.478 ( and changing file permissions to allow reading the jar file ) resolves the problem.

      <html><head><title>Error 500</title></head>
      <body bgcolor=#fff><h1>Status Code: 500</h1>Exception: java.lang.NoSuchMethodError:
      hudson.model.RunMap.put(Lhudson/model/Run;)Lhudson/model/Run;<br>Stacktrace: <pre>javax.servlet.ServletException:
      java.lang.NoSuchMethodError: hudson.model.RunMap.put(Lhudson/model/Run;)Lhudson/model/Run;
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:616)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)

      All external jobs using this kind of script setup fail with 1.488.

            Unassigned Unassigned
            bbense Booker Bense
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: