Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7012

Intermittent java.lang.IllegalStateException - entry has not been leased from this pool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 3.6.0
    • None
    • None
    • Docker (debian:buster as the parent)

    Description

      We are sporadically getting this error:

      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

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            frachel Frank Rachel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: