You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by luis novais <ln...@yahoo.com> on 2005/11/29 16:03:47 UTC

Problem uploading a pom.xml --- String index out of range: -16

When entering the url in: Add Maven 2.0+ Project
http://130.144.20.108:4001/maven/com/philips/maven/plugins/msh-maven-plugin/0.1/msh-maven-plugin-0.1.pom
 
I get an error: 
The URL you provided doesn't exist 

and in the console:
 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)



Help anyone? Does the port number influences this
behavior?

Thanks in advance
Luis


		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Re: Problem uploading a pom.xml --- String index out of range: -16

Posted by Emmanuel Venisse <em...@venisse.net>.
it's a bug a our url parser with port, please file an issue.

Emmanuel

Brett Porter a écrit :
> I think this is only if you are using the lower Upload box. If you
> used the topmost URL box and got this error, its a bug - please file
> it at http://jira.codehaus.org/browse/CONTINUUM
> 
> On 11/30/05, Allan Ramirez <ar...@exist.com> wrote:
> 
>>Hi luis,
>>
>>You must upload a pom.xml file not with a <filename>.pom
>>
>>regards,
>>-allan
>>
>>luis novais wrote:
>>
>>
>>>When entering the url in: Add Maven 2.0+ Project
>>>http://130.144.20.108:4001/maven/com/philips/maven/plugins/msh-maven-plugin/0.1/msh-maven-plugin-0.1.pom
>>>
>>>I get an error:
>>>The URL you provided doesn't exist
>>>
>>>and in the console:
>>>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)
>>>
>>>
>>>
>>>Help anyone? Does the port number influences this
>>>behavior?
>>>
>>>Thanks in advance
>>>Luis
>>>
>>>
>>>
>>>__________________________________
>>>Yahoo! Music Unlimited
>>>Access over 1 million songs. Try it free.
>>>http://music.yahoo.com/unlimited/
>>>
>>>
>>>
>>>
>>>__________________________________
>>>Yahoo! Mail - PC Magazine Editors' Choice 2005
>>>http://mail.yahoo.com
>>>
>>>
>>>
>>>
>>
>>
> 
> 
> 


Re: Problem uploading a pom.xml --- String index out of range: -16

Posted by luis novais <ln...@yahoo.com>.
Yes, I've used the topmost URL box.
I'll file a bug.

Regards,
Luis

--- Brett Porter <br...@gmail.com> wrote:

> I think this is only if you are using the lower
> Upload box. If you
> used the topmost URL box and got this error, its a
> bug - please file
> it at http://jira.codehaus.org/browse/CONTINUUM
> 
> On 11/30/05, Allan Ramirez <ar...@exist.com>
> wrote:
> > Hi luis,
> >
> > You must upload a pom.xml file not with a
> <filename>.pom
> >
> > regards,
> > -allan
> >
> > luis novais wrote:
> >
> > >When entering the url in: Add Maven 2.0+ Project
> >
>
>http://130.144.20.108:4001/maven/com/philips/maven/plugins/msh-maven-plugin/0.1/msh-maven-plugin-0.1.pom
> > >
> > >I get an error:
> > >The URL you provided doesn't exist
> > >
> > >and in the console:
> > > 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)
> > >
> > >
> > >
> > >Help anyone? Does the port number influences this
> > >behavior?
> > >
> > >Thanks in advance
> > >Luis
> > >
> > >
> > >
> > >__________________________________
> > >Yahoo! Music Unlimited
> > >Access over 1 million songs. Try it free.
> > >http://music.yahoo.com/unlimited/
> > >
> > >
> > >
> > >
> > >__________________________________
> > >Yahoo! Mail - PC Magazine Editors' Choice 2005
> > >http://mail.yahoo.com
> > >
> > >
> > >
> > >
> >
> >
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


		
__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com


Re: Problem uploading a pom.xml --- String index out of range: -16

Posted by Brett Porter <br...@gmail.com>.
I think this is only if you are using the lower Upload box. If you
used the topmost URL box and got this error, its a bug - please file
it at http://jira.codehaus.org/browse/CONTINUUM

On 11/30/05, Allan Ramirez <ar...@exist.com> wrote:
> Hi luis,
>
> You must upload a pom.xml file not with a <filename>.pom
>
> regards,
> -allan
>
> luis novais wrote:
>
> >When entering the url in: Add Maven 2.0+ Project
> >http://130.144.20.108:4001/maven/com/philips/maven/plugins/msh-maven-plugin/0.1/msh-maven-plugin-0.1.pom
> >
> >I get an error:
> >The URL you provided doesn't exist
> >
> >and in the console:
> > 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)
> >
> >
> >
> >Help anyone? Does the port number influences this
> >behavior?
> >
> >Thanks in advance
> >Luis
> >
> >
> >
> >__________________________________
> >Yahoo! Music Unlimited
> >Access over 1 million songs. Try it free.
> >http://music.yahoo.com/unlimited/
> >
> >
> >
> >
> >__________________________________
> >Yahoo! Mail - PC Magazine Editors' Choice 2005
> >http://mail.yahoo.com
> >
> >
> >
> >
>
>

Re: Problem uploading a pom.xml --- String index out of range: -16

Posted by Allan Ramirez <ar...@exist.com>.
Hi luis,

You must upload a pom.xml file not with a <filename>.pom

regards,
-allan

luis novais wrote:

>When entering the url in: Add Maven 2.0+ Project
>http://130.144.20.108:4001/maven/com/philips/maven/plugins/msh-maven-plugin/0.1/msh-maven-plugin-0.1.pom
> 
>I get an error: 
>The URL you provided doesn't exist 
>
>and in the console:
> 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)
>
>
>
>Help anyone? Does the port number influences this
>behavior?
>
>Thanks in advance
>Luis
>
>
>		
>__________________________________ 
>Yahoo! Music Unlimited 
>Access over 1 million songs. Try it free. 
>http://music.yahoo.com/unlimited/
>
>
>	
>		
>__________________________________ 
>Yahoo! Mail - PC Magazine Editors' Choice 2005 
>http://mail.yahoo.com
>
>
>  
>