Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-863

Possible NPEx in Maven30DependencyResolver.resolveDependencies

    XMLWordPrintableJSON

Details

    Description

      Possible NPEx in Maven30DependencyResolver.resolveDependencies

              List<Dependency> aetherDependencies = new ArrayList<Dependency>( mavenDependencies.size() );
      
               if ( mavenDependencies != null )
               {
                   aetherDependencies = new ArrayList<Dependency>( mavenDependencies.size() );
      ...
      

      Line 161

               if ( mavenDependencies != null )
      

      suggests that mavenDependencies can be null.
      However in such case previous mavenDependencies.size() results in NPEx.

      Attachments

        Issue Links

          Activity

            People

              khmarbaise Karl Heinz Marbaise
              pzygielo Piotr Zygielo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m