Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » new error from DTP 1.5 with Eclipse 3.3.0 accessing stored procedures from SQL Server 2000 db
new error from DTP 1.5 with Eclipse 3.3.0 accessing stored procedures from SQL Server 2000 db [message #587509] Tue, 21 August 2007 22:10
Charles Doucette is currently offline Charles DoucetteFriend
Messages: 125
Registered: July 2009
Senior Member
java.lang.StringIndexOutOfBoundsException: String index out of range: -1

at java.lang.String.substring(String.java:1762)

at java.lang.String.substring(String.java:1735)

at
org.eclipse.datatools.enablement.msft.sqlserver.profile.ui.l oaders.SQL2005RoutineLoader.loadSource(SQL2005RoutineLoader. java:185)

at
org.eclipse.datatools.enablement.msft.sqlserver.profile.ui.l oaders.SQL2005RoutineLoader.access$0(SQL2005RoutineLoader.ja va:180)

at
org.eclipse.datatools.enablement.msft.sqlserver.profile.ui.l oaders.SQL2005RoutineLoader$SQL2005ProcedureFactory.initiali ze(SQL2005RoutineLoader.java:51)

at
org.eclipse.datatools.connectivity.sqm.loader.JDBCRoutineLoa der$ProcedureFactory.createRoutine(JDBCRoutineLoader.java:36 3)

at
org.eclipse.datatools.enablement.msft.sqlserver.profile.ui.l oaders.SQL2005RoutineLoader.processRow(SQL2005RoutineLoader. java:134)

at
org.eclipse.datatools.enablement.msft.sqlserver.profile.ui.l oaders.SQL2005RoutineLoader.loadRoutines(SQL2005RoutineLoade r.java:152)

at
org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSch ema.loadRoutines(JDBCSchema.java:191)

at
org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSch ema.getRoutines(JDBCSchema.java:152)

at
org.eclipse.datatools.modelbase.sql.schema.impl.SchemaImpl.g etSpecializedRoutines(SchemaImpl.java:450)

at
org.eclipse.datatools.modelbase.sql.schema.impl.SchemaImpl.g etProcedures(SchemaImpl.java:426)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.layout.vnode.ServerExplorerVNodeCon tentProviderNav.displayStoredProcedureNodeChildren(ServerExp lorerVNodeContentProviderNav.java:192)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.layout.AbstractOnDemandContentProvi derNav.getChildren(AbstractOnDemandContentProviderNav.java:1 90)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.layout.AbstractOnDemandContentProvi derNav.getChildren(AbstractOnDemandContentProviderNav.java:2 44)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.layout.AbstractLayoutProviderNav.ge tChildren(AbstractLayoutProviderNav.java:88)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.impl.ServerExplorerContentProviderN av.getChildren(ServerExplorerContentProviderNav.java:231)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.impl.ServerExplorerContentProviderN av.hasChildren(ServerExplorerContentProviderNav.java:272)

at
org.eclipse.datatools.connectivity.ui.CommonContentProviderB ase.hasChildren(CommonContentProviderBase.java:254)

at
org.eclipse.ui.internal.navigator.extensions.SafeDelegateTre eContentProvider.hasChildren(SafeDelegateTreeContentProvider .java:107)

at
org.eclipse.ui.internal.navigator.extensions.SafeDelegateTre eContentProvider.hasChildren(SafeDelegateTreeContentProvider .java:292)

at
org.eclipse.ui.internal.navigator.NavigatorContentServiceCon tentProvider.hasChildren(NavigatorContentServiceContentProvi der.java:662)

at
org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2014)

at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer .java:563)

at
org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2044)

at
org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(Abst ractTreeViewer.java:2668)

at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.j ava:823)

at
org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem( AbstractTreeViewer.java:807)

at
org.eclipse.ui.navigator.CommonViewer.createTreeItem(CommonV iewer.java:150)

at
org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:781)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)

at
org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:755)

at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:615)

at
org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpan d(AbstractTreeViewer.java:1407)

at
org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeVi ewer.java:906)

at
org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded( AbstractTreeViewer.java:1418)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:125)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)

at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7053)

at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4563)

at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:15 81)

at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4216)

at org.eclipse.swt.widgets.Control.windowProc(Control.java:3724 )

at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351 )

at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)

at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:217 8)

at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1541)

at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:5798)

at org.eclipse.swt.widgets.Control.windowProc(Control.java:3705 )

at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5370)

at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364 )

at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)

at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:22 64)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3291)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)

at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)

at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)

at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)

at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)

at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)

at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)

at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)

at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

at org.eclipse.equinox.launcher.Main.main(Main.java:1144)

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

at java.lang.String.substring(String.java:1762)

at java.lang.String.substring(String.java:1735)

at
org.eclipse.datatools.enablement.msft.sqlserver.profile.ui.l oaders.SQL2005RoutineLoader.loadSource(SQL2005RoutineLoader. java:185)

at
org.eclipse.datatools.enablement.msft.sqlserver.profile.ui.l oaders.SQL2005RoutineLoader.access$0(SQL2005RoutineLoader.ja va:180)

at
org.eclipse.datatools.enablement.msft.sqlserver.profile.ui.l oaders.SQL2005RoutineLoader$SQL2005ProcedureFactory.initiali ze(SQL2005RoutineLoader.java:51)

at
org.eclipse.datatools.connectivity.sqm.loader.JDBCRoutineLoa der$ProcedureFactory.createRoutine(JDBCRoutineLoader.java:36 3)

at
org.eclipse.datatools.enablement.msft.sqlserver.profile.ui.l oaders.SQL2005RoutineLoader.processRow(SQL2005RoutineLoader. java:134)

at
org.eclipse.datatools.enablement.msft.sqlserver.profile.ui.l oaders.SQL2005RoutineLoader.loadRoutines(SQL2005RoutineLoade r.java:152)

at
org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSch ema.loadRoutines(JDBCSchema.java:191)

at
org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSch ema.getRoutines(JDBCSchema.java:152)

at
org.eclipse.datatools.modelbase.sql.schema.impl.SchemaImpl.g etSpecializedRoutines(SchemaImpl.java:450)

at
org.eclipse.datatools.modelbase.sql.schema.impl.SchemaImpl.g etUDFs(SchemaImpl.java:433)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.layout.vnode.ServerExplorerVNodeCon tentProviderNav.displayUDFNodeChildren(ServerExplorerVNodeCo ntentProviderNav.java:183)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.layout.AbstractOnDemandContentProvi derNav.getChildren(AbstractOnDemandContentProviderNav.java:1 94)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.layout.AbstractOnDemandContentProvi derNav.getChildren(AbstractOnDemandContentProviderNav.java:2 44)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.layout.AbstractLayoutProviderNav.ge tChildren(AbstractLayoutProviderNav.java:88)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.impl.ServerExplorerContentProviderN av.getChildren(ServerExplorerContentProviderNav.java:231)

at
org.eclipse.datatools.connectivity.sqm.server.internal.ui.ex plorer.providers.content.impl.ServerExplorerContentProviderN av.hasChildren(ServerExplorerContentProviderNav.java:272)

at
org.eclipse.datatools.connectivity.ui.CommonContentProviderB ase.hasChildren(CommonContentProviderBase.java:254)

at
org.eclipse.ui.internal.navigator.extensions.SafeDelegateTre eContentProvider.hasChildren(SafeDelegateTreeContentProvider .java:107)

at
org.eclipse.ui.internal.navigator.extensions.SafeDelegateTre eContentProvider.hasChildren(SafeDelegateTreeContentProvider .java:292)

at
org.eclipse.ui.internal.navigator.NavigatorContentServiceCon tentProvider.hasChildren(NavigatorContentServiceContentProvi der.java:662)

at
org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2014)

at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer .java:563)

at
org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2044)

at
org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(Abst ractTreeViewer.java:2668)

at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.j ava:823)

at
org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem( AbstractTreeViewer.java:807)

at
org.eclipse.ui.navigator.CommonViewer.createTreeItem(CommonV iewer.java:150)

at
org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:781)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)

at
org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:755)

at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:615)

at
org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpan d(AbstractTreeViewer.java:1407)

at
org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeVi ewer.java:906)

at
org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded( AbstractTreeViewer.java:1418)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:125)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)

at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7053)

at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4563)

at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:15 81)

at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4216)

at org.eclipse.swt.widgets.Control.windowProc(Control.java:3724 )

at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351 )

at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)

at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:217 8)

at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1541)

at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:5798)

at org.eclipse.swt.widgets.Control.windowProc(Control.java:3705 )

at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5370)

at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364 )

at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)

at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:22 64)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3291)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)

at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)

at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)

at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)

at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)

at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)

at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)

at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)

at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
Previous Topic:drop schema lars; results in syntax error
Next Topic:new error from DTP 1.5 with Eclipse 3.3.0 accessing stored procedures from SQL Server 2000 db
Goto Forum:
  


Current Time: Sat Dec 20 12:17:47 GMT 2014

Powered by FUDForum. Page generated in 0.01703 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software