Problems connecting to TFS 2010 in fresh install

I just did a fresh install of the latest TeamCity on Windows 7, and I'm setting up the first project which is hosted in a TFS 2010 server. I have installed the latest version of Team Explorer and I'm using Visual Studio 2012. I've also made sure to restart after installing Team Explorer. All of this is on the same machine, as I'm just evaluating whether this will work for us.

When testing the connection, I get this response:

Test connection failed in LINC :: Dev. Please contact your administrator. There was an error contacting the server.
Technical information (for administrator):
  HTTP code 200: OK


Which doesn't really sound correct to me.

If I look at the project details, it says "VCS Problem" with the following details:

Failed for the root 'TFS_PI' #7: @NotNull method jetbrains/buildServer/buildTriggers/vcs/tfs/commands/TfsCommand_GetCurrentVersion.getCurrentVersion must not return null

jetbrains.buildServer.vcs.VcsRootVcsException: @NotNull method jetbrains/buildServer/buildTriggers/vcs/tfs/commands/TfsCommand_GetCurrentVersion.getCurrentVersion must not return null
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.debugException(VcsChangesStatesCollector.java:21)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:18)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.access$100(VcsChangesStatesCollector.java:24)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$2.run(VcsChangesStatesCollector.java:0)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:108)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.doCollectStates(VcsChangesStatesCollector.java:31)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:27)
at jetbrains.buildServer.vcs.impl.VcsChangesInterval.getLoadChangesIntervals(VcsChangesInterval.java:4)
at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.loadChangesNoLocking(VcsChangesFetcher.java:51)
at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.loadChangesNoLocking(VcsChangesSyncFetcher.java:57)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.tryLoadChanges(VcsChangesLoaderImpl.java:10)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$1$1.run(VcsModificationChecker.java:14)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:108)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$1.run(VcsModificationChecker.java:3)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: jetbrains.buildServer.vcs.VcsException: @NotNull method jetbrains/buildServer/buildTriggers/vcs/tfs/commands/TfsCommand_GetCurrentVersion.getCurrentVersion must not return null
... 18 more
Caused by: java.lang.IllegalStateException: @NotNull method jetbrains/buildServer/buildTriggers/vcs/tfs/commands/TfsCommand_GetCurrentVersion.getCurrentVersion must not return null
at jetbrains.buildServer.buildTriggers.vcs.tfs.commands.TfsCommand_GetCurrentVersion.getCurrentVersion(TfsCommand_GetCurrentVersion.java:31)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsCollectChangesByCheckoutRules$1.apply(TfsCollectChangesByCheckoutRules.java:43)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsCollectChangesByCheckoutRules$1.apply(TfsCollectChangesByCheckoutRules.java:38)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsLock.doCommand(TfsLock.java:68)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsCollectChangesByCheckoutRules.getCurrentVersion(TfsCollectChangesByCheckoutRules.java:38)
at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:4)
at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:120)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:26)
... 17 more
jetbrains.buildServer.vcs.VcsException: @NotNull method jetbrains/buildServer/buildTriggers/vcs/tfs/commands/TfsCommand_GetCurrentVersion.getCurrentVersion must not return null
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:18)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.access$100(VcsChangesStatesCollector.java:24)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$2.run(VcsChangesStatesCollector.java:0)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:108)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.doCollectStates(VcsChangesStatesCollector.java:31)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:27)
at jetbrains.buildServer.vcs.impl.VcsChangesInterval.getLoadChangesIntervals(VcsChangesInterval.java:4)
at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.loadChangesNoLocking(VcsChangesFetcher.java:51)
at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.loadChangesNoLocking(VcsChangesSyncFetcher.java:57)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.tryLoadChanges(VcsChangesLoaderImpl.java:10)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$1$1.run(VcsModificationChecker.java:14)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:108)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$1.run(VcsModificationChecker.java:3)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.IllegalStateException: @NotNull method jetbrains/buildServer/buildTriggers/vcs/tfs/commands/TfsCommand_GetCurrentVersion.getCurrentVersion must not return null
at jetbrains.buildServer.buildTriggers.vcs.tfs.commands.TfsCommand_GetCurrentVersion.getCurrentVersion(TfsCommand_GetCurrentVersion.java:31)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsCollectChangesByCheckoutRules$1.apply(TfsCollectChangesByCheckoutRules.java:43)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsCollectChangesByCheckoutRules$1.apply(TfsCollectChangesByCheckoutRules.java:38)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsLock.doCommand(TfsLock.java:68)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsCollectChangesByCheckoutRules.getCurrentVersion(TfsCollectChangesByCheckoutRules.java:38)
at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:4)
at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:120)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:26)
... 17 more
java.lang.IllegalStateException: @NotNull method jetbrains/buildServer/buildTriggers/vcs/tfs/commands/TfsCommand_GetCurrentVersion.getCurrentVersion must not return null
at jetbrains.buildServer.buildTriggers.vcs.tfs.commands.TfsCommand_GetCurrentVersion.getCurrentVersion(TfsCommand_GetCurrentVersion.java:31)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsCollectChangesByCheckoutRules$1.apply(TfsCollectChangesByCheckoutRules.java:43)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsCollectChangesByCheckoutRules$1.apply(TfsCollectChangesByCheckoutRules.java:38)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsLock.doCommand(TfsLock.java:68)
at jetbrains.buildServer.buildTriggers.vcs.tfs.TfsCollectChangesByCheckoutRules.getCurrentVersion(TfsCollectChangesByCheckoutRules.java:38)
at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:4)
at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:120)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:26)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.access$100(VcsChangesStatesCollector.java:24)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$2.run(VcsChangesStatesCollector.java:0)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:108)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.doCollectStates(VcsChangesStatesCollector.java:31)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:27)
at jetbrains.buildServer.vcs.impl.VcsChangesInterval.getLoadChangesIntervals(VcsChangesInterval.java:4)
at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.loadChangesNoLocking(VcsChangesFetcher.java:51)
at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.loadChangesNoLocking(VcsChangesSyncFetcher.java:57)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.tryLoadChanges(VcsChangesLoaderImpl.java:10)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$1$1.run(VcsModificationChecker.java:14)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:108)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$1.run(VcsModificationChecker.java:3)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)


Is there some sort of configuration or association that is missing? I could not find any additional steps in the documentation, other than having Team Explorer installed.

Thanks.

Please sign in to leave a comment.