Error when updating source code from SVN or trying to perform remote run in TeamCity

Hello,

I'm getting exception below when trying to perform remote run in TeamCity or getting update from Subversion. I googled and found few suggestions neither of which worked for me. What could be reason for this problem and how it can be resolved?

2015-05-03 21:30:27,011 [ 247965]  ERROR - plication.impl.ApplicationImpl - org.jetbrains.idea.svn.info.Info cannot be cast to org.tmatesoft.svn.core.wc.SVNInfo
java.lang.ClassCastException: org.jetbrains.idea.svn.info.Info cannot be cast to org.tmatesoft.svn.core.wc.SVNInfo
 at jetbrains.buildServer.delayedCommit.IdeaSvnWcClientAdapter.doInfo(IdeaSvnWcClientAdapter.java:26)
 at jetbrains.buildServer.delayedCommit.SvnIdeaSupport7.getFileInfo(SvnIdeaSupport7.java:64)
 at jetbrains.buildServer.delayedCommit.SvnIdeaSupport7.getUrl(SvnIdeaSupport7.java:56)
 at jetbrains.buildServer.delayedCommit.SvnIdeaSupport7.getRepositoryLocation(SvnIdeaSupport7.java:40)
 at jetbrains.buildServer.delayedCommit.VcsIdeaSupportBean.getRepositoryLocation(VcsIdeaSupportBean.java:87)
 at jetbrains.buildServer.ideaPlugin.util.VcsUtil.getRelativeFile(VcsUtil.java:369)
 at jetbrains.buildServer.ideaPlugin.util.VcsUtil.collectFullPaths(VcsUtil.java:339)
 at jetbrains.buildServer.delayedCommit.RemoteRunSession$5.run(RemoteRunSession.java:285)
 at jetbrains.buildServer.BuildServerManager$32.run(BuildServerManager.java:1210)
 at jetbrains.buildServer.BuildServerManager$31.run(BuildServerManager.java:1190)
 at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
 at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:367)
 at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152)
 at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452)
 at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
 at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137)
 at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:623)
 at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:405)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 at java.lang.Thread.run(Thread.java:745)
 at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)

I'm using IDEA 14.1.2.

Thank you,
Sergei

0
4 comments

What TeamCity server and IDEA plug-in versions do you use?
Please attach the complete idea.log (https://intellij-support.jetbrains.com/entries/23352446).

This issue was resolved long time ago: https://youtrack.jetbrains.com/issue/TW-37711 .

0
Avatar
Permanently deleted user

Hello,

Please see log file attached. here's my configuration:

IntelliJ IDEA 14.1.2
Build #IU-141.713, built on April 21, 2015
JRE: 1.8.0_45-b15 amd64
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation

TC TeamCity Enterprise 8.1.2 (build 29993)
TC plugin #29993


Thanks,
Sergei


Attachment(s):
idea.log.zip
0

Hello Sergei,

As Serge pointed, issue was fixed in TeamCity 8.1.5 and 9.0, please upgrade your server and then plugin in IDEA.

0
Avatar
Permanently deleted user

Oh, i did not get that initially that the issue was with TeamCity not IDEA.
Not a thing I would like to hear since I'm not sure if I can force the server to be upgraded but anyway.
Thank you for your support.
Thanks,
Sergei

0

Please sign in to leave a comment.