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

NullPointerException in IvyArtifactReport

    XMLWordPrintableJSON

Details

    Description

      IvyArtifacReport fails when a depency haven't an associated module revision. In my case, it occurs on commons-lang 1.0 which is evicted by commons-lang 2.1.

      Something like this in IvyArtifacReport.generateXml fixes the problem :

      for (int i = 0; i < dependencies.length; i++) {
      IvyNode dependency = dependencies[i];

      + if (dependency.getModuleRevision() == null)

      { + continue; + }

      Attachments

        Activity

          People

            xavier Xavier Hanin
            alban Alban Peignier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: