[JIRA] [tfs-plugin] (JENKINS-34602) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.microsoft.tfs.core.util.URIUtils

36 views
Skip to first unread message

cdenneen@gmail.com (JIRA)

unread,
May 4, 2016, 11:35:02 AM5/4/16
to jenkinsc...@googlegroups.com
Chris Denneen created an issue
 
Jenkins / Bug JENKINS-34602
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.microsoft.tfs.core.util.URIUtils
Issue Type: Bug Bug
Assignee: redsolo
Components: tfs-plugin
Created: 2016/May/04 3:34 PM
Environment: tfs-plugin 4.1.0
Labels: plugin jenkins tfs-plugin tfs
Priority: Minor Minor
Reporter: Chris Denneen

TFS 2012
TFS-Plugin 4.1.0
CentOS 7.2.1511

FATAL: java.io.IOException: Remote call on jenkins-6ef19943 failed
java.lang.RuntimeException: java.io.IOException: Remote call on jenkins-6ef19943 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:1269)
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 jenkins-6ef19943 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.NoClassDefFoundError: Could not initialize class com.microsoft.tfs.core.util.URIUtils
at hudson.plugins.tfs.model.Server.<init>(Server.java:59)
at hudson.plugins.tfs.commands.AbstractCallableCommand.createServer(AbstractCallableCommand.java:28)
at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:55)
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:324)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
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 hudson.remoting.Engine$1$1.run(Engine.java:63)
at java.lang.Thread.run(Thread.java:745)
at ......remote call to jenkins-6ef19943(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
at hudson.remoting.Channel.call(Channel.java:781)
... 14 more

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

cdenneen@gmail.com (JIRA)

unread,
May 4, 2016, 11:41:02 AM5/4/16
to jenkinsc...@googlegroups.com
Chris Denneen commented on Bug JENKINS-34602
 
Re: Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.microsoft.tfs.core.util.URIUtils

This above error was experienced on slave instance. It doesn't seem to copy the SDK libraries properly to slave node.

When pinned to executor on master the following different error occurs:

Workspace Created by Team Build
Getting version 'C48650' to '/var/lib/jenkins/jobs/Setup/workspace'...
FATAL: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for /var/lib/jenkins/jobs/Setup/workspace.
java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for /var/lib/jenkins/jobs/Setup/workspace.
at hudson.plugins.tfs.model.Server.execute(Server.java:157)
at hudson.plugins.tfs.model.Project.getFiles(Project.java:256)
at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:57)
at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:270)


at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
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: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for /var/lib/jenkins/jobs/Setup/workspace.
at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getLocalWorkspace(VersionControlClient.java:737)
at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getWorkspace(VersionControlClient.java:2154)
at hudson.plugins.tfs.model.MockableVersionControlClient.getWorkspace(MockableVersionControlClient.java:99)
at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:57)
at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:17)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at hudson.plugins.tfs.model.Server.execute(Server.java:153)
... 11 more

Reply all
Reply to author
Forward
0 new messages