StarTeam 5.2 and TeamCity integration

Hi. I'm trying to use StarTeam as my vcs root. I copied starteam-sdk.jar to {TeamCity}\webapps\ROOT\WEB-INF\lib. While I'm trying to build my project I get:
jetbrains.buildServer.serverSide.ExecutionException: Unable to collect changes
jetbrains.buildServer.serverSide.ExecutionException: Unable to collect changes
at jetbrains.buildServer.serverSide.impl.BuildChangesCollector.collectChanges(BuildChangesCollector.java:1)
at jetbrains.buildServer.serverSide.impl.BuildStarter$1.run(BuildStarter.java:4)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: com.starbase.starteam.NoSuchPropertyException: Executable is not a valid property of this item
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
at java.util.concurrent.FutureTask.get(FutureTask.java:80)
at jetbrains.buildServer.serverSide.impl.CancelableTaskHolder.waitForTaskToComplete(CancelableTaskHolder.java:26)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.doCollectChanges(TopBuildDependencyGraphImpl.java:52)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.access$000(TopBuildDependencyGraphImpl.java:3)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java:1)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java:2)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$4.run(TopBuildDependencyGraphImpl.java)
at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:9)
at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAsSystem(SecurityContextImpl.java:34)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.runAsSystem(TopBuildDependencyGraphImpl.java:31)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChanges(TopBuildDependencyGraphImpl.java:10)
at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChanges(TopBuildDependencyGraphImpl.java:28)
at jetbrains.buildServer.serverSide.impl.BuildChangesCollector.collectChanges(BuildChangesCollector.java:16)
... 7 more
Caused by: jetbrains.buildServer.vcs.VcsException: com.starbase.starteam.NoSuchPropertyException: Executable is not a valid property of this item
at jetbrains.buildServer.buildTriggers.vcs.starteam.StarteamSupport.getCurrentVersion(StarteamSupport.java:311)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.updateCurrentVersionWhenLastDetectedIsNull(VcsChangesLoader.java:3)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChanges(VcsChangesLoader.java:39)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:694)
at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:85)
at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$3.call(VcsChangesCollectorImpl.java)
at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$3.call(VcsChangesCollectorImpl.java:2)
... 5 more
Caused by: com.starbase.starteam.NoSuchPropertyException: Executable is not a valid property of this item
at com.starbase.starteam.Type.propertyForName(Type.java:328)
at com.starbase.starteam.Type.propertiesForNames(Type.java:400)
at com.starbase.starteam.PopulateMethods.getPIDsToProperties(PopulateMethods.java:194)
at com.starbase.starteam.PopulateMethods$1.execute(PopulateMethods.java:57)
at com.starbase.starteam.PopulateMethods.populate(PopulateMethods.java:159)
at com.starbase.starteam.Server.populateValues(Server.java:485)
at com.starbase.starteam.ItemList.fetchThisChunk(ItemList.java:351)
at com.starbase.starteam.ItemList.fetchChunk(ItemList.java:305)
at com.starbase.starteam.ItemList.populateNow(ItemList.java:175)
at com.starbase.starteam.Folder.populateNow(Folder.java:850)
at jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamUtil.populateFolderWithItems(StarteamUtil.java:78)
at jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamConnectionImpl.getDateOfLatestEvent(StarteamConnectionImpl.java:314)
at jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamConnectionImpl.calculateServerTime(StarteamConnectionImpl.java:251)
at jetbrains.buildServer.buildTriggers.vcs.starteam.StarteamSupport.getCurrentVersion(StarteamSupport.java:301)


Any ideas ?

Thank you in advance.

2 comments
Comment actions Permalink

Hello,

  Unfortunately, the responsible developer will be available only on May,12.
  Personally, I'm not quite sure we currently support that early version of Starteam (though I know we did).

  If possible, try more recent version of the Starteam SDK with TeamCity (like using SDK from Starteam 6.0).

   If this won't help, please file an issue at http://jetbrains.net/tracker .

   Kind regards,
   KIR

0
Comment actions Permalink

Hello,

Such an error usually appears when an old StarTeam server (5.x, for instance)
is accessed with a newer StarTeam SDK (like 8.x, 9.x or newer).
The client tries to use a property which isn't supported by the server.

What versions of the client and the server are you using?

Hi. I'm trying to use StarTeam as my vcs root. I copied
starteam-sdk.jar to \webapps\ROOT\WEB-INF\lib. While I'm
trying to build my project I get:
++jetbrains.buildServer.serverSide.ExecutionException: Unable to
collect changes
jetbrains.buildServer.serverSide.ExecutionException: Unable to
collect changes
at
jetbrains.buildServer.serverSide.impl.BuildChangesCollector.collectCha
nges(BuildChangesCollector.java:1)
at
jetbrains.buildServer.serverSide.impl.BuildStarter$1.run(BuildStarter.
java:4)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417
)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu
tor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.util.concurrent.ExecutionException:
jetbrains.buildServer.vcs.VcsException:
com.starbase.starteam.NoSuchPropertyException: Executable is not a
valid property of this item
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
at java.util.concurrent.FutureTask.get(FutureTask.java:80)
at
jetbrains.buildServer.serverSide.impl.CancelableTaskHolder.waitForTask
ToComplete(CancelableTaskHolder.java:26)
at
jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGra
phImpl.doCollectChanges(TopBuildDependencyGraphImpl.java:52)
at
jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGra
phImpl.access$000(TopBuildDependencyGraphImpl.java:3)
at
jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGra
phImpl$3.run(TopBuildDependencyGraphImpl.java:1)
at
jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGra
phImpl$3.run(TopBuildDependencyGraphImpl.java:2)
at
jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGra
phImpl$4.run(TopBuildDependencyGraphImpl.java)
at
jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(S
ecurityContextImpl.java:9)
at
jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAsSy
stem(SecurityContextImpl.java:34)
at
jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGra
phImpl.runAsSystem(TopBuildDependencyGraphImpl.java:31)
at
jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGra
phImpl.collectChanges(TopBuildDependencyGraphImpl.java:10)
at
jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGra
phImpl.collectChanges(TopBuildDependencyGraphImpl.java:28)
at
jetbrains.buildServer.serverSide.impl.BuildChangesCollector.collectCha
nges(BuildChangesCollector.java:16)
... 7 more
Caused by: jetbrains.buildServer.vcs.VcsException:
com.starbase.starteam.NoSuchPropertyException: Executable is not a
valid property of this item
at
jetbrains.buildServer.buildTriggers.vcs.starteam.StarteamSupport.getCu
rrentVersion(StarteamSupport.java:311)
at
jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.updateCurrent
VersionWhenLastDetectedIsNull(VcsChangesLoader.java:3)
at
jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChanges(V
csChangesLoader.java:39)
at
jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerIm
pl.java:694)
at
jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChang
es(SecuredVcsManager.java:85)
at
jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$3.call(VcsChang
esCollectorImpl.java)
at
jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$3.call(VcsChang
esCollectorImpl.java:2)
... 5 more
Caused by: com.starbase.starteam.NoSuchPropertyException: Executable
is not a valid property of this item
at com.starbase.starteam.Type.propertyForName(Type.java:328)
at com.starbase.starteam.Type.propertiesForNames(Type.java:400)
at
com.starbase.starteam.PopulateMethods.getPIDsToProperties(PopulateMeth
ods.java:194)
at
com.starbase.starteam.PopulateMethods$1.execute(PopulateMethods.java:5
7)
at
com.starbase.starteam.PopulateMethods.populate(PopulateMethods.java:15
9)
at com.starbase.starteam.Server.populateValues(Server.java:485)
at com.starbase.starteam.ItemList.fetchThisChunk(ItemList.java:351)
at com.starbase.starteam.ItemList.fetchChunk(ItemList.java:305)
at com.starbase.starteam.ItemList.populateNow(ItemList.java:175)
at com.starbase.starteam.Folder.populateNow(Folder.java:850)
at
jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamUtil.po
pulateFolderWithItems(StarteamUtil.java:78)
at
jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamConnect
ionImpl.getDateOfLatestEvent(StarteamConnectionImpl.java:314)
at
jetbrains.buildServer.buildTriggers.vcs.starteam.adapt.StarteamConnect
ionImpl.calculateServerTime(StarteamConnectionImpl.java:251)
at
jetbrains.buildServer.buildTriggers.vcs.starteam.StarteamSupport.getCu
rrentVersion(StarteamSupport.java:301)
++
Any ideas ?

Thank you in advance.

---
Original message URL:
http://www.jetbrains.net/devnet/message/5237039#5237039

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


0

Please sign in to leave a comment.