java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Building in workspace /var/lib/jenkins/workspace/JFrog sample > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/JFrogDev/project-examples.git # timeout=10 Fetching upstream changes from https://github.com/JFrogDev/project-examples.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/JFrogDev/project-examples.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 8b6c06a4bb903bdfb831f740da364dedf82adb75 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8b6c06a4bb903bdfb831f740da364dedf82adb75 > git rev-list 8b6c06a4bb903bdfb831f740da364dedf82adb75 # timeout=10 ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.RuntimeException: Unable to determine Maven version at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:167) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:100) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:947) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:620) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.IllegalArgumentException: mavenHome '/home/srijini/maven/apache-maven-3.3.9' doesn't seem to exist on this node (or you don't have sufficient rights to access it) at hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:76) at hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:188) at hudson.maven.MavenEmbedderUtils.isAtLeastMavenVersion(MavenEmbedderUtils.java:215) at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:45) at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:33) at hudson.FilePath.act(FilePath.java:1077) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeast(MavenVersionHelper.java:109) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastVersion(MavenVersionHelper.java:81) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastResolutionCapableVersion(MavenVersionHelper.java:72) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:165) ... 10 more project=hudson.maven.MavenModuleSet@56ea02c9[JFrog sample] project.getModules()=[] project.getRootModule()=null FATAL: Unable to determine Maven version java.lang.RuntimeException: Unable to determine Maven version at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:167) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:100) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:947) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:620) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.IllegalArgumentException: mavenHome '/home/srijini/maven/apache-maven-3.3.9' doesn't seem to exist on this node (or you don't have sufficient rights to access it) at hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:76) at hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:188) at hudson.maven.MavenEmbedderUtils.isAtLeastMavenVersion(MavenEmbedderUtils.java:215) at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:45) at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:33) at hudson.FilePath.act(FilePath.java:1077) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeast(MavenVersionHelper.java:109) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastVersion(MavenVersionHelper.java:81) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastResolutionCapableVersion(MavenVersionHelper.java:72) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:165) ... 10 more Finished: FAILURE
    via by srijini s,
  • Git polling - java errors
    via by Curtis Kline,
  • Maven "doesn't have a 'lib' subdirectory"
    via by maloy...@gmail.com,
  • Error invoking maven 3 on hudson 1.395
    via by timr_84,
  • Maven and hudson
    via by ensienne,
  • Error on Hudson 1.392 and maven 3.0.1
    via by sebglon,
  • Build failed in Jenkins: Nakamura #751
    via by Unknown author,
    • java.lang.RuntimeException: Unable to determine Maven version at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:167) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:100) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:947) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:620) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.IllegalArgumentException: mavenHome '/home/srijini/maven/apache-maven-3.3.9' doesn't seem to exist on this node (or you don't have sufficient rights to access it) at hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:76) at hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:188) at hudson.maven.MavenEmbedderUtils.isAtLeastMavenVersion(MavenEmbedderUtils.java:215) at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:45) at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:33) at hudson.FilePath.act(FilePath.java:1077) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeast(MavenVersionHelper.java:109) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastVersion(MavenVersionHelper.java:81) at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastResolutionCapableVersion(MavenVersionHelper.java:72) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:165) ... 10 more

    Users with the same issue

    Unknown visitor1 times, last one,