StarTeam connection problem

Whenever I test the connection to StarTeam I get the following error:

java.lang.RuntimeException: property with this name already exists: Usr_Testing_hours_Actual

Has anyone ever encountered this, and how do I fix it?

Thanks,
Matt

4 comments
Comment actions Permalink

Here is the full stack trace from turning on debugging in TeamCity:

WARN - jetbrains.buildServer.VCS - Error occured in test connection
jetbrains.buildServer.vcs.VcsException: java.lang.RuntimeException: property with this name already exists: Usr_Testing_hours_Actual
at jetbrains.buildServer.buildTriggers.vcs.starteam.StarteamSupport.testConnection(StarteamSupport.java:169)
at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsController.doPost(EditVcsRootsController.java:142)
at jetbrains.buildServer.controllers.BaseFormXmlController$1.handleRequest(BaseFormXmlController.java:1)
at jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest(AjaxRequestProcessor.java:3)
at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:20)
at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:40)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:874)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:808)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:7)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: property with this name already exists: Usr_Testing_hours_Actual
at com.starbase.starteam.Type.addProperty(Type.java:302)
at com.starbase.starteam.GetMethods$8.execute(GetMethods.java:340)
at com.starbase.starteam.GetMethods.get(GetMethods.java:389)
at com.starbase.starteam.Server.getItems(Server.java:489)
at com.starbase.starteam.Server.initTypes(Server.java:327)
at com.starbase.starteam.Server.logOnImpl(Server.java:1730)
at com.starbase.starteam.Server.logOn(Server.java:1413)
at com.starbase.starteam.StarTeamFinder.openServer(StarTeamFinder.java:40)
at com.starbase.starteam.StarTeamFinder.openProject(StarTeamFinder.java:58)
at com.starbase.starteam.StarTeamFinder.openViewWithOverride(StarTeamFinder.java:91)
at com.starbase.starteam.StarTeamFinder.openView(StarTeamFinder.java:131)
at jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamConnectionImpl.]]>(StarteamConnectionImpl.java:74)
at jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamConnectionFactoryImpl.createConnection(StarteamConnectionFactoryImpl.java:5)
at jetbrains.buildServer.buildTriggers.vcs.starteam.StarteamSupport.testConnection(StarteamSupport.java:180)
... 28 more

0
Comment actions Permalink

Hello Matt,

This is probably a result of the difference between the StarTeam server and
client versions.
I would recommend you to test several different SDK. For example I know that
SDK 6.0 works well with server 5.2, unlike SDK with higher versions.

First of all, I would try SDK 5.1, because your server is 5.1.

Here is the full stack trace from turning on debugging in TeamCity:

WARN - jetbrains.buildServer.VCS -
Error occured in test connection
jetbrains.buildServer.vcs.VcsException: java.lang.RuntimeException:
property with this name already exists: Usr_Testing_hours_Actual
at
jetbrains.buildServer.buildTriggers.vcs.starteam.StarteamSupport.testC
onnection(StarteamSupport.java:169)
at
jetbrains.buildServer.controllers.admin.projects.EditVcsRootsControlle
r.doPost(EditVcsRootsController.java:142)
at
jetbrains.buildServer.controllers.BaseFormXmlController$1.handleReques
t(BaseFormXmlController.java:1)
at
jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest(
AjaxRequestProcessor.java:3)
at
jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseF
ormXmlController.java:20)
at
jetbrains.buildServer.controllers.BaseController.handleRequestInternal
(BaseController.java:40)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(A
bstractController.java:153)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.han
dle(SimpleControllerHandlerAdapter.java:48)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatche
rServlet.java:874)
at
org.springframework.web.servlet.DispatcherServlet.doService(Dispatcher
Servlet.java:808)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framew
orkServlet.java:476)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServl
et.java:441)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
cationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
lterChain.java:206)
at
jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFrag
mentFilter.java:7)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
cationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
lterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
lve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
lve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
va:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
va:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
e.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
s(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447
)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: property with this name already
exists: Usr_Testing_hours_Actual
at com.starbase.starteam.Type.addProperty(Type.java:302)
at com.starbase.starteam.GetMethods$8.execute(GetMethods.java:340)
at com.starbase.starteam.GetMethods.get(GetMethods.java:389)
at com.starbase.starteam.Server.getItems(Server.java:489)
at com.starbase.starteam.Server.initTypes(Server.java:327)
at com.starbase.starteam.Server.logOnImpl(Server.java:1730)
at com.starbase.starteam.Server.logOn(Server.java:1413)
at
com.starbase.starteam.StarTeamFinder.openServer(StarTeamFinder.java:40
)
at
com.starbase.starteam.StarTeamFinder.openProject(StarTeamFinder.java:5
8)
at
com.starbase.starteam.StarTeamFinder.openViewWithOverride(StarTeamFind
er.java:91)
at
com.starbase.starteam.StarTeamFinder.openView(StarTeamFinder.java:131)
at
jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamConnect
ionImpl.<init>(StarteamConnectionImpl.java:74)
at
jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamConnect
ionFactoryImpl.createConnection(StarteamConnectionFactoryImpl.java:5)
at
jetbrains.buildServer.buildTriggers.vcs.starteam.StarteamSupport.testC
onnection(StarteamSupport.java:180)
... 28 more

--
Sergey Anchipolevsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

The problem is that we can only find the client installer for 5.1, nothing else. Do you know where I can find SDK 6.0? I've tried the SDK that came with 5.2 but I'm still getting that error. We would just upgrade if version 5.2 of the software wasn't released 6 years ago. We're just a bit wary upgrading considering it will be long past supported. Our current exact versions are as follows:

Client: 5.1.373
Server: 5.1.373

Thanks,
Matt

Edited by: Matt Baker on Jun 26, 2008 5:08 PM

0
Comment actions Permalink

Hello Matt,

I replied by email.

Do you know where I can find SDK 6.0? I've tried the SDK that came
with 5.2 but I'm still getting that error. The exact versions are as
follows:

Client: 5.1.373
Server: 5.1.373
Thanks,
Matt

--
Sergey Anchipolevsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.