TeamCity plugin won't run perform "Remote run in TeamCity"

Hi,

Just joined a team using TeamCity and went ahead and downloaded the TeamCity plugin.
I can login fine, see old commits I've done etc but I fail to run on the teamcity servers.

When clicking the "Remote Run in TeamCity... " in the seconds screen, literallt nothing happens. If I
check "Perform code analysis" this is run and works as expected, but when actually trying to run remotely
nothing happens. The next window just doesn't appear. The rest of the guys have no issues (running on IntelliJ 13)

These are the versions I'm running:

OSX 10.10.1
IntelliJ  : 14.02 ( #IC-139.659 )
JRE     : 1.6.0_65
PlugIn  : 8.0.2.27767
TeamCity Professional 8.0.6 (build 27767)

Has anyone else seen this strange behaviour ? I'm kinda clueless what's going on here. Could
it be some strange network issue (altough login is ok and TC web access works fine). Are there
any logs I can check out ? I get no errors in IDEA. Just no response what so ever when hitting the "Remote run.." button.

Niklas



Attachment(s):
Screen Shot 2015-01-08 at 13.18.22.png
5 comments
Comment actions Permalink

Hi Niklas,

Sorry for delay. Please see the instructions How to Enable IDEA logging.

0
Comment actions Permalink

I'm seeing the same issue on my IntelliJ IDEA 14 install. When using 13, remote runs work just fine. From idea.log:

2015-01-13 15:39:31,951 [ 315963]   INFO - s.communicator.p2p.NetworkUtil - Call [http://192.168.XXX.1:2864/rpc2] AddOnlineUser.addOnlineUser([192.168.XXX.1, uname, 2864, [Orion], [AVAILABLE, 0]]) Operation timed out 
2015-01-13 15:39:31,951 [ 315963]   INFO - s.communicator.p2p.NetworkUtil - Call [http://XXX.XXX.XXX.1:2864/rpc2] AddOnlineUser.addOnlineUser([XXX.XXX.XXX.1, uname, 2864, [Orion], [AVAILABLE, 0]]) Operation timed out 
2015-01-13 15:39:31,951 [ 315963]   INFO - s.communicator.p2p.NetworkUtil - Call [http://XXX.XXX.XXX.1:2864/rpc2] AddOnlineUser.addOnlineUser([XXX.XXX.XXX.1, uname, 2864, [Orion], [AVAILABLE, 0]]) Operation timed out 
2015-01-13 15:39:55,967 [ 339979]  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:378)
     at jetbrains.buildServer.ideaPlugin.util.VcsUtil.collectFullPaths(VcsUtil.java:348)
     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.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:621)
     at com.intellij.openapi.progress.impl.ProgressManagerImpl$7.run(ProgressManagerImpl.java:422)
     at com.intellij.openapi.progress.impl.ProgressManagerImpl$3.run(ProgressManagerImpl.java:194)
     at com.intellij.openapi.progress.impl.ProgressManagerImpl.a(ProgressManagerImpl.java:281)
     at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
     at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:181)
     at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:640)
     at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:405)
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
     at java.lang.Thread.run(Thread.java:695)
     at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)
2015-01-13 15:39:55,968 [ 339980]  ERROR - plication.impl.ApplicationImpl - IntelliJ IDEA 14.0.2  Build #IU-139.659.2 
2015-01-13 15:39:55,969 [ 339981]  ERROR - plication.impl.ApplicationImpl - JDK: 1.6.0_65 
2015-01-13 15:39:55,969 [ 339981]  ERROR - plication.impl.ApplicationImpl - VM: Java HotSpot(TM) 64-Bit Server VM 
2015-01-13 15:39:55,969 [ 339981]  ERROR - plication.impl.ApplicationImpl - Vendor: Apple Inc. 
2015-01-13 15:39:55,969 [ 339981]  ERROR - plication.impl.ApplicationImpl - OS: Mac OS X 
2015-01-13 15:39:55,969 [ 339981]  ERROR - plication.impl.ApplicationImpl - Last Action: teamCityRemoteRun 
0
Comment actions Permalink

Hi,

Yep it seems like IDEA 14 does not work with TC 8 , so downgrading to 13 fixed the problem. Would have been
great if the TC plugin could detect TC version, and give a proper warning/error.

/Niklas

0
Comment actions Permalink

Hi,

IntelliJ IDEA 14 is supported since TeamCity 8.1.5, see Supported IDEs. I've created the issue https://youtrack.jetbrains.com/issue/TW-39666, please vote for it.

0
Comment actions Permalink

Perfect !

I'll let the guys running our TC now so they can upgrade it. :)

Niklas

0

Please sign in to leave a comment.