Hi I have the same issue even after downgrading artifactory plugin to 2.4.7.
Any solution/workaround would be most appreciated. Greetings Stephan On Tuesday, June 21, 2016 at 10:02:51 PM UTC+2, Matthieu Simonin wrote: > > Hello, > > In a maven job : > When enabling artifactory plugin to deploy artifacts to artifactory > I got the following error (see stacktrace below). > > The build succeeds if I don't "deploy artifacts to artifactory". > > This behaviour has been observed fot > Jenkins version : > - 1.651.2 > - 1.651.3 > - 1.658 > - 2.9 > > and artifactory plugin 2.5.0 > > Am I missing something in the configuration, or someone experienced the > same issue ? > > Best, > > Matthieu > > ERROR: Processing failed due to a bug in the code. Please report this to > [email protected] <javascript:> > 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:931) > at > hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56) > at > hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:166) > at > hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:622) > at > hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) > at hudson.model.Run.execute(Run.java:1720) > at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) > at hudson.model.ResourceController.execute(ResourceController.java:98) > at hudson.model.Executor.run(Executor.java:410) > Caused by: java.io.IOException: Remote call on [[mycomp]] failed > at hudson.remoting.Channel.call(Channel.java:789) > at hudson.FilePath.act(FilePath.java:1102) > 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 > Caused by: java.lang.NoClassDefFoundError: > org/codehaus/plexus/classworlds/realm/ClassRealm > at > org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:45) > at > org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:33) > at hudson.remoting.UserRequest.perform(UserRequest.java:153) > at hudson.remoting.UserRequest.perform(UserRequest.java:50) > at hudson.remoting.Request$2.run(Request.java:332) > at > hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) > 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:745) > at ......remote call to [[mycomp]] (Native Method) > at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) > at hudson.remoting.UserResponse.retrieve(UserRequest.java:253) > at hudson.remoting.Channel.call(Channel.java:781) > ... 15 more > Caused by: java.lang.ClassNotFoundException: > org.codehaus.plexus.classworlds.realm.ClassRealm > at > jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) > at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) > at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > at > hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:761) > at > hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:803) > at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:884) > at hudson.remoting.Request$2.run(Request.java:332) > at > hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) > at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18) > at > hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) > at > jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) > 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:745) > at ......remote call to channel(Native Method) > at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) > at hudson.remoting.Request.call(Request.java:172) > at > hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:252) > at com.sun.proxy.$Proxy5.fetch3(Unknown Source) > at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:171) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > at > org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:45) > at > org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:33) > at hudson.remoting.UserRequest.perform(UserRequest.java:153) > at hudson.remoting.UserRequest.perform(UserRequest.java:50) > at hudson.remoting.Request$2.run(Request.java:332) > at > hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) > 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:745) > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7c88cd21-37a0-4c75-a88e-588762469666%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
