This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 67597 - [50cat] java.lang.IllegalStateException when executing instruction several times
Summary: [50cat] java.lang.IllegalStateException when executing instruction several times
Status: RESOLVED DUPLICATE of bug 63893
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 15:23 UTC by misterm
Modified: 2005-10-31 13:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2005-10-26 15:23:14 UTC
[ BUILD # : 20051013 ]
[ JDK VERSION : 1.4.2_xx ]

The following exception is thrown when an instruction is executed several times using the keyboard (Alt + E):

java.lang.IllegalStateException: Statements are already being executed.
	at org.netbeans.modules.db.sql.loader.SQLEditorSupport.executeSQL(SQLEditorSupport.java:184)
	at org.netbeans.modules.db.sql.editor.ui.actions.RunSQLAction.performAction(RunSQLAction.java:82)
	at org.openide.util.actions.NodeAction$3.run(NodeAction.java:531)
	at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:47)
	at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:527)
	at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:801)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2484)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
	at java.awt.Component.processEvent(Component.java:4909)
	at java.awt.Container.processEvent(Container.java:1569)
	at java.awt.Component.dispatchEventImpl(Component.java:3615)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
	at java.awt.Component.dispatchEventImpl(Component.java:3506)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3477)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 1 Andrei Badea 2005-10-31 13:40:50 UTC

*** This issue has been marked as a duplicate of 63893 ***