Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: core
Created: 31/Oct/12 6:44 PM
Description:

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.

Environment: RHEL 6, Jenkins running in stand-alone server mode on localhost
Project: Jenkins
Priority: Major Major
Reporter: Booker Bense
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to