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

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

From: Lance Walton <lancewalton_at_mac.com>
Date: 2006-01-30 22:53:40 CET

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.PasswordPromptDialog.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)
         at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:90)
         at org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1446)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1470)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1455)
         at org.eclipse.swt.widgets.Widget.notifyListeners
(Widget.java:1232)
         at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:3243)
         at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2894)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:
808)
         at org.eclipse.jface.window.Window.open(Window.java:786)
         at
org.tigris.subversion.subclipse.ui.authentication.SVNPromptUserPassword$
3.run(SVNPromptUserPassword.java:95)
         at org.eclipse.ui.internal.UILockListener.doPendingWork
(UILockListener.java:150)
         at org.eclipse.ui.internal.UISynchronizer$1.run
(UISynchronizer.java:36)
         at org.eclipse.swt.widgets.RunnableLock.run
(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:123)
         at org.eclipse.swt.widgets.Display.runAsyncMessages
(Display.java:3112)
         at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2889)
         at org.eclipse.jface.operation.ModalContext
$ModalContextThread.block(ModalContext.java:156)
         at org.eclipse.jface.operation.ModalContext.run
(ModalContext.java:317)
         at org.eclipse.jface.wizard.WizardDialog.run
(WizardDialog.java:843)
         at
org.tigris.subversion.subclipse.ui.wizards.sharing.SharingWizard.perform
Finish(SharingWizard.java:171)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed
(WizardDialog.java:676)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:349)
         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected
(Dialog.java:607)
         at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:90)
         at org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1446)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1470)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1455)
         at org.eclipse.swt.widgets.Widget.notifyListeners
(Widget.java:1232)
         at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:3243)
         at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2894)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:
808)
         at org.eclipse.jface.window.Window.open(Window.java:786)
         at
org.eclipse.team.internal.ui.actions.ConfigureProjectAction$1.run
(ConfigureProjectAction.java:55)
         at org.eclipse.team.internal.ui.actions.TeamAction$2.run
(TeamAction.java:237)
         at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
         at org.eclipse.team.internal.ui.actions.TeamAction.run
(TeamAction.java:234)
         at
org.eclipse.team.internal.ui.actions.ConfigureProjectAction.run
(ConfigureProjectAction.java:47)
         at org.eclipse.ui.actions.ActionDelegate.runWithEvent
(ActionDelegate.java:70)
         at org.eclipse.ui.internal.PluginAction.runWithEvent
(PluginAction.java:241)
         at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:530)
         at org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:480)
         at org.eclipse.jface.action.ActionContributionItem
$5.handleEvent(ActionContributionItem.java:392)
         at org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1446)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1470)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1455)
         at org.eclipse.swt.widgets.Widget.notifyListeners
(Widget.java:1232)
         at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:3243)
         at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2894)
         at org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1762)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1726)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:397)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:143)
         at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:106)
         at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:109)
         at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
ion(EclipseAppLauncher.java:92)
         at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:68)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:379)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:177)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:
338)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
         at org.eclipse.core.launcher.Main.run(Main.java:977)
         at org.eclipse.core.launcher.Main.main(Main.java:952)

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 Mon Jan 30 22:56:18 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.