Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1233

Infinite loop in latest-compatible conflict manager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0-RC1
    • 2.3.0-RC1
    • Core
    • None

    Description

      Attempting to resolve org="com.gargoylesoftware" name="htmlunit" rev="2.7" from the Ivy RoundUp repository with the latest-compatible conflict manager configured leads to an infinite loop:

      $ ant
      Buildfile: build.xml
      
      clean:
      
      bug:
      [ivy:resolve] :: Ivy 2.2.0-rc1 - 20100629224905 :: http://ant.apache.org/ivy/ ::
      [ivy:resolve] :: loading settings :: file = /Users/archie/IVYBUG/settings.xml
      [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to evict org.apache.xerces#xerces;2.7+ in favor of org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for default]
      [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to evict org.apache.xerces#xerces;2.7+ in favor of org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for default]
      [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to evict org.apache.xerces#xerces;2.7+ in favor of org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for default]
      [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to evict org.apache.xerces#xerces;2.7+ in favor of org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for default]
      [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to evict org.apache.xerces#xerces;2.7+ in favor of org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for default]
      [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to evict org.apache.xerces#xerces;2.7+ in favor of org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for default]
      [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to evict org.apache.xerces#xerces;2.7+ in favor of org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for default]
      ...
      

      See attached test case. To run it, unpack ZIP file, cd into IVYBUG, copy ant-2.2.0-rc1.jar in the current directory and then run "ant".

      Attachments

        1. ivy-1233.patch
          5 kB
          Payam Hekmat
        2. ivy-1233-test.patch
          7 kB
          Payam Hekmat
        3. ivybug.zip
          1 kB
          Archie Cobbs

        Issue Links

          Activity

            People

              maartenc Maarten Coene
              archie172 Archie Cobbs
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: