Maven
  1. Maven
  2. MNG-3919

NPE in DefaultLifecycleBindingManager

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0-alpha-1
    • Fix Version/s: 3.0-alpha-3
    • Component/s: Errors
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      1

      Description

      Running "mvn validate" on the attached POM delivers:

      java.lang.NullPointerException
              at org.apache.maven.lifecycle.binding.DefaultLifecycleBindingManager.getProjectCustomBindings(DefaultLifecycleBindingManager.java:251)
              at org.apache.maven.lifecycle.plan.DefaultBuildPlanner.constructBuildPlan(DefaultBuildPlanner.java:104)
              at org.apache.maven.lifecycle.plan.DefaultBuildPlanner.constructInitialProjectBuildPlan(DefaultBuildPlanner.java:72)
              at org.apache.maven.lifecycle.plan.DefaultBuildPlanner.constructInitialProjectBuildPlans(DefaultBuildPlanner.java:61)
              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:157)
              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:207)
              at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:851)
              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:169)
              at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
              at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
      
      1. pom.xml
        1 kB
        Benjamin Bentmann

        Issue Links

          Activity

          Brett Porter made changes -
          Field Original Value New Value
          Fix Version/s 3.0-alpha-3 [ 14719 ]
          Jason van Zyl made changes -
          Fix Version/s 3.0-alpha-3 [ 14719 ]
          Fix Version/s 3.0-alpha-4 [ 14951 ]
          Shane Isbell made changes -
          Assignee Shane Isbell [ sisbell ]
          Shane Isbell made changes -
          Fix Version/s 3.0-alpha-3 [ 14719 ]
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 3.0-alpha-4 [ 14951 ]
          Resolution Fixed [ 1 ]
          Shane Isbell made changes -
          Link This issue relates to MNG-3918 [ MNG-3918 ]

            People

            • Assignee:
              Shane Isbell
              Reporter:
              Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: