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

Internal Error verifying Doxia site

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.1
    • 3.6.3
    • None
    • None

    Description

      Checked out doxia-site from https://github.com/apache/maven-doxia-site and ran mvn verify on Linux with JDK 8.

       

      I estimate there's three different errors here to make this happen. This issue is for whatever in core is causing an InternalErrorException when likely faced with a somehow broken project setup.

       

      elharo@elharo1:~/maven-doxia-site$ mvn verify
       [INFO] Scanning for projects...
       Downloading from apache.snapshots: [https://repository.apache.org/snapshots/org/apache/maven/maven-parent/34-SNAPSHOT/maven-metadata.xml]
       Downloading from apache.snapshots: [https://repository.apache.org/snapshots/org/apache/apache/22-SNAPSHOT/maven-metadata.xml]
       [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:120)
       at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
       at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
       at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
       at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:498)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
       at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
       Caused by: java.lang.NullPointerException
       at org.apache.maven.model.plugin.DefaultReportingConverter.convert (DefaultReportingConverter.java:243)
       at org.apache.maven.model.plugin.DefaultReportingConverter.convert (DefaultReportingConverter.java:213)
       at org.apache.maven.model.plugin.DefaultReportingConverter.convertReporting (DefaultReportingConverter.java:140)
       at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBuilder.java:479)
       at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBuilder.java:432)
       at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:616)
       at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:385)
       at org.apache.maven.graph.DefaultGraphBuilder.collectProjects (DefaultGraphBuilder.java:414)
       at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor (DefaultGraphBuilder.java:405)
       at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.java:82)
       at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
       at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
       at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
       at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
       at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
       at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:498)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
       at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
       [ERROR] 
       [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
       [ERROR] Re-run Maven using the -X switch to enable full debug logging.
       [ERROR] 
       [ERROR] For more information about the errors and possible solutions, please read the following articles:
       [ERROR] [Help 1] [http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException]
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            elharo Elliotte Rusty Harold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: