java.lang.RuntimeException: java.lang.IllegalArgumentException: artifactoryServer cannot be null

Jenkins JIRA | manav brar | 4 years ago
  1. 0

    {quote} Started by user anonymous Building remotely on thesafari in workspace c:\jenkins\workspace\testngfirst Updating svn+ssh://192.168.1.71/home/manav/svn-repos/com.startpractice At revision 34 no change for svn+ssh://192.168.1.71/home/manav/svn-repos/com.startpractice since the previous build ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.RuntimeException: java.lang.IllegalArgumentException: artifactoryServer cannot be null at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:151) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:864) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:154) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:568) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1488) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.lang.IllegalArgumentException: artifactoryServer cannot be null at org.jfrog.hudson.util.PublisherContext$Builder.build(PublisherContext.java:158) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.createPublisherContext(MavenExtractorEnvironment.java:188) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:136) ... 9 more project=hudson.maven.MavenModuleSet@6452222[testngfirst] project.getModules()=[hudson.maven.MavenModule@4e4326db[testngfirst/DoTest:com.startpractice][testngfirst/DoTest:com.startpractice][relativePath:]] project.getRootModule()=hudson.maven.MavenModule@4e4326db[testngfirst/DoTest:com.startpractice][testngfirst/DoTest:com.startpractice][relativePath:] FATAL: java.lang.IllegalArgumentException: artifactoryServer cannot be null java.lang.RuntimeException: java.lang.IllegalArgumentException: artifactoryServer cannot be null at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:151) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:864) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:154) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:568) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1488) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.lang.IllegalArgumentException: artifactoryServer cannot be null at org.jfrog.hudson.util.PublisherContext$Builder.build(PublisherContext.java:158) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.createPublisherContext(MavenExtractorEnvironment.java:188) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:136) ... 9 more {quote} Follow the tutorial on youtube: Empower Jenkins with Artifactory I did this to deploy the job over to my xp slave ======> {quote} JNLP agent connected from /192.168.1.67 <===[JENKINS REMOTING CAPACITY]===>^@^@^@Slave.jar version: 2.16 This is a Windows slave Copied maven-agent.jar Copied maven3-agent.jar Copied maven3-interceptor.jar Copied maven-interceptor.jar Copied maven2.1-interceptor.jar Copied plexus-classworld.jar Copied classworlds.jar Slave successfully connected and online {quote}

    Jenkins JIRA | 4 years ago | manav brar
    java.lang.RuntimeException: java.lang.IllegalArgumentException: artifactoryServer cannot be null
  2. 0

    {quote} Started by user anonymous Building remotely on thesafari in workspace c:\jenkins\workspace\testngfirst Updating svn+ssh://192.168.1.71/home/manav/svn-repos/com.startpractice At revision 34 no change for svn+ssh://192.168.1.71/home/manav/svn-repos/com.startpractice since the previous build ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.RuntimeException: java.lang.IllegalArgumentException: artifactoryServer cannot be null at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:151) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:864) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:154) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:568) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1488) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.lang.IllegalArgumentException: artifactoryServer cannot be null at org.jfrog.hudson.util.PublisherContext$Builder.build(PublisherContext.java:158) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.createPublisherContext(MavenExtractorEnvironment.java:188) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:136) ... 9 more project=hudson.maven.MavenModuleSet@6452222[testngfirst] project.getModules()=[hudson.maven.MavenModule@4e4326db[testngfirst/DoTest:com.startpractice][testngfirst/DoTest:com.startpractice][relativePath:]] project.getRootModule()=hudson.maven.MavenModule@4e4326db[testngfirst/DoTest:com.startpractice][testngfirst/DoTest:com.startpractice][relativePath:] FATAL: java.lang.IllegalArgumentException: artifactoryServer cannot be null java.lang.RuntimeException: java.lang.IllegalArgumentException: artifactoryServer cannot be null at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:151) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:864) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:154) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:568) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1488) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.lang.IllegalArgumentException: artifactoryServer cannot be null at org.jfrog.hudson.util.PublisherContext$Builder.build(PublisherContext.java:158) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.createPublisherContext(MavenExtractorEnvironment.java:188) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:136) ... 9 more {quote} Follow the tutorial on youtube: Empower Jenkins with Artifactory I did this to deploy the job over to my xp slave ======> {quote} JNLP agent connected from /192.168.1.67 <===[JENKINS REMOTING CAPACITY]===>^@^@^@Slave.jar version: 2.16 This is a Windows slave Copied maven-agent.jar Copied maven3-agent.jar Copied maven3-interceptor.jar Copied maven-interceptor.jar Copied maven2.1-interceptor.jar Copied plexus-classworld.jar Copied classworlds.jar Slave successfully connected and online {quote}

    Jenkins JIRA | 4 years ago | manav brar
    java.lang.RuntimeException: java.lang.IllegalArgumentException: artifactoryServer cannot be null
  3. 0

    Is Maven version 1.1 compatible with Jenkins 1.532 ?

    Google Groups | 1 year ago | inderpree...@gmail.com
    java.lang.RuntimeException: Unable to determine Maven version
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When i try to checkout revision from local machine, it's working but from jenkins o have below console output: > git rev-list 2e06ca14d3e6ba0bc90d5b9e8fa6a24bf32a906d # timeout=10 ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.RuntimeException: java.lang.IllegalStateException: Input for resolve repositories cannot be empty. at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:136) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:926) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:166) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:628) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:537) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.lang.IllegalStateException: Input for resolve repositories cannot be empty. at org.jfrog.hudson.util.ExtractorUtils.replaceRepositoryInputForValues(ExtractorUtils.java:204) at org.jfrog.hudson.util.ExtractorUtils.setResolverInfo(ExtractorUtils.java:187) at org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:150) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132) ... 9 more This is job which work's proper, where was no configuration changes or updates on jenkins or stash to which jenkins is trying to connect.

    Jenkins JIRA | 1 year ago | Marcin Cimaszewski
    java.lang.RuntimeException: java.lang.IllegalStateException: Input for resolve repositories cannot be empty.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      artifactoryServer cannot be null

      at org.jfrog.hudson.util.PublisherContext$Builder.build()
    2. org.jfrog.hudson
      MavenExtractorEnvironment.buildEnvVars
      1. org.jfrog.hudson.util.PublisherContext$Builder.build(PublisherContext.java:158)
      2. org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.createPublisherContext(MavenExtractorEnvironment.java:188)
      3. org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:136)
      3 frames
    3. Hudson
      AbstractBuild.getEnvironment
      1. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:864)
      1 frame
    4. Hudson Maven Embedder
      MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
      1. hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59)
      2. hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:154)
      3. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:568)
      3 frames
    5. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
      2. hudson.model.Run.execute(Run.java:1488)
      2 frames
    6. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:236)
      2 frames