Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-619

Method calculateLink threw exception for reference $PathTool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.0
    • None
    • Maven 3, site descriptor
    • None
    • Maven 3.0.3, MacOS-X 10.6.8

    Description

      After running 'mvn site:site' I get the following errors after upgrading to maven-site-plugin 3.0 (with 3.0-beta-3 this error does not happen!):

      ...
      [ERROR] Method calculateLink threw exception for reference $PathTool in template org/apache/maven/doxia/siterenderer/resources/default-site.vm at [2,31]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 34.451s
      [INFO] Finished at: Sun Nov 20 20:29:56 CET 2011
      [INFO] Final Memory: 22M/81M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-cli) on project patterntesting-rt: Error during page generation: Error while generating code. Invocation of method 'calculateLink' in class org.codehaus.plexus.util.PathTool threw exception java.lang.NullPointerException @ org/apache/maven/doxia/siterenderer/resources/default-site.vm[2,41] -> [Help 1]
      ...

      These are the POMs which are used:

      Attachments

        Activity

          People

            Unassigned Unassigned
            oboehm Oliver Boehm
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: