Uploaded image for project: 'TeamCity Artifactory Plug-in'
  1. TeamCity Artifactory Plug-in
  2. TCAP-206

If the version control is not supported by the plugin, the result is NPE

    Details

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

      TC 8.1.2

      Description

      java.lang.IllegalArgumentException: Argument for @NotNull parameter 'val' of jetbrains/buildServer/serverSide/impl/BuildRunnerDescriptorImpl.addRunnerParameter must not be null
      at jetbrains.buildServer.serverSide.impl.BuildRunnerDescriptorImpl.addRunnerParameter(BuildRunnerDescriptorImpl.java)
      at org.jfrog.teamcity.server.runner.ArtifactoryBuildStartContextProcessor.updateParameters(ArtifactoryBuildStartContextProcessor.java:159)
      at jetbrains.buildServer.serverSide.impl.RunningBuildImpl.prepareRunners(RunningBuildImpl.java:561)
      at jetbrains.buildServer.serverSide.impl.RunningBuildImpl.createAgentBuild(RunningBuildImpl.java:111)
      at jetbrains.buildServer.serverSide.impl.XmlRpcBasedAgent.runBuild(XmlRpcBasedAgent.java:263)
      at jetbrains.buildServer.serverSide.impl.auth.SecuredBuildAgent.runBuild(SecuredBuildAgent.java:8)
      at jetbrains.buildServer.serverSide.impl.BuildStarter$1.run(BuildStarter.java:23)
      at jetbrains.buildServer.serverSide.impl.BuildStarter$2$1.run(BuildStarter.java:1)
      at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:102)
      at jetbrains.buildServer.serverSide.impl.BuildStarter$2.run(BuildStarter.java:1)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)
      

        Attachments

          Activity

            People

            • Assignee:
              liorha Lior Hasson
              Reporter:
              shayb Shay Bagants
            • Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: