Project Build Definition Errors ------------------------------- Key: CONTINUUM-872 URL: http://jira.codehaus.org/browse/CONTINUUM-872 Project: Continuum Issue Type: Bug Affects Versions: 1.1 Environment: Windows Reporter: David Schwartz Fix For: 1.1
There are a number of problems with trying to Edit or Add Build Definitions for a project: 1) If you create a new schedule and the project uses the DEFAULT_SCHEDULE, the wrong schedule is selected by default when you edit the current build definition. In my project, even though it should use DEFAULT_SCHEDULE, the new schedule called EVERY_MINUTE is selected by default in the pull down menu. 2) When I try to submit changes to the Build Definition such as the goal from "clean install" to "clean install site-deploy" and select DEFAULT_SCHEDULE, I get the following error: 2006-09-13 20:28:22,437 [btpool0-0] INFO Interceptor:exceptionLogging - Error ocurred during execution org.apache.maven.continuum.ContinuumException: failed update, build definition didn't exist in project group at org.apache.maven.continuum.core.action.AbstractBuildDefinitionContinuumAction.updateBuildDefinitionInList(AbstractBuildDefinitionContinuumAction.java:179) at org.apache.maven.continuum.core.action.UpdateBuildDefinitionFromProjectAction.execute(UpdateBuildDefinitionFromProjectAction.java:45) at org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinuum.java:2269) at org.apache.maven.continuum.DefaultContinuum.updateBuildDefinitionForProject(DefaultContinuum.java:1390) at org.apache.maven.continuum.security.acegi.AcegiContinuum.updateBuildDefinitionForProject_aroundBody148(AcegiContinuum.java:507) at org.apache.maven.continuum.security.acegi.AcegiContinuum$AjcClosure149.run(AcegiContinuum.java:1) at org.codehaus.plexus.acegi.intercept.method.aspectj.SecurityAspect.ajc$around$org_codehaus_plexus_acegi_intercept_method_aspectj_SecurityAspect$1$6563cc0cproceed(SecurityAspect.aj:1) at org.codehaus.plexus.acegi.intercept.method.aspectj.SecurityAspect$1.proceedWithObject(SecurityAspect.aj:59) at org.acegisecurity.intercept.method.aspectj.AspectJSecurityInterceptor.invoke(AspectJSecurityInterceptor.java:67) at org.codehaus.plexus.acegi.intercept.method.aspectj.SecurityAspect.ajc$around$org_codehaus_plexus_acegi_intercept_method_aspectj_SecurityAspect$1$6563cc0c(SecurityAspect.aj:62) at org.apache.maven.continuum.security.acegi.AcegiContinuum.updateBuildDefinitionForProject(AcegiContinuum.java:1) at org.apache.maven.continuum.web.action.BuildDefinitionAction.saveToProject(BuildDefinitionAction.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:364) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:216) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) at org.codehaus.plexus.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:62) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113) at org.acegisecurity.webwork.AcegiDispatcherUtils.serviceAction(AcegiDispatcherUtils.java:117) at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1042) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1042) at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1042) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.codehaus.plexus.xwork.filter.FilterToComponentProxy.doFilter(FilterToComponentProxy.java:186) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1042) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110) at org.codehaus.plexus.xwork.filter.FilterToComponentProxy.doFilter(FilterToComponentProxy.java:186) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1042) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.codehaus.plexus.xwork.filter.FilterToComponentProxy.doFilter(FilterToComponentProxy.java:186) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1042) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217) at org.codehaus.plexus.xwork.filter.FilterToComponentProxy.doFilter(FilterToComponentProxy.java:186) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1042) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193) at org.codehaus.plexus.xwork.filter.FilterToComponentProxy.doFilter(FilterToComponentProxy.java:186) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1042) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:355) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:615) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:150) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141) at org.mortbay.jetty.Server.handle(Server.java:272) at org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:404) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:664) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:613) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:198) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:319) at org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) 3) When I click on "Add" in the Build Definition area of the project, I see a blank screen. There is no error on the console but now screen is displayed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira