Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] StringIndexOutOfBoundsException from GenericDBProfileDetailsWizardPage

Yup

https://bugs.eclipse.org/bugs/show_bug.cgi?id=127000 is the one.

Anthos

On 2/9/06, Lawrence E Dunnell <ledunnel@xxxxxxxxxx> wrote:

Anthos,

Unfortunately without access to Mac OSX, I would be unable to verify a fix for this defect, so I would suggest opening a defect against the Eclipse Platform's SWT component.

https://bugs.eclipse.org/bugs/

Larry Dunnell
Internet address: ledunnel@xxxxxxxxxx




Anil Samuel <anil.samuel@xxxxxxxxx>
Sent by: dtp-dev-bounces@xxxxxxxxxxx

02/06/2006 11:10 PM

Please respond to
DTP development mailing list <dtp-dev@xxxxxxxxxxx>

To
DTP development mailing list <dtp-dev@xxxxxxxxxxx >
cc

Subject
Re: [dtp-dev] StringIndexOutOfBoundsException from        GenericDBProfileDetailsWizardPage







I still this issue on Mac. Though

GenericDBProfileDetailsWizardPage:111 - this.mDBPWDText.setEchoChar('*');

the actual value is echoed on GUI for the password. I think these issues are related. Only way out is to use null password and Oracle doesnot permit null password :-(

Regards
Anthos

On 1/21/06, Anil Samuel <anil.samuel@xxxxxxxxx > wrote:
I have tried the same codebase on Linux/GTK; will try on windows soon. but didnot get this error.

Anthos



On 1/21/06, Lawrence E Dunnell < ledunnel@xxxxxxxxxx> wrote:

This looks like it could be a defect in SWT for Mac OSX.  Are you able to reproduce this on anothor platform such as Linux or Windows?


Larry Dunnell
Internet address:
ledunnel@xxxxxxxxxx



Anil Samuel < anil.samuel@xxxxxxxxx>
Sent by:
dtp-dev-bounces@xxxxxxxxxxx

01/19/2006 06:35 PM

Please respond to
DTP development mailing list <
dtp-dev@xxxxxxxxxxx >


To
DTP development mailing list <dtp-dev@xxxxxxxxxxx >
cc

Subject
[dtp-dev] StringIndexOutOfBoundsException from        GenericDBProfileDetailsWizardPage









I get this error on Mac Tiger when I try to create a database connection.

Regards
Anthos

java.lang.StringIndexOutOfBoundsException: String index out of range: 5
  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.eclipse.datatools.connectivity.db.generic.GenericDBProfileDetailsWizardPage.getDBPWD (GenericDBProfileDetailsWizardPage.java:280)
  at org.eclipse.datatools.connectivity.db.generic.NewConnectionProfileWizard.getProfileProperties(NewConnectionProfileWizard.java:62)
  at org.eclipse.datatools.connectivity.ui.wizards.ConnectionProfileDetailsPage.testConnection (ConnectionProfileDetailsPage.java:96)
  at org.eclipse.datatools.connectivity.ui.wizards.ConnectionProfileDetailsPage$1.widgetSelected(ConnectionProfileDetailsPage.java:76)
  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.datatools.connectivity.ui.dse.actions.AddProfileViewAction.run(AddProfileViewAction.java:106)
  at org.eclipse.jface.action.Action.runWithEvent(Action.java:492)
  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.runApplication(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)

--
Anil Samuel <
anil.samuel@xxxxxxxxxx
>

Senior Technical Member
Product Development

Oracle Corporation _______________________________________________
dtp-dev mailing list

dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev


_______________________________________________
dtp-dev mailing list

dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev

_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev


_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev





--
Anil Samuel <anil.samuel@xxxxxxxxxx>
Senior Technical Member
Product Development
Oracle Corporation

Back to the top