Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Error: Method can be called only once.
Error: Method can be called only once. [message #594505] Wed, 04 March 2009 19:46
Michael Giroux is currently offline Michael GirouxFriend
Messages: 78
Registered: July 2009
Location: Phoenix, AZ
Member
Using the DataSource plugin, I have connected to my Informix database and
I am able to display rows using the context menu (right-click -> DATA ->
Sample Contents.

However, if I open a SQL scrapbook window and enter a simple query:
ex. select * from table where pk = 123;

Then I get the selected row, followed by an endless stream of the message
"Method can be called only once."

The query never completes, it is necessary to cancel the operation
manually.

I have included the two system error log entries that occur when the query
is executed.

Config information:
eclipse.buildId=M20090211-1700
-vm C:\Program Files\Java\jre6\bin\client\jvm.dll

Let me know if there is other information that will help.

Regards
Michael Giroux


--------
Log Entries:

Message from system error log follows:
eclipse.buildId=M20090211-1700
java.version=1.6.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: 384M
Command-line arguments: -os win32 -ws win32 -arch x86 384M -data
c:/EclipseWorkspace/Trunk


Error
Wed Mar 04 12:35:51 GMT-07:00 2009
The command
(" org.eclipse.datatools.sqltools.sqleditor.ExecuteAsOneStateme ntAction ")
is undefined

java.lang.Exception
at
org.eclipse.jface.action.ExternalActionManager$CommandCallba ck.isActive(ExternalActionManager.java:369)
at
org.eclipse.jface.action.ActionContributionItem.isCommandAct ive(ActionContributionItem.java:646)
at
org.eclipse.jface.action.ActionContributionItem.isVisible(Ac tionContributionItem.java:702)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :753)
at
org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuM anager.java:464)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.ja va:459)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager .java:485)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:235)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.jav a:4111)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3815 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1576)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:250)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:3849)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3416)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 00)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)


-------


eclipse.buildId=M20090211-1700
java.version=1.6.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: 384M
Command-line arguments: -os win32 -ws win32 -arch x86 384M -data
c:/EclipseWorkspace/Trunk


Error
Wed Mar 04 12:35:51 GMT-07:00 2009
The command
(" org.eclipse.datatools.sqltools.sqleditor.ExecuteCurrentActio n ") is
undefined

java.lang.Exception
at
org.eclipse.jface.action.ExternalActionManager$CommandCallba ck.isActive(ExternalActionManager.java:369)
at
org.eclipse.jface.action.ActionContributionItem.isCommandAct ive(ActionContributionItem.java:646)
at
org.eclipse.jface.action.ActionContributionItem.isVisible(Ac tionContributionItem.java:702)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :753)
at
org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuM anager.java:464)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.ja va:459)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager .java:485)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:235)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.jav a:4111)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3815 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1576)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:250)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:3849)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3416)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 00)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Previous Topic:Dependency problem: org.eclipse.datatools.connectivity.sqm.core
Next Topic:DTP Webinar - March 5
Goto Forum:
  


Current Time: Sun Nov 23 11:28:28 GMT 2014

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

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