Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.1
-
Fix Version/s: 1.0.2
-
Component/s: Web interface
-
Labels:None
-
Environment:Windows 2000 service pack4
-
Complexity:Intermediate
-
Number of attachments :
Description
After entering a pom url in the topmost upload box with the format:
http://my-address:my-port/maven/plugins/msh-maven-plugin/0.1/msh-maven-plugin-0.1.pom
The result was:
The URL you provided doesn't exist;
and in the console the output was:
2005-11-29 15:38:22,229 [SocketListener0-0] DEBUG Validator:url-source - An exception is occurred.
java.lang.StringIndexOutOfBoundsException: String
index out of range: -16
at java.lang.String.substring(String.java:1444)
at
org.codehaus.plexus.formica.util.MungedHttpsURL.scrapePassword(MungedHttpsURL.java:275)
at
org.codehaus.plexus.formica.util.MungedHttpsURL.<init>(MungedHttpsURL.java:64)
at
org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:59)
Done.