SQLQueryPlugin Exception

Hey Stefan,

Here's an exception I got with the SQL Query Plugin today.

IDEA 1178
SQL Query 1.38

Click on the sql settings icon to get the properties pop-up
Click on "+" to create new connection
Press ESC to cancel

ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 4.0 Build
#1178
ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.4.2_03
ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM)
Client VM
ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems
Inc.
ERROR - com.intellij.ide.IdeEventQueue - OS: Windows 2000
ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching
of java.awt.event.KeyEvent[KEY_PRESSED,keyCode=27,keyTe
xt=Escape,keyChar=Escape,keyLocation=KEY_LOCATION_STANDARD] on
javax.swing.JComboBox[,6,24,331x23,layout=javax.swing.plaf.metal.Meta
lComboBoxUI$MetalComboBoxLayoutManager,alignmentX=null,alignmentY=null,borde
r=,flags=328,maximumSize=,minimumSize=,preferredSize=,is
Editable=false,lightWeightPopupEnabled=true,maximumRowCount=8,selectedItemRe
minder=Oracle Thin Driver]
java.lang.IllegalStateException: Can't dispose InputContext while it's
active
at sun.awt.im.InputContext.dispose(InputContext.java:601)
at java.awt.Window$1DisposeAction.run(Window.java:560)
at java.awt.Window.dispose(Window.java:570)
at java.awt.Dialog.disposeImpl(Dialog.java:638)
at java.awt.Dialog.dispose(Dialog.java:634)
at
com.intellij.openapi.ui.DialogWrapper.dispose(DialogWrapper.java:279)
at
com.kiwisoft.utils.idea.IdeaDialogWrapper.dispose(IdeaDialogWrapper.java:63)
at
com.intellij.openapi.ui.DialogWrapper.close(DialogWrapper.java:159)
at
com.intellij.openapi.ui.DialogWrapper.doCancelAction(DialogWrapper.java:84)
at
com.intellij.openapi.ui.DialogWrapper$1.actionPerformed(DialogWrapper.java:5
)
at
javax.swing.JComponent$ActionStandin.actionPerformed(JComponent.java:2863)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:253)
at
javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:202)
at
javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:25
15)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2507)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
at javax.swing.JComboBox.processKeyEvent(JComboBox.java:1354)
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(DefaultKeyboardFocusMa
nager.java:627)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocu
sManager.java:831)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocu
sManager.java:741)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManag
er.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)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.q.b(q.java:86)
at com.intellij.ide.q.a(q.java:75)
at com.intellij.ide.q.dispatchEvent(q.java:61)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:151)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at
com.intellij.openapi.ui.DialogWrapper$MyDialog.show(DialogWrapper.java:0)
at
com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:133)
at com.kiwisoft.utils.Utils$1.run(Utils.java:70)
at com.kiwisoft.utils.Utils.wrapDialog(Utils.java:73)
at
com.kiwisoft.sqlPlugin.actions.PropertiesAction.actionPerformed(PropertiesAc
tion.java:48)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
n.java:1839)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
20)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener
.java:245)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
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.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.q.b(q.java:86)
at com.intellij.ide.q.a(q.java:132)
at com.intellij.ide.q.dispatchEvent(q.java:61)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va: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)

Thanks,

Vince.



2 comments
Comment actions Permalink

I missed a step in the scenario:

Click on the sql settings icon to get the properties pop-up
Click on "+" to create new connection
Select "(green) Oracle Thin Driver" from the driver drop down
Press ESC to cancel


btw, hovering over the buttons (icons) in the main SQL Query
window doesn't give the usual visual feedback that is common
throughout the IDE.

Thanks,

Vince.


0
Comment actions Permalink

Vincent Mallet wrote:

I missed a step in the scenario:

Click on the sql settings icon to get the properties pop-up
Click on "+" to create new connection
Select "(green) Oracle Thin Driver" from the driver drop down
Press ESC to cancel


I also get this exception sometimes but I couldn't yet determine a specific scenario then this happens.
I tried your steps and didn't get an exception.

btw, hovering over the buttons (icons) in the main SQL Query
window doesn't give the usual visual feedback that is common
throughout the IDE.


I don't use the IDEA specific action components so that I can run the plugin also as stand-alone application.

Regards,
Stefan.

0

Please sign in to leave a comment.