XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2-beta-1
    • 2.2-beta-2
    • None
    • None

    Description

      org.apache.maven.plugin.assembly.archive.task.AddFileSetsTask line 76

      is a NullPointerException spot (which bit me when I tried to make a new plugin that extended the current abstract one). Line 78 checks if project is null and retrieves the project. However, line 76 uses the project before the check/assignment is done. Recommend moving line 76 to be after the line 78 check.

      Attachments

        1. npe-patch.txt
          0.8 kB
          Sejal Patel

        Activity

          People

            Unassigned Unassigned
            sepatel Sejal Patel
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: