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

dependencytree doesn't recognize circular references and dies with Stackoverflow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.4.0-RC1
    • None
    • Ant
    • None

    Description

      If you have a dependency, like batik libraries, in your project that have circular dependencies dependencytree fails with a stack overflow exception.

      <?xml version="1.0" encoding="UTF-8"?>
      <ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
          <info organisation="com.fuseanalaytics" module="fusearchiver"/>
      
          <configurations defaultconfmapping="default">
              <conf name="compile" visibility="public"/>
              <conf name="provided" visibility="public"/>
          </configurations>
      
           <dependencies defaultconf="compile->default">
              <dependency org="org.apache.xmlgraphics" name="batik-rasterizer" rev="1.7"/>
              <dependency org="org.apache.xmlgraphics" name="batik-rasterizer-ext" rev="1.7"/>
              <dependency org="org.apache.xmlgraphics" name="batik-extension" rev="1.7">
                  <exclude org="xml-apis"/>
              </dependency>
              <dependency org="org.apache.xmlgraphics" name="batik-codec" rev="1.7">
                  <exclude org="xml-apis"/>
              </dependency>
              <dependency org="org.apache.xmlgraphics" name="batik-css" rev="1.7"/>        
          </dependencies>
      </ivy-module>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chubbard Charlie Hubbard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: