Build 638 Ubuntu 810: Certain keyboard keys stop responding in certain edit contexts

e.g. I am typing the following

url ~= /http:\/\/(www.)jetbrains/

but when I get to typing the '(' or the '.' the keys don't respond

RubyMine Build 638 on Ubuntu 8.10

4 comments
Comment actions Permalink

Hello

e.g. I am typing the following


url ~= /http:\/\/(www.)jetbrains/


but when I get to typing the '(' or the '.' the keys don't respond


RubyMine Build 638 on Ubuntu 8.10


I cannot reproduce this problem. Works fine for me with 638 on Ubuntu 8.10.

Was the file you has been editing large?
Maybe it`s just a problem similar to http://www.jetbrains.net/jira/browse/RUBY-2738.
Could you please provide CPU snapshot as decribed in http://jetbrains.net/devnet/docs/DOC-192?

Thanks,
Oleg

0
Comment actions Permalink

It's is working ok at the moment. I will see if I can figure out in what the circumstances it stops working.

0
Comment actions Permalink

This situation begins to happen after the following Exception is thrown:

Error during dispatching of java.awt.event.KeyEvent[KEY_TYPED,keyCode=0,keyText=Unknown keyCode: 0x0,keyChar='{',modifiers=Shift,extModifiers=Shift,keyLocation=KEY_LOCATION_UNKNOWN,rawCode=0,primaryLevelUnicode=91,scancode=0] on com.intellij.openapi.editor.impl.EditorComponentImpl[,0,0,1701x525,alignmentX=0.0,alignmentY=0.0,border=,flags=50331656,maximumSize=,minimumSize=,preferredSize=]
java.lang.AssertionError
    at com.intellij.injected.editor.EditorWindow.hostToInjected(EditorWindow.java:54)
    at com.intellij.injected.editor.CaretModelWindow.getLogicalPosition(CaretModelWindow.java:26)
    at com.intellij.openapi.editor.EditorModificationUtil.calcAfterLineEnd(EditorModificationUtil.java:233)
    at com.intellij.openapi.editor.EditorModificationUtil.calcStringToFillVitualSpace(EditorModificationUtil.java:245)
    at com.intellij.openapi.editor.EditorModificationUtil.insertStringAtCaret(EditorModificationUtil.java:88)
    at com.intellij.openapi.editor.EditorModificationUtil.typeInStringAtCaretHonorBlockSelection(EditorModificationUtil.java:313)
    at com.intellij.openapi.editor.actionSystem.TypedAction$Handler.execute(TypedAction.java:64)
    at com.intellij.codeInsight.editorActions.TypedHandler.execute(TypedHandler.java:186)
    at com.intellij.codeInsight.lookup.impl.TypedHandler.execute(TypedHandler.java:1)
    at com.intellij.codeInsight.template.impl.editorActions.SpaceHandler.execute(SpaceHandler.java:7)
    at com.intellij.openapi.editor.actionSystem.TypedAction$1$1.run(TypedAction.java:109)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:121)
    at com.intellij.openapi.editor.actionSystem.TypedAction$1.run(TypedAction.java:104)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:14)
    at com.intellij.openapi.editor.actionSystem.TypedAction.actionPerformed(TypedAction.java:122)
    at com.intellij.openapi.editor.impl.EditorImpl.a(EditorImpl.java:151)
    at com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl.java:1261)
    at com.intellij.openapi.editor.impl.EditorImpl$8.keyTyped(EditorImpl.java:6)
    at java.awt.Component.processKeyEvent(Component.java:6089)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2799)
    at java.awt.Component.processEvent(Component.java:5911)
    at java.awt.Container.processEvent(Container.java:2023)
    at java.awt.Component.dispatchEventImpl(Component.java:4501)
    at java.awt.Container.dispatchEventImpl(Container.java:2081)
    at java.awt.Component.dispatchEvent(Component.java:4331)
    at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:704)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:969)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:841)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:668)
    at java.awt.Component.dispatchEventImpl(Component.java:4373)
    at java.awt.Container.dispatchEventImpl(Container.java:2081)
    at java.awt.Window.dispatchEventImpl(Window.java:2458)
    at java.awt.Component.dispatchEvent(Component.java:4331)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:74)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:135)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:111)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

0
Comment actions Permalink

Hello David,

This problem is already fixed, and the fix will be included in the next build.
As a workaround, you can disable the RegExpSupport plugin in Settings | Plugins.

This situation begins to happen after the following Exception is
thrown:

Error during dispatching of
java.awt.event.KeyEvent[KEY_TYPED,keyCode=0,keyText=Unknown keyCode:
0x0,keyChar='{',modifiers=Shift,extModifiers=Shift,keyLocation=KEY_LOC
ATION_UNKNOWN,rawCode=0,primaryLevelUnicode=91,scancode=0] on
com.intellij.openapi.editor.impl.EditorComponentImpl[,0,0,1701x525,ali
g
nmentX=0.0,alignmentY=0.0,border=,flags=50331656,maximumSize=,minimumS
ize=,preferredSize=]
java.lang.AssertionError
at
com.intellij.injected.editor.EditorWindow.hostToInjected(EditorWindow.
java:54)
at
com.intellij.injected.editor.CaretModelWindow.getLogicalPosition(Caret
ModelWindow.java:26)
at
com.intellij.openapi.editor.EditorModificationUtil.calcAfterLineEnd(Ed
itorModificationUtil.java:233)
at
com.intellij.openapi.editor.EditorModificationUtil.calcStringToFillVit
ualSpace(EditorModificationUtil.java:245)
at
com.intellij.openapi.editor.EditorModificationUtil.insertStringAtCaret
(EditorModificationUtil.java:88)
at
com.intellij.openapi.editor.EditorModificationUtil.typeInStringAtCaret
HonorBlockSelection(EditorModificationUtil.java:313)
at
com.intellij.openapi.editor.actionSystem.TypedAction$Handler.execute(T
ypedAction.java:64)
at
com.intellij.codeInsight.editorActions.TypedHandler.execute(TypedHandl
er.java:186)
at
com.intellij.codeInsight.lookup.impl.TypedHandler.execute(TypedHandler
.java:1)
at
com.intellij.codeInsight.template.impl.editorActions.SpaceHandler.exec
ute(SpaceHandler.java:7)
at
com.intellij.openapi.editor.actionSystem.TypedAction$1$1.run(TypedActi
on.java:109)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(A
pplicationImpl.java:121)
at
com.intellij.openapi.editor.actionSystem.TypedAction$1.run(TypedAction
.java:104)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(
CommandProcessorImpl.java:14)
at
com.intellij.openapi.editor.actionSystem.TypedAction.actionPerformed(T
ypedAction.java:122)
at
com.intellij.openapi.editor.impl.EditorImpl.a(EditorImpl.java:151)
at
com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl
.java:1261)
at
com.intellij.openapi.editor.impl.EditorImpl$8.keyTyped(EditorImpl.java
:6)
at java.awt.Component.processKeyEvent(Component.java:6089)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2799)
at java.awt.Component.processEvent(Component.java:5911)
at java.awt.Container.processEvent(Container.java:2023)
at java.awt.Component.dispatchEventImpl(Component.java:4501)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Component.dispatchEvent(Component.java:4331)
at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.jav
a:1848)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardF
ocusManager.java:704)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboa
rdFocusManager.java:969)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboa
rdFocusManager.java:841)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocu
sManager.java:668)
at java.awt.Component.dispatchEventImpl(Component.java:4373)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Window.dispatchEventImpl(Window.java:2458)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:74)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:135)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:111)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:174)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
---
Original message URL:
http://www.jetbrains.net/devnet/message/5231486#5231486

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.