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
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&rev=0&sc=0&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&sc=0&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