You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/04/24 22:28:46 UTC
[jira] Created: (MSITE-319) DefaultSiteTools fails on paths with
prefix "../"
DefaultSiteTools fails on paths with prefix "../"
-------------------------------------------------
Key: MSITE-319
URL: http://jira.codehaus.org/browse/MSITE-319
Project: Maven 2.x Site Plugin
Issue Type: Bug
Affects Versions: 2.0-beta-7
Reporter: Benjamin Bentmann
{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
[jira] Closed: (MSITE-319) DefaultSiteTools fails on paths with
prefix "../"
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MSITE-319.
-----------------------------------
Assignee: Benjamin Bentmann
Resolution: Fixed
Fix Version/s: 2.0-beta-7
Fixed in [r651401|http://svn.apache.org/viewvc?view=rev&revision=651401].
> DefaultSiteTools fails on paths with prefix "../"
> -------------------------------------------------
>
> Key: MSITE-319
> URL: http://jira.codehaus.org/browse/MSITE-319
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.0-beta-7
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Fix For: 2.0-beta-7
>
>
> {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
[jira] Updated: (MSHARED-15) DefaultSiteTools fails on paths with
prefix "../"
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Moved: (MSHARED-15) DefaultSiteTools fails on paths with
prefix "../"
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSHARED-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vincent Siveton moved MSITE-319 to MSHARED-15:
----------------------------------------------
Affects Version/s: (was: 2.0-beta-7)
Fix Version/s: (was: 2.0-beta-7)
Key: MSHARED-15 (was: MSITE-319)
Project: Maven Shared Components (was: Maven 2.x Site Plugin)
> 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
>
> {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
[jira] Updated: (MSHARED-15) DefaultSiteTools fails on paths with
prefix "../"
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSHARED-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vincent Siveton updated MSHARED-15:
-----------------------------------
Component/s: maven-doxia-tools
> 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
>
> {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