TeamCity 6.5.6 jetbrains.buildServer.maven.util.ValueResolutionException error

I get the error error shown below everytime I start up my TeamCity app (running on Solaris Sparc9)
What does the following error mean? I know it has to do with Maven since it mentions a pom.xml file in one of the build
configuration. Is it that it can't find the pom.xml file?

jetbrains.buildServer.maven.util.ValueResolutionException: %system.teamcity.build.checkoutDir%\vehicleordering-parent\pom.xml
        at jetbrains.buildServer.maven.util.ResolvedBuildTypePropertyAccessor.resolveStrongly(ResolvedBuildTypePropertyAccessor.java:44)
        at jetbrains.buildServer.maven.util.ResolvedBuildTypePropertyAccessor.getValue(ResolvedBuildTypePropertyAccessor.java:30)
        at jetbrains.buildServer.maven.util.ResolvedBuildTypePropertyAccessor.getValue(ResolvedBuildTypePropertyAccessor.java:15)
        at jetbrains.buildServer.maven.util.MavenRunnerParams.getParamValue(MavenRunnerParams.java:142)
        at jetbrains.buildServer.maven.util.MavenRunnerParams.getPomLocation(MavenRunnerParams.java:58)
        at jetbrains.buildServer.maven.util.ServerMavenUtil.isPomSpecified(ServerMavenUtil.java:34)
        at jetbrains.buildServer.maven.metadata.impl.MavenMetadataProviderImpl.isMetadataApplicable(MavenMetadataProviderImpl.java:483)
        at jetbrains.buildServer.maven.metadata.impl.MavenMetadataProviderImpl.checkRelevancy(MavenMetadataProviderImpl.java:470)
        at jetbrains.buildServer.maven.metadata.impl.MavenMetadataProviderImpl.triggerMetadataGeneration(MavenMetadataProviderImpl.java:130)
        at jetbrains.buildServer.maven.metadata.impl.ServerListener.buildTypeRegistered(ServerListener.java:53)
        at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:112)
        at jetbrains.buildServer.serverSide.ServerSideEventDispatcher.access$000(ServerSideEventDispatcher.java)
        at jetbrains.buildServer.serverSide.ServerSideEventDispatcher$1$1.run(ServerSideEventDispatcher.java)
        at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl$2.run(SecurityContextImpl.java:1)
        at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:24)
        at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:27)
        at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAsSystem(SecurityContextImpl.java:21)
        at jetbrains.buildServer.serverSide.ServerSideEventDispatcher$1.invoke(ServerSideEventDispatcher.java)
        at $Proxy17.buildTypeRegistered(Unknown Source)
        at jetbrains.buildServer.serverSide.impl.ProjectModelWrapper.processChanged(ProjectModelWrapper.java:72)
        at jetbrains.buildServer.serverSide.impl.ProjectModelWrapper.substituteModel(ProjectModelWrapper.java:17)
        at jetbrains.buildServer.serverSide.impl.ProjectManagerImpl.trySubstituteModel(ProjectManagerImpl.java:349)
        at jetbrains.buildServer.serverSide.impl.ProjectManagerImpl.reloadProjects(ProjectManagerImpl.java:5)
        at jetbrains.buildServer.serverSide.impl.ProjectManagerImpl.loadProjects(ProjectManagerImpl.java:135)
        at jetbrains.buildServer.serverSide.impl.auth.SecuredProjectManager.loadProjects(SecuredProjectManager.java:22)
        at jetbrains.buildServer.serverSide.impl.XmlConfigurationExternalizer$1$1.run(XmlConfigurationExternalizer.java:8)
        at jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupManagerImpl.executeWithInactiveCleanup(ServerCleanupManagerImpl.java:114)
        at jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupManagerImpl$$FastClassByCGLIB$$ba2c8525.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
        at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        at jetbrains.buildServer.serverSide.impl.auth.TeamCityMethodSecurityInterceptor.invoke(TeamCityMethodSecurityInterceptor.java:7)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:582)
        at jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupManagerImpl$$EnhancerByCGLIB$$8806f33f.executeWithInactiveCleanup(<generated>)
        at jetbrains.buildServer.serverSide.impl.XmlConfigurationExternalizer$1.doInTransactionWithoutResult(XmlConfigurationExternalizer.java)
        at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
        at jetbrains.buildServer.serverSide.impl.XmlConfigurationExternalizer.fillServer(XmlConfigurationExternalizer.java:157)
        at jetbrains.buildServer.serverSide.impl.XmlConfigurationExternalizer.fillServer(XmlConfigurationExternalizer.java:320)
        at jetbrains.buildServer.web.impl.BuildServerConfigurator.setupBuildServer(BuildServerConfigurator.java:17)
        at jetbrains.buildServer.web.impl.BuildServerConfigurator.loadConfiguration(BuildServerConfigurator.java:75)
        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:597)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
        at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:402)
        at jetbrains.buildServer.rootDispatcher.spring.WebDispatcherServlet.createWebApplicationContext(WebDispatcherServlet.java:5)
        at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:316)
        at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:282)
        at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
        at javax.servlet.GenericServlet.init(GenericServlet.java:212)
        at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.createServerServlet(TeamCityDispatcherServlet.java:485)
        at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerInternal(TeamCityDispatcherServlet.java:475)
        at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerSafe(TeamCityDispatcherServlet.java:391)
        at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$400(TeamCityDispatcherServlet.java:28)
        at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$6.run(TeamCityDispatcherServlet.java)
        at java.lang.Thread.run(Thread.java:662)

1 comment
Comment actions Permalink

Paul,

Please change build configuration settings to use relative path to pom.xml - in your case it sould be just vehicleordering-parent\pom.xml.
system.teamcity.build.checkoutDir parameter is defined on agent side, and the server cannot resolve it until a build is started.

0

Please sign in to leave a comment.