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

NPE in org.apache.maven.DefaultMaven.execute()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • 3.2.1
    • None
    • Command Line
    • None

    Description

      Steps to reproduce:

      git clone git@github.com:windup/windup.git
      cd windup
      git checkout MavenNPE
      mvn clean install

      Result:

      [ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
      org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
              at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              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:415)
              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      Caused by: java.lang.NullPointerException
              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:270)
              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
              ... 11 more
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pekarna Ondra Žižka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: