Uploaded image for project: 'Bamboo Artifactory Plug-in'
  1. Bamboo Artifactory Plug-in
  2. BAP-208

Artifactory plugin is losing access to the p4java library

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.2
    • Labels:
      None

      Description

      java.lang.NoClassDefFoundError: com/perforce/p4java/exception/P4JavaException is being thrown during the pre-build step in the bamboo pipeline.

      Our bamboo plugin is version 1.7.1, the bamboo version is 5.4.1, we do not know the perforce plugin version.

      The main thing we've received is the traceback:

      java.lang.NoClassDefFoundError: com/perforce/p4java/exception/P4JavaException
      at org.jfrog.build.vcs.perforce.PerforceClient$Builder.build(PerforceClient.java:216)
      at org.jfrog.bamboo.release.scm.perforce.PerforceManager.prepare(PerforceManager.java:44)
      at org.jfrog.bamboo.release.scm.perforce.PerforceCoordinator.prepare(PerforceCoordinator.java:39)
      at org.jfrog.bamboo.release.provider.AbstractReleaseProvider.prepare(AbstractReleaseProvider.java:69)
      at org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction.call(ArtifactoryPreBuildAction.java:71)
      at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.runPreBuildActions(PrepareBuildTask.java:129)
      at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:100)
      at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:181)
      at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:101)
      at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108)
      at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.ClassNotFoundException: com.perforce.p4java.exception.P4JavaException
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 15 more

        Attachments

          Activity

            People

            • Assignee:
              liorha Lior Hasson (Inactive)
              Reporter:
              denebeim Jay Denebeim (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: