Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] setting connection Info from an sql file using Generic JDBC...

Hi,

I downloaded the source code but unfortunately I did not find this class, so I was not able to debug this problem.

Regards
Benedetta

From: Hui.Cao@xxxxxxxxxx
Reply-To: DTP development mailing list <dtp-dev@xxxxxxxxxxx>
To: DTP development mailing list <dtp-dev@xxxxxxxxxxx>
Subject: Re: [dtp-dev] setting connection Info from an sql file usingGeneric JDBC...
Date: Tue, 14 Nov 2006 00:37:38 +0800

That's strange, 'cause isComplete is defined in the base SQLParser class.
Can you debug at SQLUpdater.java:488 to see what SQLParser you have got?

Best Regards!

Max ( Hui ) Cao
Sybase, Inc. Shanghai, China




"Benedetta Turchi" <bturchi@xxxxxxxxxxx>
Sent by: dtp-dev-bounces@xxxxxxxxxxx
11/13/2006 08:29 PM
Please respond to
DTP development mailing list <dtp-dev@xxxxxxxxxxx>


To
dtp-dev@xxxxxxxxxxx
cc

Subject
Re: [dtp-dev] setting connection Info from an sql file using Generic
JDBC...






Hi,

I am getting the following error while 'setting the connection Info'
(right-clicking an sql file) and using a Generic JDBC connection to an
SQLite DB:

Error
Unhandled event loop exception

Error
Failed to execute runnable (java.lang.NoSuchMethodError:
org.eclipse.datatools.sqltools.sql.parser.SQLParser.isComplete()Z)

org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NoSuchMethodError:
org.eclipse.datatools.sqltools.sql.parser.SQLParser.isComplete()Z)
                 at org.eclipse.swt.SWT.error(SWT.java:3374)
                 at org.eclipse.swt.SWT.error(SWT.java:3297)
                 at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
                 at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
                 at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
                 at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
                 at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
                 at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
                 at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
                 at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
                 at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
                 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:400)
                 at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
                 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at
org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
                 at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
                 at org.eclipse.core.launcher.Main.run(Main.java:977)
                 at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.NoSuchMethodError:
org.eclipse.datatools.sqltools.sql.parser.SQLParser.isComplete()Z
                 at
org.eclipse.datatools.sqltools.sqleditor.internal.editor.SQLUpdater.enableSyntaxValidation(SQLUpdater.java:488)
                 at
org.eclipse.datatools.sqltools.sqleditor.internal.editor.SQLUpdater.run(SQLUpdater.java:128)
                 at
org.eclipse.datatools.sqltools.sqleditor.SQLEditor$3.run(SQLEditor.java:865)
                 at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
                 at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
                 ... 20 more

Is there any work-around for this?

Thanks
Benedetta

_________________________________________________________________
Chiama gratis con Windows Live Messenger
http://imagine-msn.com/messenger/launch80/?locale=it-it&TAB=2

_______________________________________________
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

_________________________________________________________________
Aggiungi il modulo Amici al tuo Spaces con un click! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=it-it



Back to the top