maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MSHARED-15) DefaultSiteTools fails on paths with prefix "../"
Date Fri, 06 Jun 2008 23:21:14 GMT

     [ http://jira.codehaus.org/browse/MSHARED-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Lundberg updated MSHARED-15:
-----------------------------------

    Fix Version/s: maven-doxia-tools 1.0

> DefaultSiteTools fails on paths with prefix "../"
> -------------------------------------------------
>
>                 Key: MSHARED-15
>                 URL: http://jira.codehaus.org/browse/MSHARED-15
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-doxia-tools
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>             Fix For: maven-doxia-tools 1.0
>
>
> {noformat}
> [ERROR] NORMALIZE: ../../../../localhost/G/test/site
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] String index out of range: -1
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>         at java.lang.String.substring(String.java:1938)
>         at org.codehaus.plexus.util.FileUtils.normalize(FileUtils.java:1101)
>         at org.apache.maven.doxia.tools.DefaultSiteTool.getNormalizedPath(DefaultSiteTool.java:199)
>         at org.apache.maven.doxia.tools.DefaultSiteTool.getRelativePath(DefaultSiteTool.java:246)
>         at org.apache.maven.doxia.tools.DefaultSiteTool.appendMenuItem(DefaultSiteTool.java:1324)
>         at org.apache.maven.doxia.tools.DefaultSiteTool.populateModulesMenuItemsFromModels(DefaultSiteTool.java:1297)
>         at org.apache.maven.doxia.tools.DefaultSiteTool.populateModules(DefaultSiteTool.java:927)
>         at org.apache.maven.doxia.tools.DefaultSiteTool.getDecorationModel(DefaultSiteTool.java:551)
>         at org.apache.maven.plugins.site.AbstractSiteRenderingMojo.createSiteRenderingContext(AbstractSiteRenderingMojo.java:226)
>         at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:113)
>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96)
>         at org.apache.maven.plugins.site.SiteStageMojo.execute(SiteStageMojo.java:105)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message