[HAP-900] Jenkins | Artifact resolution fails - plugin 2.9.2 Created: 28/Mar/17  Updated: 14/Nov/17  Resolved: 25/Jun/17

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: Maven3
Affects Version/s: 2.10.3
Fix Version/s: 2.10.4

Type: Bug Priority: Critical
Reporter: Moshe Zvi Assignee: Yahav Itzhak
Resolution: Fixed Votes: 0
Labels: None
Environment:

Jenkins - 2.4.7



 Description   

After upgrading to the latest plugin version (2.9.2), builds fail with the following error:
[ERROR] Failed while enforcing Artifactory artifact resolver

Downgrading to 2.9.0 solved the issue.
========================================
Full log:
19:29:36 [ERROR] Failed while enforcing Artifactory artifact resolver
19:29:36 org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Guice provision errors:
19:29:36
19:29:36 1) Error in requirement: public org.eclipse.aether.internal.impl.DefaultArtifactResolver org.eclipse.aether.internal.impl.DefaultArtifactResolver.setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory)
19:29:36 at ClassRealm[plexus.core, parent: null]
19:29:36 while locating org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseArtifactResolver
19:29:36
19:29:36 1 error
19:29:36 role: org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseArtifactResolver
19:29:36 roleHint:
19:29:36 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:264)
19:29:36 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:240)
19:29:36 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234)
19:29:36 at org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseRepositoryListener.enforceArtifactoryResolver(ArtifactoryEclipseRepositoryListener.java:71)
19:29:36 at org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseRepositoryListener.contextualize(ArtifactoryEclipseRepositoryListener.java:258)
19:29:36 at org.eclipse.sisu.plexus.PlexusLifecycleManager.contextualize(PlexusLifecycleManager.java:322)
19:29:36 at org.eclipse.sisu.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:297)
19:29:36 at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:143)
19:29:36 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
19:29:36 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
19:29:36 at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
19:29:36 at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
19:29:36 at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
19:29:36 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
19:29:36 at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
19:29:36 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
19:29:36 at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
19:29:36 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
19:29:36 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
19:29:36 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
19:29:36 at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
19:29:36 at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
19:29:36 at org.eclipse.sisu.wire.EntryListAdapter$ValueIterator.next(EntryListAdapter.java:111)
19:29:36 at org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher.dispatch(DefaultRepositoryEventDispatcher.java:109)
19:29:36 at org.eclipse.aether.internal.impl.DefaultMetadataResolver.metadataResolving(DefaultMetadataResolver.java:492)
19:29:36 at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolve(DefaultMetadataResolver.java:249)
19:29:36 at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolveMetadata(DefaultMetadataResolver.java:218)
19:29:36 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveMetadata(DefaultRepositorySystem.java:310)
19:29:36 at org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.resolveFromRepository(DefaultPluginVersionResolver.java:133)
19:29:36 at org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.resolve(DefaultPluginVersionResolver.java:96)
19:29:36 at org.apache.maven.lifecycle.internal.LifecyclePluginResolver.resolveMissingPluginVersions(LifecyclePluginResolver.java:71)
19:29:36 at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:116)
19:29:36 at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:135)
19:29:36 at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:97)
19:29:36 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
19:29:36 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
19:29:36 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
19:29:36 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
19:29:36 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
19:29:36 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
19:29:36 at org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132)
19:29:36 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19:29:36 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
19:29:36 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
19:29:36 at java.lang.reflect.Method.invoke(Method.java:497)
19:29:36 at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
19:29:36 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
19:29:36 at ****.maven3.agent.Maven32Main.launch(Maven32Main.java:186)
19:29:36 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19:29:36 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
19:29:36 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
19:29:36 at java.lang.reflect.Method.invoke(Method.java:497)
19:29:36 at hudson.maven.Maven3Builder.call(Maven3Builder.java:139)
19:29:36 at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
19:29:36 at hudson.remoting.UserRequest.perform(UserRequest.java:153)
19:29:36 at hudson.remoting.UserRequest.perform(UserRequest.java:50)
19:29:36 at hudson.remoting.Request$2.run(Request.java:336)
19:29:36 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
19:29:36 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
19:29:36 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
19:29:36 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
19:29:36 at java.lang.Thread.run(Thread.java:745)
19:29:36 Caused by: com.google.inject.ProvisionException: Guice provision errors:
19:29:36
19:29:36 1) Error in requirement: public org.eclipse.aether.internal.impl.DefaultArtifactResolver org.eclipse.aether.internal.impl.DefaultArtifactResolver.setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory)
19:29:36 at ClassRealm[plexus.core, parent: null]
19:29:36 while locating org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseArtifactResolver
19:29:36
19:29:36 1 error
19:29:36 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1006)
19:29:36 at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
19:29:36 at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
19:29:36 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)
19:29:36 ... 61 more
19:29:36 Caused by: java.lang.TypeNotPresentException: Type org.eclipse.aether.internal.impl.slf4j.Slf4jLoggerFactory not present
19:29:36 at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:111)
19:29:36 at org.eclipse.sisu.space.NamedClass.load(NamedClass.java:46)
19:29:36 at org.eclipse.sisu.plexus.RequirementImpl.role(RequirementImpl.java:86)
19:29:36 at org.eclipse.sisu.plexus.Roles.roleType(Roles.java:85)
19:29:36 at org.eclipse.sisu.plexus.PlexusRequirements.lookup(PlexusRequirements.java:70)
19:29:36 at org.eclipse.sisu.plexus.PlexusPropertyBinder.bindProperty(PlexusPropertyBinder.java:119)
19:29:36 at org.eclipse.sisu.bean.BeanListener.hear(BeanListener.java:71)
19:29:36 at com.google.inject.internal.MembersInjectorStore.createWithListeners(MembersInjectorStore.java:103)
19:29:36 at com.google.inject.internal.MembersInjectorStore.access$000(MembersInjectorStore.java:35)
19:29:36 at com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:43)
19:29:36 at com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:40)
19:29:36 at com.google.inject.internal.FailableCache$1.apply(FailableCache.java:38)
19:29:36 at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:356)
19:29:36 at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:182)
19:29:36 at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:151)
19:29:36 at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:67)
19:29:36 at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:883)
19:29:36 at com.google.inject.internal.FailableCache.get(FailableCache.java:49)
19:29:36 at com.google.inject.internal.MembersInjectorStore.get(MembersInjectorStore.java:66)
19:29:36 at com.google.inject.internal.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:74)
19:29:36 at com.google.inject.internal.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
19:29:36 at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:37)
19:29:36 at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
19:29:36 at com.google.inject.internal.FailableCache$1.apply(FailableCache.java:38)
19:29:36 at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:356)
19:29:36 at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:182)
19:29:36 at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:151)
19:29:36 at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:67)
19:29:36 at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:883)
19:29:36 at com.google.inject.internal.FailableCache.get(FailableCache.java:49)
19:29:36 at com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjectorStore.java:50)
19:29:36 at com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:137)
19:29:36 at com.google.inject.internal.InjectorImpl.initializeBinding(InjectorImpl.java:529)
19:29:36 at com.google.inject.internal.AbstractBindingProcessor$Processor$1.run(AbstractBindingProcessor.java:179)
19:29:36 at com.google.inject.internal.ProcessedBindingData.initializeBindings(ProcessedBindingData.java:44)
19:29:36 at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:123)
19:29:36 at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
19:29:36 at com.google.inject.Guice.createInjector(Guice.java:96)
19:29:36 at com.google.inject.Guice.createInjector(Guice.java:73)
19:29:36 at com.google.inject.Guice.createInjector(Guice.java:62)
19:29:36 at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:477)
19:29:36 at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:203)
19:29:36 at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:167)
19:29:36 at org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:101)
19:29:36 ... 21 more
19:29:36 Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.internal.impl.slf4j.Slf4jLoggerFactory
19:29:36 at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
19:29:36 at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
19:29:36 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
19:29:36 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
19:29:36 at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
19:29:36 ... 64 more
19:29:36 [WARNING] Failed to dispatch repository event to org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseRepositoryListener: null
19:29:36 [WARNING] Failed to dispatch repository event to org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseRepositoryListener: null
19:29:36 [WARNING] Failed to dispatch repository event to org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseRepositoryListener: null
19:29:36 [INFO] Downloading: http://repo.maven.apache.org/maven2/org/jacoco/jacoco-maven-plugin/maven-metadata.xml
19:29:36 [INFO] Downloading: http://jcenter.bintray.com/org/jacoco/jacoco-maven-plugin/maven-metadata.xml
19:29:36 [INFO] Downloading: http://onejar-maven-plugin.googlecode.com/svn/mavenrepo/org/jacoco/jacoco-maven-plugin/maven-metadata.xml
19:29:36 log4j:WARN No appenders could be found for logger (org.apache.maven.wagon.providers.http.httpclient.client.protocol.RequestAddCookies).
19:29:36 log4j:WARN Please initialize the log4j system properly.
19:29:36 log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
19:29:36 log4j:WARN No appenders could be found for logger (org.apache.maven.wagon.providers.http.httpclient.client.protocol.RequestAddCookies).
19:29:36 log4j:WARN Please initialize the log4j system properly.
19:29:36 log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
19:29:36 log4j:WARN No appenders could be found for logger (org.apache.maven.wagon.providers.http.httpclient.client.protocol.RequestAddCookies).
19:29:36 log4j:WARN Please initialize the log4j system properly.
19:29:36 log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
19:29:36 [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/jacoco/jacoco-maven-plugin/maven-metadata.xml (2 KB at 3.4 KB/sec)
19:29:36 [INFO] Downloaded: http://jcenter.bintray.com/org/jacoco/jacoco-maven-plugin/maven-metadata.xml (2 KB at 2.6 KB/sec)
20:19:28 Build timed out (after 50 minutes). Marking the build as failed.
20:19:28 [ERROR] Failed while waiting for Artifactory repositories enforcement
20:19:28 java.lang.InterruptedException
20:19:28 at java.lang.Object.wait(Native Method)
20:19:28 at java.lang.Object.wait(Object.java:502)
20:19:28 at org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseRepositoryListener.waitForResolutionToBeSet(ArtifactoryEclipseRepositoryListener.java:113)
20:19:28 at org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseRepositoryListener.artifactResolved(ArtifactoryEclipseRepositoryListener.java:226)
20:19:28 at org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher.dispatch(DefaultRepositoryEventDispatcher.java:154)
20:19:28 at org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher.dispatch(DefaultRepositoryEventDispatcher.java:111)
20:19:28 at org.eclipse.aether.internal.impl.DefaultArtifactResolver.artifactResolved(DefaultArtifactResolver.java:688)
20:19:28 at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:369)
20:19:28 at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
20:19:28 at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
20:19:28 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:334)
20:19:28 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:231)
20:19:28 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.readArtifactDescriptor(DefaultRepositorySystem.java:288)
20:19:28 at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:108)
20:19:28 at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:148)
20:19:28 at org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.isCompatible(DefaultPluginVersionResolver.java:254)
20:19:28 at org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.selectVersion(DefaultPluginVersionResolver.java:169)
20:19:28 at org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.resolveFromRepository(DefaultPluginVersionResolver.java:148)
20:19:28 at org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.resolve(DefaultPluginVersionResolver.java:96)
20:19:28 at org.apache.maven.lifecycle.internal.LifecyclePluginResolver.resolveMissingPluginVersions(LifecyclePluginResolver.java:71)
20:19:28 at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:116)
20:19:28 at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:135)
20:19:28 at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:97)
20:19:28 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
20:19:28 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
20:19:28 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
20:19:28 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
20:19:28 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
20:19:28 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
20:19:28 at org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132)
20:19:28 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:19:28 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20:19:28 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:19:28 at java.lang.reflect.Method.invoke(Method.java:497)
20:19:28 Set build name.
20:19:28 at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
20:19:28 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
20:19:28 at ****.maven3.agent.Maven32Main.launch(Maven32Main.java:186)
20:19:28 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:19:28 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20:19:28 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:19:28 at java.lang.reflect.Method.invoke(Method.java:497)
20:19:28 at hudson.maven.Maven3Builder.call(Maven3Builder.java:139)
20:19:28 at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
20:19:28 at hudson.remoting.UserRequest.perform(UserRequest.java:153)
20:19:28 at hudson.remoting.UserRequest.perform(UserRequest.java:50)
20:19:28 at hudson.remoting.Request$2.run(Request.java:336)
20:19:28 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
20:19:28 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
20:19:28 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
20:19:28 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
20:19:28 at java.lang.Thread.run(Thread.java:745)
20:19:28 [WARNING] Failed to dispatch repository event to org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseRepositoryListener: null
20:19:28 channel stopped



 Comments   
Comment by Joseph Mocker [ 04/Apr/17 ]

I see the same problem with plugin version 2.10.1 and Jenkins 2.53. Downgrading to 2.9.0 worked for me for now.

Comment by Nikolas Falco [ 07/Apr/17 ]

Same problem here updating plugin greater than 2.9.1 I got that exception

Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.internal.impl.slf4j.Slf4jLoggerFactory
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
	at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
	... 64 more

This is a blocking issue, becuase 2.9.1 fails on when gather build info!

Comment by Nikolas Falco [ 10/Apr/17 ]

The issue happens when the jenkins job is of kind Maven and use a maven 3.2.1. Switch to maven 3.3.9 the issue not happens.

Comment by Alex Doan [ 17/Apr/17 ]

we're having the same issue with 2.10.3 and maven 3.1.1

Comment by Alex Doan [ 18/Apr/17 ]

had to revert 2.9.0.

Comment by Yahav Itzhak [ 20/Apr/17 ]

We fixed the issue. Here is the link to the commit:
https://github.com/JFrogDev/jenkins-artifactory-plugin/commit/1b1802fbf91d7b67d7ac35d49b0cd15080b94c95

Here is a download link for a snapshot version which includes the fix:

https://oss.jfrog.org/oss-snapshot-local/org/jenkins-ci/plugins/artifactory/2.10.4-SNAPSHOT/artifactory-2.10.4-20170420.231310-7.hpi

We would appreciate your feedback for it.

Comment by Eyal Ben Moshe [ 20/Apr/17 ]

I've just updated the download link in the previous comment.
Please use the following download link for the snapshot version with the fix:
https://oss.jfrog.org/oss-snapshot-local/org/jenkins-ci/plugins/artifactory/2.10.4-SNAPSHOT/artifactory-2.10.4-20170420.231310-7.hpi
Looking forward to your feedback for it. Thanks.

Generated at Sun Oct 20 05:52:34 UTC 2019 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.