[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] StringIndexOutOfBoundsException when trying to set up password

From: Lance Walton <lancewalton_at_mac.com>
Date: 2006-01-31 22:19:49 CET

On 31 Jan 2006, at 19:20, Lance Walton wrote:

>
> On 31 Jan 2006, at 13:57, Mark Phippard wrote:
>
>> Lance Walton <lancewalton@mac.com> wrote on 01/30/2006 04:53:40 PM:
>>
>>> Eclipse 3.2M4
>>> Subclipse 0.9.105
>>>
>>> I'm trying to share a project and get to the 'Enter Username and
>>> Passord' dialog. When I've entered the information and click OK, the
>>> dialog sticks around and I have to cancel it. Looking in the logs
>>> shows the stack trace below (there are 21 characters in the
>>> password):
>>>
>>> java.lang.StringIndexOutOfBoundsException: String index out of
>>> range: 21
>>> at java.lang.String.getChars(String.java:721)
>>> at org.eclipse.swt.widgets.Text.getEditText(Text.java:1062)
>>> at org.eclipse.swt.widgets.Text.getText(Text.java:1008)
>>> at
>>> org.tigris.subversion.subclipse.ui.authentication.PasswordPromptDial
>>> og.o
>>
>>> kPressed(PasswordPromptDialog.java:112)
>>> at org.eclipse.jface.dialogs.Dialog.buttonPressed
>>> (Dialog.java:460)
>>> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected
>>> (Dialog.java:607)

By the way, in case anyone is interested, this problem has something
to do with pasting my password into the dialog, rather than typing
it. When you do this (at least in 3.2M4 on Mac OS X) the text is
shown in plain-text rather than blanked out with asterisks and then
the problem described above occurs. I'll report it on the Eclipse bug
tracker.

Regards,

Lance

----
Lance Walton
http://www.stateofflow.com
http://homepage.mac.com/LanceWalton
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Jan 31 22:20:21 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.