You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Julian Wood (JIRA)" <ji...@codehaus.org> on 2006/03/28 06:58:44 UTC

[jira] Commented: (MCHANGELOG-15) String index out of range error

    [ http://jira.codehaus.org/browse/MCHANGELOG-15?page=comments#action_62127 ] 

Julian Wood commented on MCHANGELOG-15:
---------------------------------------

The patch in MCHANGELOG-16 includes this patch, so I imagine we should skip this patch. Sorry for the dupe.

> String index out of range error
> -------------------------------
>
>          Key: MCHANGELOG-15
>          URL: http://jira.codehaus.org/browse/MCHANGELOG-15
>      Project: Maven 2.x Changelog Plugin
>         Type: Bug

>     Versions: 2.0
>  Environment: osx 10.4.5, java 1.4.2_09
>     Reporter: Julian Wood
>     Priority: Critical
>  Attachments: MCHANGELOG-15.patch
>
>
> Here's the relevant parts of my pom:
>   <scm>
>     <connection>scm:svn:http://apollo.ucalgary.ca:8800/pmgt/trunk</connection>
>     <developerConnection>scm:svn:http://apollo.ucalgary.ca:8800/pmgt/trunk</developerConnection>
>     <url>http://apollo.ucalgary.ca/websvncommons/listing.php?repname=pmgt&amp;rev=0&amp;sc=0&amp;path=/trunk</url>
>   </scm>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changelog-plugin</artifactId>
>         <version>2.0-beta-2-SNAPSHOT</version>
>         <reportSets>
>           <reportSet>
>             <id>changes</id>
>             <configuration>
>               <displayFileDetailUrl>http://apollo.ucalgary.ca/websvncommons/filedetails.php?repname=pmgt&amp;sc=0&amp;path=</displayFileDetailUrl>
>               <type>range</type>
>               <range>60</range>
>             </configuration>
>             <reports>
>               <report>changelog</report>
>               <report>file-activity</report>
>               <report>dev-activity</report>
>             </reports>
>           </reportSet>
>         </reportSets>
>       </plugin>
> I get this error when trying to build my site:
> [INFO] Executing: svn --non-interactive log -v -r "{2006-01-26 21:20:36 +0000}:{2006-03-28 21:20:36 +0000}" http://apollo.ucalgary.ca:8800/pmgt/trunk/pmgt-webapp
> [INFO] Working directory: /Users/woodj/Documents/pmgt/pmgt/trunk/pmgt-webapp/src/main/java
> [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:1768)
>         at java.lang.String.substring(String.java:1735)
>         at org.apache.maven.changelog.ChangeLogReport.initReportUrls(ChangeLogReport.java:973)
>         at org.apache.maven.changelog.ChangeLogReport.doChangedSetDetail(ChangeLogReport.java:934)
>         ...

-- 
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