java.lang.RuntimeException: java.io.IOException: Remote call on AGENT failed


Solutions on the web

Solution icon of googlegroups
java.io.IOException: Remote call on AGENT failed

Solution icon of jenkins
via Jenkins JIRA by Olivier Dagenais, 1 year ago
java.io.IOException: Remote call on AGENT failed

Solution icon of jenkins
via Jenkins JIRA by Olivier Dagenais, 1 year ago
java.io.IOException: Remote call on AGENT failed

Solution icon of googlegroups
java.io.IOException: Remote call on jenkins-6ef19943 failed

Solution icon of jenkins
via Jenkins JIRA by Chris Denneen, 1 year ago
java.io.IOException: Remote call on jenkins-6ef19943 failed

Solution icon of jenkins
via Jenkins JIRA by Andrew Gray, 1 year ago
java.io.IOException: Remote call on PRODNode failed

Solution icon of web
java.io.IOException: Remote call on PRODNode failed

Solution icon of web
java.io.IOException: Remote call on jenkins-6ef19943 failed

Solution icon of jenkins
via Jenkins JIRA by Chris Denneen, 1 year ago
java.io.IOException: Remote call on jenkins-6ef19943 failed

Solution icon of web
java.io.IOException: Remote call on PRODNode failed

Stack trace

java.lang.RuntimeException: java.io.IOException: Remote call on AGENT failed
	at hudson.plugins.tfs.model.Server.execute(Server.java:157)
	at hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:272)
	at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:268)
	at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:284)
	at hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:311)
	at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:260)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
	at hudson.model.Run.execute(Run.java:1738)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Caused by: java.io.IOException: Remote call on AGENT failed
	at hudson.remoting.Channel.call(Channel.java:789)
	at hudson.plugins.tfs.model.Server.execute(Server.java:153)
	... 13 more
Caused by: java.lang.UnsatisfiedLinkError: com.microsoft.tfs.jni.internal.platformmisc.NativePlatformMisc.nativeGetEnvironmentVariable(Ljava/lang/String;)Ljava/lang/String;
	at com.microsoft.tfs.jni.internal.platformmisc.NativePlatformMisc.nativeGetEnvironmentVariable(Native Method)
	at com.microsoft.tfs.jni.internal.platformmisc.NativePlatformMisc.getEnvironmentVariable(NativePlatformMisc.java:134)
	at com.microsoft.tfs.jni.PlatformMiscUtils.getEnvironmentVariable(PlatformMiscUtils.java:52)
	at com.microsoft.tfs.core.config.EnvironmentVariables.getString(EnvironmentVariables.java:251)
	at com.microsoft.tfs.core.config.EnvironmentVariables.getBoolean(EnvironmentVariables.java:235)
	at com.microsoft.tfs.core.config.httpclient.DefaultHTTPClientFactory.getUserAgent(DefaultHTTPClientFactory.java:365)
	at com.microsoft.tfs.core.config.httpclient.DefaultHTTPClientFactory.configureClientParams(DefaultHTTPClientFactory.java:323)
	at com.microsoft.tfs.core.config.httpclient.DefaultHTTPClientFactory.newHTTPClient(DefaultHTTPClientFactory.java:142)
	at com.microsoft.tfs.core.TFSConnection.getHTTPClient(TFSConnection.java:1066)
	at com.microsoft.tfs.core.TFSConnection.getWebService(TFSConnection.java:894)
	at com.microsoft.tfs.core.config.client.DefaultClientFactory$7.newClient(DefaultClientFactory.java:239)
	at com.microsoft.tfs.core.config.client.DefaultClientFactory.newClient(DefaultClientFactory.java:98)
	at com.microsoft.tfs.core.TFSConnection.getClient(TFSConnection.java:1508)
	at com.microsoft.tfs.core.TFSTeamProjectCollection.getVersionControlClient(TFSTeamProjectCollection.java:377)
	at hudson.plugins.tfs.model.Server.getVersionControlClient(Server.java:142)
	at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:56)
	at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:33)
	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
	at hudson.remoting.Request$2.run(Request.java:325)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at hudson.remoting.Engine$1$1.run(Engine.java:69)
	at java.lang.Thread.run(Unknown Source)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago