[
https://jira.codehaus.org/browse/MSITE-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297961#comment-297961
]
Johannes Schneider commented on MSITE-619:
------------------------------------------
What about changing the xsd? Marking "href" as required could help.
> Method calculateLink threw exception for reference $PathTool
> ------------------------------------------------------------
>
> Key: MSITE-619
> URL: https://jira.codehaus.org/browse/MSITE-619
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: Maven 3, site descriptor
> Affects Versions: 3.0
> Environment: Maven 3.0.3, MacOS-X 10.6.8
> Reporter: Oliver Boehm
>
> 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:
> -
> http://patterntesting.cvs.sourceforge.net/viewvc/patterntesting/PatternTesting10/patterntesting-parent/pom.xml
> -
> http://patterntesting.cvs.sourceforge.net/viewvc/patterntesting/PatternTesting10/patterntesting-rt/pom.xml
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira