[HAP-223] On doing a release promotion we get a 500 error Created: 09/Aug/11  Updated: 11/Aug/11  Resolved: 11/Aug/11

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: None
Affects Version/s: 2.0.3
Fix Version/s: 2.0.4

Type: Bug Priority: Blocker
Reporter: Paul Grove Assignee: Yossi Shaul
Resolution: Fixed Votes: 1
Labels: None
Environment:

About Jenkins 1.424

Jenkins is a community-developed open-source continuous integration server.

Jenkins depends on the following 3rd party libraries.

Name
Maven ID
License
Jenkins war org.jenkins-ci.main:jenkins-war:1.424 The MIT license
args4j args4j:args4j:2.0.16 MIT License
Acegi Security Core org.acegisecurity:acegi-security:1.0.5 The Apache Software License, Version 2.0
oro oro:oro:2.0.8 The Apache Software License, Version 2.0
txw2 com.sun.xml.txw2:txw2:20070624 CDDL
StAX API stax:stax-api:1.0.1 The Apache Software License, Version 2.0
jinterop-proxy org.kohsuke.jinterop:jinterop-proxy:1.1 MIT license
mail javax.mail:mail:1.4 CDDL
Ganymed SSH2 for Java org.jvnet.hudson:trilead-ssh2:build212-hudson-5 BSD style license
Jenkins core org.jenkins-ci.main:jenkins-core:1.424 The MIT license
commons-jelly-tags-xml commons-jelly:commons-jelly-tags-xml:1.1 The Apache Software License, Version 2.0
CodeMirror library from http://codemirror.net/ org.kohsuke.stapler:stapler-adjunct-codemirror:1.1 MIT License
Spring Framework: DAO org.springframework:spring-dao:1.2.9 The Apache Software License, Version 2.0
CSS Parser net.sourceforge.cssparser:cssparser:0.9.5 GNU Lesser General Public License
JLine jline:jline:0.9.94 BSD
Stapler Groovy module org.kohsuke.stapler:stapler-groovy:1.172 2-clause BSD license
Spring Framework: Context org.springframework:spring-context:2.5 The Apache Software License, Version 2.0
HttpClient commons-httpclient:commons-httpclient:3.1 Apache License
winp org.jvnet.winp:winp:1.14 MIT license
SSH CLI client authenticator org.jenkins-ci.modules:ssh-cli-auth:1.1 MIT License
libzfs-java org.jvnet.libzfs:libzfs:0.5 COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
Embeddable daemonization library com.sun.akuma:akuma:1.4 MIT license
jcommon jfree:jcommon:1.0.12 GNU Lesser General Public Licence
windows-remote-command org.jenkins-ci:windows-remote-command:1.3 MIT License
log4j log4j:log4j:1.2.9 The Apache Software License, Version 2.0
org.apache.tools.ant org.apache.ant:ant:1.8.0 The Apache Software License, Version 2.0
Spring Framework: Beans org.springframework:spring-beans:2.5 The Apache Software License, Version 2.0
Commons IO commons-io:commons-io:1.4 The Apache Software License, Version 2.0
JmDNS org.jenkins-ci:jmdns:3.4.0-jenkins-2 The Apache Software License, Version 2.0
Legion of the Bouncy Castle Java Cryptography APIs bouncycastle:bcprov-jdk15:140 Bouncy Castle License
Commons JEXL org.jvnet.hudson:commons-jexl:1.1-hudson-20090508 The Apache Software License, Version 2.0
commons-jelly-tags-fmt commons-jelly:commons-jelly-tags-fmt:1.0 The Apache Software License, Version 2.0
Commons Lang commons-lang:commons-lang:2.4 The Apache Software License, Version 2.0
Commons Codec commons-codec:commons-codec:1.4 The Apache Software License, Version 2.0
Timeline component at http://www.simile-widgets.org/timeline/ org.kohsuke.stapler:stapler-adjunct-timeline:1.3 BSD License
SezPoz Library net.java.sezpoz:sezpoz:1.9 CDDL
jstl javax.servlet:jstl:1.1.0 CDDL
Logging commons-logging:commons-logging:1.1 The Apache Software License, Version 2.0
Localizer org.jvnet.localizer:localizer:1.10 MIT License
Digester commons-digester:commons-digester:1.7 The Apache Software License, Version 2.0
ezmorph net.sf.ezmorph:ezmorph:1.0.3 The Apache Software License, Version 2.0
HtmlUnit Core JS org.jvnet.hudson:htmlunit-core-js:2.6-hudson-1 Mozilla Public License version 1.1
JTidy org.jvnet.hudson:jtidy:4aug2000r7-dev-hudson-1 Java HTML Tidy License
commons-jelly org.jenkins-ci:commons-jelly:1.1-jenkins-20110627 The Apache Software License, Version 2.0
Jenkins CLI org.jenkins-ci.main:cli:1.424 The MIT license
Woodstox org.codehaus.woodstox:wstx-asl:3.2.7 The Apache Software License, Version 2.0
JNA-POSIX org.jruby.ext.posix:jna-posix:1.0.3 GNU Lesser General Public License Version 2.1
Utility around Java Crypto API org.jenkins-ci:crypto-util:1.1 MIT License
Discovery commons-discovery:commons-discovery:0.4 The Apache Software License, Version 2.0
Spring Framework: AOP org.springframework:spring-aop:2.5 The Apache Software License, Version 2.0
Groovy org.codehaus.groovy:groovy-all:1.6.0 The Apache Software License, Version 2.0
MXP1: Xml Pull Parser 3rd Edition (XPP3) xpp3:xpp3_min:1.1.4c Indiana University Extreme! Lab Software License, vesion 1.1.1
Public Domain
Custom Acess Modifier annotations org.kohsuke:access-modifier-annotation:1.0 MIT License
Commons BeanUtils commons-beanutils:commons-beanutils:1.8.0 The Apache Software License, Version 2.0
PuTTY support for Trilead SSH2 library org.kohsuke:trilead-putty-extension:1.0 MIT License
annotation-indexer org.jvnet.hudson:annotation-indexer:1.2 MIT License
embedded_su for Java com.sun.solaris:embedded_su4j:1.1 MIT license
Pure Java - COM bridge org.kohsuke.jinterop:j-interop:2.0.6-kohsuke-1 LGPL v3
jaxen jaxen:jaxen:1.1-beta-11 BSD License
Stapler JRebel module org.kohsuke.stapler:stapler-jrebel:1.172 2-clause BSD license
avalon-framework avalon-framework:avalon-framework:4.1.3 The Apache Software License, Version 2.0
Type arithmetic library for Java5 org.jvnet:tiger-types:1.3 CDDL
Commons FileUpload commons-fileupload:commons-fileupload:1.2.1 The Apache Software License, Version 2.0
Spring Framework: Core org.springframework:spring-core:2.5 The Apache Software License, Version 2.0
HtmlUnit org.jenkins-ci:htmlunit:2.6-jenkins-4 Apache License, Version 2.0
Simple API for CSS org.w3c.css:sac:1.3 The W3C Software License
Xalan Java xalan:xalan:2.7.1 The Apache Software License, Version 2.0
Stapler org.kohsuke.stapler:stapler:1.172 2-clause BSD license
Spring Framework: JDBC org.springframework:spring-jdbc:1.2.9 The Apache Software License, Version 2.0
Robust HTTP client library org.jvnet.robust-http-client:robust-http-client:1.2 MIT license
json-lib org.kohsuke.stapler:json-lib:2.1-rev7 The Apache Software License, Version 2.0
AOP alliance aopalliance:aopalliance:1.0 Public Domain
ASM Tree asm:asm-tree:2.2.3 BSD License
Stapler Jelly module org.kohsuke.stapler:stapler-jelly:1.172 2-clause BSD license
jfreechart jfree:jfreechart:1.0.9 GNU Lesser General Public Licence
dom4j org.jvnet.hudson.dom4j:dom4j:1.6.1-hudson-3 BSD License
commons-jelly-tags-define org.jvnet.hudson:commons-jelly-tags-define:1.0.1-hudson-20071021 The Apache Software License, Version 2.0
Java Native Access net.java.dev.jna:jna:3.3.0-jenkins-2 LGPL 2.1
Guava (Google Common Libraries) com.google.guava:guava:r06 The Apache Software License, Version 2.0
memory-monitor org.jenkins-ci:memory-monitor:1.5 MIT License
jCIFS org.samba.jcifs:jcifs:1.3.14-kohsuke-1 GNU Lesser General Public License, version 2.1
XStream Core org.jvnet.hudson:xstream:1.3.1-hudson-8 BSD style
AntLR antlr:antlr:2.7.6 BSD License
Spring Framework: Web org.springframework:spring-web:2.5 The Apache Software License, Version 2.0
Xalan Java Serializer xalan:serializer:2.7.1 The Apache Software License, Version 2.0
Collections commons-collections:commons-collections:3.2 The Apache Software License, Version 2.0
ASM Core asm:asm:2.2.3 BSD License
Xerces2 Java Parser xerces:xercesImpl:2.9.1 The Apache Software License, Version 2.0
logkit logkit:logkit:1.0.1 The Apache Software License, Version 2.0
Pure Java - COM bridge org.kohsuke.jinterop:j-interopdeps:2.0.6-kohsuke-1 LGPL v3
Neko HTML net.sourceforge.nekohtml:nekohtml:1.9.13 The Apache Software License, Version 2.0
WMI for j-interop org.jenkins-ci:jinterop-wmi:1.1 MIT License
Winstone org.jenkins-ci:winstone:0.9.10-jenkins-26 GNU Lesser General Public License version 2.1
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
Instance Identity org.jenkins-ci.modules:instance-identity:1.1 MIT License
ASM Commons asm:asm-commons:2.2.3 BSD License
ant-launcher org.apache.ant:ant-launcher:1.8.0 The Apache Software License, Version 2.0
MXP1: Xml Pull Parser 3rd Edition (XPP3) xpp3:xpp3:1.1.4c Indiana University Extreme! Lab Software License, vesion 1.1.1
Public Domain
Apache Software License, version 1.1
activation org.jvnet.hudson:activation:1.1.1-hudson-1 CDDL
Bridge method injection annotations com.infradna.tool:bridge-method-annotation:1.4 MIT License
Jenkins remoting layer org.jenkins-ci.main:remoting:2.4 The MIT license
Java binding for libpam.so org.jvnet.libpam4j:libpam4j:1.4 The MIT license
init org.jvnet.hudson:task-reactor:1.2 MIT License


Issue Links:
Trigger

 Description   

On doing a release promotion we get a 500 error

job/112-WE-bir-ibank-we-deployment-release-R1/54/promote/submit
java.lang.reflect.InvocationTargetException
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:282)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:374)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:374)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
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.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
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.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.ja
va:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
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 hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
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)
Caused by: java.lang.NoSuchMethodError: hudson.model.TaskThread$ListenerAndText.forMemory(Lhudson/model/TaskThread;)Lhud
son/model/TaskThread$ListenerAndText;
at org.jfrog.hudson.release.PromoteBuildAction$PromoteWorkerThread.<init>(PromoteBuildAction.java:182)
at org.jfrog.hudson.release.PromoteBuildAction.doSubmit(PromoteBuildAction.java:156)
... 67 more

[Winstone 2011/08/09 09:32:33] - Untrapped Error in Servlet
javax.servlet.ServletException: java.lang.NoSuchMethodError: hudson.model.TaskThread$ListenerAndText.forMemory(Lhudson/m
odel/TaskThread;)Lhudson/model/TaskThread$ListenerAndText;
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:603)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:374)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:374)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:234)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
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.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
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.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.ja
va:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
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 hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
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)
Caused by: java.lang.NoSuchMethodError: hudson.model.TaskThread$ListenerAndText.forMemory(Lhudson/model/TaskThread;)Lhud
son/model/TaskThread$ListenerAndText;
at org.jfrog.hudson.release.PromoteBuildAction$PromoteWorkerThread.<init>(PromoteBuildAction.java:182)
at org.jfrog.hudson.release.PromoteBuildAction.doSubmit(PromoteBuildAction.java:156)
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:282)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
... 57 more



 Comments   
Comment by Eli Givoni [ 10/Aug/11 ]

Hi Paul,
We managed to reproduce the issue, it looks like a regression on the 1.424 version.
We will try to release a fix as soon as possible.

Thanks for reporting

Generated at Sun May 19 22:35:02 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.