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

NPE in legacy.DefaultWagonManager.getArtifact

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Labels:
      None
    • Environment:
      At revision 998131; 1.6.0_21 (32-bit); win7ent-x64

      Description

      1. mvn archetype:create (with your favorite -DgroupId etc)
      2. add some non-local dependency to the pom (I used commons-jexl:2.0.1)
      3. mvn idea:idea
      4. kaboom

      The problem is that the Logger is declared as @Requirement but it is evidently not being provided (any path leading to a logging statement yields the NPE)

      I regret that I don't know enough plexus-voodoo to even create a TestCase for this.

        Attachments

        1. bug.log
          14 kB
          Matthew Daniel

          Activity

            People

            • Assignee:
              bentmann Benjamin Bentmann
              Reporter:
              mdaniel Matthew Daniel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: