jetbrains.buildServer.serverSide.BuildTypeRenamingFailedException: Cannot rename build configuration artifacts directory "C:\Work\TeamCity-6.5.4-18046\bin\..\.BuildServer\system\artifacts\1\1"

YouTrack | 5 years ago
  1. 0

    Renaming a build configuration into a name with dots reports error, but renames it in UI

    YouTrack | 5 years ago
    jetbrains.buildServer.serverSide.BuildTypeRenamingFailedException: Cannot rename build configuration artifacts directory "C:\Work\TeamCity-6.5.4-18046\bin\..\.BuildServer\system\artifacts\1\1"
  2. 0

    Unable to move build configuration to an archived project

    YouTrack | 7 years ago
    jetbrains.buildServer.serverSide.BuildTypeRenamingFailedException: Cannot rename build configuration artifacts directory "C:\TeamCity\.BuildServer\system\artifacts\My Project\MyConfig"

    Root Cause Analysis

    1. jetbrains.buildServer.serverSide.BuildTypeRenamingFailedException

      Cannot rename build configuration artifacts directory "C:\Work\TeamCity-6.5.4-18046\bin\..\.BuildServer\system\artifacts\1\1"

      at jetbrains.buildServer.serverSide.impl.BuildTypeImpl.moveArtifactsDirectory()
    2. jetbrains.buildServer.serverSide
      BuildTypeImpl$$FastClassByCGLIB$$a84db719.invoke
      1. jetbrains.buildServer.serverSide.impl.BuildTypeImpl.moveArtifactsDirectory(BuildTypeImpl.java:399)
      2. jetbrains.buildServer.serverSide.impl.BuildTypeImpl.moveArtifactsDirectoryIfNeeded(BuildTypeImpl.java:20)
      3. jetbrains.buildServer.serverSide.impl.BuildTypeImpl$$FastClassByCGLIB$$a84db719.invoke(<generated>)
      3 frames
    3. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      1 frame
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      2 frames
    5. TeamCity Build Server
      TeamCityMethodSecurityInterceptor.invoke
      1. jetbrains.buildServer.serverSide.impl.auth.TeamCityMethodSecurityInterceptor.invoke(TeamCityMethodSecurityInterceptor.java:8)
      1 frame
    6. Spring AOP
      Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:582)
      2 frames
    7. jetbrains.buildServer.serverSide
      ProjectImpl$$FastClassByCGLIB$$e693df2a.invoke
      1. jetbrains.buildServer.serverSide.impl.BuildTypeImpl$$EnhancerByCGLIB$$347352e8.moveArtifactsDirectoryIfNeeded(<generated>)
      2. jetbrains.buildServer.serverSide.impl.ProjectImpl.moveArtifactsDirectoryIfNeeded(ProjectImpl.java:109)
      3. jetbrains.buildServer.serverSide.impl.ProjectImpl.doPersist(ProjectImpl.java:242)
      4. jetbrains.buildServer.serverSide.impl.ProjectImpl.persist(ProjectImpl.java:60)
      5. jetbrains.buildServer.serverSide.impl.ProjectImpl$$FastClassByCGLIB$$e693df2a.invoke(<generated>)
      5 frames
    8. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      1 frame
    9. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      2 frames
    10. TeamCity Build Server
      TeamCityMethodSecurityInterceptor.invoke
      1. jetbrains.buildServer.serverSide.impl.auth.TeamCityMethodSecurityInterceptor.invoke(TeamCityMethodSecurityInterceptor.java:8)
      1 frame
    11. Spring AOP
      Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:582)
      2 frames
    12. jetbrains.buildServer.serverSide
      ProjectImpl$$EnhancerByCGLIB$$3c46ee61.persist
      1. jetbrains.buildServer.serverSide.impl.ProjectImpl$$EnhancerByCGLIB$$3c46ee61.persist(<generated>)
      1 frame
    13. JetBrains buildServer
      AbstractEditBuildTypeController.doPost
      1. jetbrains.buildServer.controllers.admin.projects.EditableBuildTypeSettingsForm.persistSettings(EditableBuildTypeSettingsForm.java:60)
      2. jetbrains.buildServer.controllers.admin.projects.AbstractEditBuildTypeController.doPost(AbstractEditBuildTypeController.java:19)
      2 frames
    14. TeamCity Build Server
      BaseController.handleRequestInternal
      1. jetbrains.buildServer.controllers.BaseFormXmlController$1.handleRequest(BaseFormXmlController.java:54)
      2. jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest(AjaxRequestProcessor.java:45)
      3. jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:52)
      4. jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:73)
      4 frames
    15. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
      2. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
      4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
      5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
      6. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
      6 frames
    16. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    17. TeamCity Build Server
      TeamCityDispatcherServlet.service
      1. jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:543)
      1 frame
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    19. TeamCity Build Server
      DiagnosticFilter.doFilter
      1. jetbrains.buildServer.web.DiagnosticFilter.runChainWithModifiedThreadName(DiagnosticFilter.java:13)
      2. jetbrains.buildServer.web.DiagnosticFilter.doFilter(DiagnosticFilter.java:9)
      2 frames
    20. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    21. TeamCity Build Server
      ResponseFragmentFilter.doFilter
      1. jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:10)
      1 frame
    22. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      8 frames
    23. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    24. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame