Java error
Hello,
Our TeamCity worked great until the server crashed due to some hardware issues and we had to move TeamCity to a new server. It comes up successfully, has all our projects, but builds do not work. They go to the build Queue and stay there as "Delayed" forever. Looking into the logs, we found that a continuous error message goes into catalina.out. Any idea what this might be?
[2012-08-11 15:10:46,223] ERROR - jetbrains.buildServer.SERVER - Error occurred while starting build
com.thoughtworks.xstream.XStream$InitializationException: Could not instatiate converter : com.thoughtworks.xstream.converters.enums.EnumSetConverter : null
at com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:657)
at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:626)
at com.thoughtworks.xstream.XStream.<init>(XStream.java:373)
at jetbrains.buildServer.messages.XStreamHolder$XStreamWrapper.<init>(XStreamHolder.java:94)
at jetbrains.buildServer.messages.XStreamHolder.createXStreamInstance(XStreamHolder.java:85)
at jetbrains.buildServer.messages.XStreamHolder.getXStreamInternal(XStreamHolder.java:44)
at jetbrains.buildServer.messages.XStreamHolder.getXStream(XStreamHolder.java:51)
at jetbrains.buildServer.messages.XStreamHolder.getXStream(XStreamHolder.java:39)
at jetbrains.buildServer.serverSide.impl.RuntimeInfoStorage.save(RuntimeInfoStorage.java)
at jetbrains.buildServer.serverSide.impl.RunningBuildImpl.setBaseBuildNumber(RunningBuildImpl.java:43)
at jetbrains.buildServer.serverSide.impl.RunningBuildImpl.<init>(RunningBuildImpl.java:450)
at jetbrains.buildServer.serverSide.impl.BuildFactoryImpl.createRunningBuild(BuildFactoryImpl.java:12)
at jetbrains.buildServer.serverSide.impl.auth.SecuredBuildFactory.createRunningBuild(SecuredBuildFactory.java:3)
at jetbrains.buildServer.serverSide.impl.BuildTypeImpl.newRunningBuild(BuildTypeImpl.java:133)
at jetbrains.buildServer.serverSide.impl.BuildTypeImpl$$FastClassByCGLIB$$a84db719.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:152)
at jetbrains.buildServer.serverSide.impl.auth.TeamCityMethodSecurityInterceptor.invoke(TeamCityMethodSecurityInterceptor.java:21)
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.BuildTypeImpl$$EnhancerByCGLIB$$a57c49ec.newRunningBuild(<generated>)
at jetbrains.buildServer.serverSide.impl.FlushQueueForConnectedAgents.chooseBuildAndAgent(FlushQueueForConnectedAgents.java:45)
at jetbrains.buildServer.serverSide.impl.FlushQueueForConnectedAgents.chooseBuildAndAgent(FlushQueueForConnectedAgents.java:16)
at jetbrains.buildServer.serverSide.impl.FlushQueueTemplate.flushRealAgents(FlushQueueTemplate.java:23)
at jetbrains.buildServer.serverSide.impl.FlushQueueTemplate.access$000(FlushQueueTemplate.java:2)
at jetbrains.buildServer.serverSide.impl.FlushQueueTemplate$1.run(FlushQueueTemplate.java:2)
at jetbrains.buildServer.serverSide.impl.FlushQueueAction$QueueAction.run(FlushQueueAction.java)
at jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupManagerImpl.executeWithInactiveCleanup(ServerCleanupManagerImpl.java:29)
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:152)
at jetbrains.buildServer.serverSide.impl.auth.TeamCityMethodSecurityInterceptor.invoke(TeamCityMethodSecurityInterceptor.java:21)
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$$100000a2.executeWithInactiveCleanup(<generated>)
at jetbrains.buildServer.serverSide.impl.BuildServerImpl.flushQueue(BuildServerImpl.java:71)
at jetbrains.buildServer.serverSide.impl.BuildServerRunner$2.doSomething(BuildServerRunner.java:2)
at jetbrains.buildServer.serverSide.impl.BuildServerRunner$BuildServerWorker.run(BuildServerRunner.java:4)
at java.lang.Thread.run(Thread.java:736)
Caused by:
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor38.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
at com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:650)
... 40 more
Caused by:
java.lang.RuntimeException: Could not access java.util.EnumSet.elementType field
at com.thoughtworks.xstream.core.util.Fields.find(Fields.java:18)
at com.thoughtworks.xstream.converters.enums.EnumSetConverter.<init>(EnumSetConverter.java:31)
... 44 more
Please sign in to leave a comment.
Are there any other errors in teamcity-server.log? Could you please attach this log file?