Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Promoted Builds Plugin on 3.1.0(Promoted Builds Plugin on 3.1.0)
Promoted Builds Plugin on 3.1.0 [message #1123659] Wed, 02 October 2013 16:03 Go to next message
Mathew Anderson is currently offline Mathew Anderson
Messages: 13
Registered: October 2013
Junior Member
I have recently updated my hudson install from 2 to 3.1.0. One of the plugins that stopped working was the Promoted Builds Plugin.

Server is: Red Hat Enterprise Linux Server release 5.9
Application server is: Jboss 7.1.1
Java version : jdk1.6.0_14

Looking at the Manage Plugin page, it is listed as a "Recommended" Plugin, yet the plugin verification page wiki.hudson-ci.org/display/HUDSON/Plugin+Verification has it listed as one that "would not install or break Hudson".

The error that we see, once it is setup for a job is attached. Advice on how to get this to work again?

java.lang.ClassCastException: hudson.model.LazyTopLevelItem cannot be cast to hudson.plugins.promoted_builds.PromotionProcess
	hudson.plugins.promoted_builds.JobPropertyImpl.<init>(JobPropertyImpl.java:99)
	hudson.plugins.promoted_builds.JobPropertyImpl$DescriptorImpl.newInstance(JobPropertyImpl.java:299)
	hudson.plugins.promoted_builds.JobPropertyImpl$DescriptorImpl.newInstance(JobPropertyImpl.java:284)
	hudson.model.Job.submit(Job.java:1455)
	hudson.model.AbstractProject.submit(AbstractProject.java:2013)
	hudson.model.BaseBuildableProject.submit(BaseBuildableProject.java:114)
	hudson.model.FreeStyleProject.submit(FreeStyleProject.java:80)
	hudson.model.Job.doConfigSubmit(Job.java:1390)
	hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:907)
	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:597)
	org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:274)
	org.kohsuke.stapler.Function.bindAndInvoke(Function.java:141)
	org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:80)
	org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:95)
	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:45)
	org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:565)
	org.kohsuke.stapler.Stapler.invoke(Stapler.java:650)
	org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:225)
	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:45)
	org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:565)
	org.kohsuke.stapler.Stapler.invoke(Stapler.java:650)
	org.kohsuke.stapler.Stapler.invoke(Stapler.java:481)
	org.kohsuke.stapler.Stapler.service(Stapler.java:152)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:86)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:162)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:134)
	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:89)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:162)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:134)
	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:89)
	hudson.plugins.collabnet.auth.CNFilter.doFilter(CNFilter.java:89)
	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:89)
	hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:78)
	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:81)
	hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:45)
	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)
	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
	org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:73)
	hudson.security.HudsonFilter.doFilter(HudsonFilter.java:157)
	hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:70)
Re: Promoted Builds Plugin on 3.1.0 [message #1125743 is a reply to message #1123659] Fri, 04 October 2013 17:03 Go to previous messageGo to next message
Winston Prakash is currently offline Winston Prakash
Messages: 385
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Ok, I'm able to reproduce this. Looks like the regression is due to the Performance work we did in Hudson 3.1.0. I will fix it and release a new version of promoted-build-plugin ASAP

Winston Prakash
Eclipse Hudson team
Re: Promoted Builds Plugin on 3.1.0 [message #1129490 is a reply to message #1125743] Tue, 08 October 2013 13:34 Go to previous messageGo to next message
Winston Prakash is currently offline Winston Prakash
Messages: 385
Registered: August 2011
Location: Fremont, CA USA
Senior Member

I have fixed and released promoted-builds-plugin version 2.4-h-2. I did some testing. Can you please verify if the plugin is working fine.


Winston Prakash
Eclipse Hudson team
icon14.gif  Re: Promoted Builds Plugin on 3.1.0 [message #1130393 is a reply to message #1129490] Wed, 09 October 2013 10:06 Go to previous messageGo to next message
Leandro Ferreira is currently offline Leandro Ferreira
Messages: 1
Registered: October 2013
Junior Member
Thank you for this bug fix. Very Happy
Re: Promoted Builds Plugin on 3.1.0 [message #1130409 is a reply to message #1129490] Wed, 09 October 2013 10:30 Go to previous message
Mathew Anderson is currently offline Mathew Anderson
Messages: 13
Registered: October 2013
Junior Member
Yes, this appears to have fixed this issue.

Thank you very much to looking into it and solving it.
Previous Topic:subversion plugin notifyCommit bug
Next Topic:Login Issues with hudson
Goto Forum:
  


Current Time: Sat Jul 12 02:51:40 EDT 2014

Powered by FUDForum. Page generated in 0.01601 seconds