[
https://issues.apache.org/jira/browse/MNG-7012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227861#comment-17227861
]
Michael Osipov commented on MNG-7012:
-------------------------------------
We don't support vendor-modified versions of Maven, especially Debian's. Use
stock Maven.
> Intermittent java.lang.IllegalStateException - entry has not been leased from
> this pool
> ---------------------------------------------------------------------------------------
>
> Key: MNG-7012
> URL: https://issues.apache.org/jira/browse/MNG-7012
> Project: Maven
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 3.6.0
> Environment: Docker (debian:buster as the parent)
> Reporter: Frank Rachel
> Priority: Major
>
> We are sporadically getting this error:
> {code:java}
> 2020:11:03-02:39:51 [WARNING] Failed to load provider from:
> org.codehaus.gmaven.runtime.loader.artifact.ArtifactProviderLoader@46256128
> org.apache.maven.artifact.resolver.ArtifactResolutionException: Could not
> transfer artifact jline:jline:jar:0.9.94 from/to internal-nexus
> (http://ml-pecb-dk01.alipacn.com:50005/repository/alip-repo/): Entry
> [id:541][route:{}->http://ml-pecb-dk01.alipacn.com:50005][state:null] has not
> been leased from this pool
> jline:jline:jar:0.9.94{code}
> in our builds when download artifact from our Nexus repo. This happened under
> 3.5.4, and stil under 3.6.0 (we can't yet upgrade to 3.6.3, but will be able
> to soon).
> It's not always on the same artifact as the exception. This seems to happen
> for about 10% of our builds.. we just re-run it and most of the times it then
> works.
> It also didn't seem to happen when we were using Artifactory (an old version)
> instead of Nexus, though not sure that's related since a lot of other things
> changed at the same time.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)