Jump to content

dharillo

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About dharillo

  • Rank
    Newbie
  1. Hi, I had Java 11. I just tried downgrading to Java 8 and it works fine. Will you deliver a new plugin version compatible with Java 11? Regards!
  2. Greetings! We are trying to use the Teamcity plugin with the "checkout on agent" configuration. This configuration works fine on Windows, but for a Linux agent the checkout does not work. The build fails event before the first build step: Looking at the teamcity-agent.log the next exception trace appears: [2019-10-01 17:54:40,649] ERROR - pl.patch.ProjectSourcesOnAgent - Problem while checkout on agent java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils at com.codicesoftware.plugins.teamcity.PathUtils.isFileInSymlinkContained(PathUtils.java:34) at com.codicesoftware.plugins.teamcity.PathUtils.getCanonicalPath(PathUtils.java:16) at com.codicesoftware.plugins.teamcity.WorkspaceManager.ensureWorkspaceExists(WorkspaceManager.java:21) at com.codicesoftware.plugins.teamcity.PlasticAgentVcsSupport.updateSources(PlasticAgentVcsSupport.java:67) at jetbrains.buildServer.agent.impl.vcs.AgentVcsManagerExImpl$CheckoutSupportImpl.updateSources(AgentVcsManagerExImpl.java:108) at jetbrains.buildServer.agent.impl.patch.ProjectSourcesOnAgent$1.run(ProjectSourcesOnAgent.java:186) at java.base/java.lang.Thread.run(Thread.java:834) [2019-10-01 17:54:40,651] WARN - l.patch.AbstractSourcesUpdater - Error while checkout on agent: Problem while checkout on agent: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils jetbrains.buildServer.vcs.VcsException: Problem while checkout on agent: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils at jetbrains.buildServer.agent.impl.patch.ProjectSourcesOnAgent$1.run(ProjectSourcesOnAgent.java:192) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils at com.codicesoftware.plugins.teamcity.PathUtils.isFileInSymlinkContained(PathUtils.java:34) at com.codicesoftware.plugins.teamcity.PathUtils.getCanonicalPath(PathUtils.java:16) at com.codicesoftware.plugins.teamcity.WorkspaceManager.ensureWorkspaceExists(WorkspaceManager.java:21) at com.codicesoftware.plugins.teamcity.PlasticAgentVcsSupport.updateSources(PlasticAgentVcsSupport.java:67) at jetbrains.buildServer.agent.impl.vcs.AgentVcsManagerExImpl$CheckoutSupportImpl.updateSources(AgentVcsManagerExImpl.java:108) at jetbrains.buildServer.agent.impl.patch.ProjectSourcesOnAgent$1.run(ProjectSourcesOnAgent.java:186) ... 1 more Plugin version: Do you know why may this be happening? I have looked at the plugin folder in the agent and the commons-lang.jar is there. Regards!
×
×
  • Create New...