You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Miguel Carvalho <mc...@infopulse.pt> on 2001/03/30 13:14:34 UTC

Error!

Hi, when i try to connect to www.cyberteams.com:8080, in the moment i introduce the password (the server it's working fine cause i tested it in ie) i get (after inserting the correct passwd):

java.lang.StringIndexOutOfBoundsException: String index out of range: -30
        at java.lang.String.substring(String.java, Compiled Code)
        at org.apache.webdav.util.GenericURI.getPath(GenericURI.java:672)
        at org.apache.webdav.util.GenericURI.getPath(GenericURI.java:647)
        at org.apache.webdav.util.WebdavResource.propfindMethod(WebdavResource.j
ava:1409)
        at org.apache.webdav.util.WebdavResource.setAllProp(WebdavResource.java,
 Compiled Code)
        at org.apache.webdav.util.WebdavResource.setHttpUrl(WebdavResource.java:
370)
        at org.apache.webdav.util.WebdavResource.<init>(WebdavResource.java:115)

        at org.apache.webdav.cmd.Slide.processCommands(Slide.java, Compiled Code
)
        at org.apache.webdav.cmd.Slide$1.run(Slide.java:184)
        at java.lang.Thread.run(Thread.java:479)
Please, email to slide-user@jakarta.apache.org

C:\Program Files\Apache Group\jakarta-tomcat-4.0-b1\jakarta-slide\client\bin>run
2

how can i solve it?

thanks, maik

Re: Error!

Posted by Miguel Carvalho <mc...@infopulse.pt>.
Thanks, it's working fine...
maik

----- Original Message ----- 
From: "Park, Sung-Gu" <je...@thinkfree.com>
To: <sl...@jakarta.apache.org>
Sent: Monday, April 02, 2001 2:30 PM
Subject: Re: Error!


> 
> ----- Original Message ----- 
> From: "Miguel Carvalho" <mc...@infopulse.pt>
> To: <sl...@jakarta.apache.org>
> Sent: Monday, April 02, 2001 7:03 PM
> Subject: Re: Error!
> 
> 
> > Hi!
> > Maybe that was the problem... I use # in my passwd. You said you have
> > commited the patch. Where can i find it and how i upgrade slide?
> > thanks, maik
> > 
> 
> You can download the nightly build, here
> http://jakarta.apache.org/builds/jakarta-slide/nightly/
> 
> Sung-Gu
> 


Re: Error!

Posted by "Park, Sung-Gu" <je...@thinkfree.com>.
----- Original Message ----- 
From: "Miguel Carvalho" <mc...@infopulse.pt>
To: <sl...@jakarta.apache.org>
Sent: Monday, April 02, 2001 7:03 PM
Subject: Re: Error!


> Hi!
> Maybe that was the problem... I use # in my passwd. You said you have
> commited the patch. Where can i find it and how i upgrade slide?
> thanks, maik
> 

You can download the nightly build, here
http://jakarta.apache.org/builds/jakarta-slide/nightly/

Sung-Gu



Re: Error!

Posted by Miguel Carvalho <mc...@infopulse.pt>.
Hi!
Maybe that was the problem... I use # in my passwd. You said you have
commited the patch. Where can i find it and how i upgrade slide?
thanks, maik

----- Original Message -----
From: "Park, Sung-Gu" <je...@thinkfree.com>
To: <sl...@jakarta.apache.org>
Cc: <mc...@infopulse.pt>
Sent: Saturday, March 31, 2001 5:03 AM
Subject: Re: Error!


> > Do you happen to have the characters like '#', '?' or '/' as your
> password?
> > It's a bug.   :(
> > If you want to use the Slide client, avoid to use those characters as
your
> > password.
> > Then you're ok with the Slide client in the 1.0.9 and below releases,
> right
> > now.
> >
> > Just right before, I commited the patch for it.
> > However, It still have a bug with the character '/'.
> > You're safe with '#' and '?' special characters on the pactched version.
> >
> > A solution to solve this problem (now only the problem with the '/'
> > character) will provided a while later.   ^^;
>
> Well, I bet I should use encoding for this problem.   :(
> There is the additional problem with "@" and ":" (including '/').
>
> Sung-Gu
>


Re: Error!

Posted by "Park, Sung-Gu" <je...@thinkfree.com>.
> Do you happen to have the characters like '#', '?' or '/' as your
password?
> It's a bug.   :(
> If you want to use the Slide client, avoid to use those characters as your
> password.
> Then you're ok with the Slide client in the 1.0.9 and below releases,
right
> now.
>
> Just right before, I commited the patch for it.
> However, It still have a bug with the character '/'.
> You're safe with '#' and '?' special characters on the pactched version.
>
> A solution to solve this problem (now only the problem with the '/'
> character) will provided a while later.   ^^;

Well, I bet I should use encoding for this problem.   :(
There is the additional problem with "@" and ":" (including '/').

Sung-Gu



Re: Error!

Posted by "Park, Sung-Gu" <je...@thinkfree.com>.
> > > ----- Original Message -----
> > > From: Miguel Carvalho
> > > To: slide-user@jakarta.apache.org
> > > Sent: Friday, March 30, 2001 8:14 PM
> > > Subject: Error!
> > >
> > >
> > > Hi, when i try to connect to www.cyberteams.com:8080, in the moment i
> > > introduce the password (the server it's working fine cause i tested it
> in
> > > ie) i get (after inserting the correct passwd):
> > >
> > > java.lang.StringIndexOutOfBoundsException: String index out of
> range: -30

Do you happen to have the characters like '#', '?' or '/' as your password?
It's a bug.   :(
If you want to use the Slide client, avoid to use those characters as your
password.
Then you're ok with the Slide client in the 1.0.9 and below releases, right
now.

Just right before, I commited the patch for it.
However, It still have a bug with the character '/'.
You're safe with '#' and '?' special characters on the pactched version.

A solution to solve this problem (now only the problem with the '/'
character)
will provided a while later.   ^^;

Sung-Gu



Re: Error!

Posted by "Park, Sung-Gu" <je...@thinkfree.com>.
----- Original Message -----
From: "Miguel Carvalho" <mc...@infopulse.pt>
To: <sl...@jakarta.apache.org>
Sent: Friday, March 30, 2001 10:41 PM
Subject: Re: Error!


> i'm trying to do:open http://www.cyberteams.com:8080
> I'm running jakarta-slide-1.0.9.

Hmm...  Then I think it shouldn't have a problem.
Are you sure the web site to support WebDAV?
I couldn't test it for www.cyberteams.com:8080
Because I don't have an account.

> Does that help you helping me?

It's so hard for me to just guessing why it doesn't work...
:(

Sung-Gu


> ----- Original Message -----
> From: "Park, Sung-Gu" <je...@thinkfree.com>
> To: <mc...@infopulse.pt>
> Cc: <sl...@jakarta.apache.org>
> Sent: Friday, March 30, 2001 1:16 PM
> Subject: Re: Error!
>
>
> > I'm wondering what's your command like?
> > "run http://www.cyberteams.com:8080,  "open
> http://www.cyberteams.com:8080?
> > Which one or what?
> >
> > And I'm wondering which version of slide you installed?
> > Please, refer to http://jakarta.apache.org/slide/release.html
> >
> > If you put your command like "www.cyberteams.com:8080/",
> > I guess you can slove it promptly.
> >
> > Sung-Gu
> >
> >
> > ----- Original Message -----
> > From: Miguel Carvalho
> > To: slide-user@jakarta.apache.org
> > Sent: Friday, March 30, 2001 8:14 PM
> > Subject: Error!
> >
> >
> > Hi, when i try to connect to www.cyberteams.com:8080, in the moment i
> > introduce the password (the server it's working fine cause i tested it
in
> > ie) i get (after inserting the correct passwd):
> >
> > java.lang.StringIndexOutOfBoundsException: String index out of
range: -30
> >         at java.lang.String.substring(String.java, Compiled Code)
> >         at
org.apache.webdav.util.GenericURI.getPath(GenericURI.java:672)
> >         at
org.apache.webdav.util.GenericURI.getPath(GenericURI.java:647)
> >         at
> > org.apache.webdav.util.WebdavResource.propfindMethod(WebdavResource.j
> > ava:1409)
> >         at
> > org.apache.webdav.util.WebdavResource.setAllProp(WebdavResource.java,
> >  Compiled Code)
> >         at
> > org.apache.webdav.util.WebdavResource.setHttpUrl(WebdavResource.java:
> > 370)
> >         at
> > org.apache.webdav.util.WebdavResource.<init>(WebdavResource.java:115)
> >
> >         at org.apache.webdav.cmd.Slide.processCommands(Slide.java,
> Compiled
> > Code
> > )
> >         at org.apache.webdav.cmd.Slide$1.run(Slide.java:184)
> >         at java.lang.Thread.run(Thread.java:479)
> > Please, email to slide-user@jakarta.apache.org
> >
> > C:\Program Files\Apache
> > Group\jakarta-tomcat-4.0-b1\jakarta-slide\client\bin>run
> > 2
> >
> > how can i solve it?
> >
> > thanks, maik
>


Re: Error!

Posted by Miguel Carvalho <mc...@infopulse.pt>.
i'm trying to do:open http://www.cyberteams.com:8080
I'm running jakarta-slide-1.0.9.
Does that help you helping me?

Regards, maik
----- Original Message -----
From: "Park, Sung-Gu" <je...@thinkfree.com>
To: <mc...@infopulse.pt>
Cc: <sl...@jakarta.apache.org>
Sent: Friday, March 30, 2001 1:16 PM
Subject: Re: Error!


> I'm wondering what's your command like?
> "run http://www.cyberteams.com:8080,  "open
http://www.cyberteams.com:8080?
> Which one or what?
>
> And I'm wondering which version of slide you installed?
> Please, refer to http://jakarta.apache.org/slide/release.html
>
> If you put your command like "www.cyberteams.com:8080/",
> I guess you can slove it promptly.
>
> Sung-Gu
>
>
> ----- Original Message -----
> From: Miguel Carvalho
> To: slide-user@jakarta.apache.org
> Sent: Friday, March 30, 2001 8:14 PM
> Subject: Error!
>
>
> Hi, when i try to connect to www.cyberteams.com:8080, in the moment i
> introduce the password (the server it's working fine cause i tested it in
> ie) i get (after inserting the correct passwd):
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: -30
>         at java.lang.String.substring(String.java, Compiled Code)
>         at org.apache.webdav.util.GenericURI.getPath(GenericURI.java:672)
>         at org.apache.webdav.util.GenericURI.getPath(GenericURI.java:647)
>         at
> org.apache.webdav.util.WebdavResource.propfindMethod(WebdavResource.j
> ava:1409)
>         at
> org.apache.webdav.util.WebdavResource.setAllProp(WebdavResource.java,
>  Compiled Code)
>         at
> org.apache.webdav.util.WebdavResource.setHttpUrl(WebdavResource.java:
> 370)
>         at
> org.apache.webdav.util.WebdavResource.<init>(WebdavResource.java:115)
>
>         at org.apache.webdav.cmd.Slide.processCommands(Slide.java,
Compiled
> Code
> )
>         at org.apache.webdav.cmd.Slide$1.run(Slide.java:184)
>         at java.lang.Thread.run(Thread.java:479)
> Please, email to slide-user@jakarta.apache.org
>
> C:\Program Files\Apache
> Group\jakarta-tomcat-4.0-b1\jakarta-slide\client\bin>run
> 2
>
> how can i solve it?
>
> thanks, maik


Re: Error!

Posted by "Park, Sung-Gu" <je...@thinkfree.com>.
I'm wondering what's your command like?
"run www.cyberteams.com:8080",  "open www.cyberteams.com:8080"?
Which one or what?

And I'm wondering which version of slide you installed?
Please, refer to http://jakarta.apache.org/slide/release.html

If you put your command like "www.cyberteams.com:8080/",
I guess you can slove it promptly.

Sung-Gu


----- Original Message -----
From: Miguel Carvalho
To: slide-user@jakarta.apache.org
Sent: Friday, March 30, 2001 8:14 PM
Subject: Error!


Hi, when i try to connect to www.cyberteams.com:8080, in the moment i
introduce the password (the server it's working fine cause i tested it in
ie) i get (after inserting the correct passwd):

java.lang.StringIndexOutOfBoundsException: String index out of range: -30
        at java.lang.String.substring(String.java, Compiled Code)
        at org.apache.webdav.util.GenericURI.getPath(GenericURI.java:672)
        at org.apache.webdav.util.GenericURI.getPath(GenericURI.java:647)
        at
org.apache.webdav.util.WebdavResource.propfindMethod(WebdavResource.j
ava:1409)
        at
org.apache.webdav.util.WebdavResource.setAllProp(WebdavResource.java,
 Compiled Code)
        at
org.apache.webdav.util.WebdavResource.setHttpUrl(WebdavResource.java:
370)
        at
org.apache.webdav.util.WebdavResource.<init>(WebdavResource.java:115)

        at org.apache.webdav.cmd.Slide.processCommands(Slide.java, Compiled
Code
)
        at org.apache.webdav.cmd.Slide$1.run(Slide.java:184)
        at java.lang.Thread.run(Thread.java:479)
Please, email to slide-user@jakarta.apache.org

C:\Program Files\Apache
Group\jakarta-tomcat-4.0-b1\jakarta-slide\client\bin>run
2

how can i solve it?

thanks, maik