Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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

Back to the top