IDEA bug? UnsupportedOperationException: Not implemented
It seems that JTextPanes created with the UI Designer have editor actions assigned but not defined.
i noticed this bug in my project, but it also happens inside IDEA itself, e.g. inside the search-field of the settings dialog-
pressing CTRL+Y inside a JTextPane throws the following error:
[ 14283] ERROR - llij.ide.plugins.PluginManager - Not implemented
java.lang.UnsupportedOperationException: Not implemented
at com.intellij.openapi.editor.textarea.TextComponentSelectionModel.selectLineAtCaret(TextComponentSelectionModel.java:132)
at com.intellij.openapi.editor.actions.DeleteLineAction$Handler.executeWriteAction(DeleteLineAction.java:70)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:54)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1002)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.execute(EditorWriteActionHandler.java:37)
at com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:82)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:124)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:93)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:67)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:564)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:611)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:463)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:206)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:493)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
[ 14285] ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA (Community
It seems that this is a bug inside the IntelliJ IDEA Open API itself, or is there a way to avoid this error in my own project, e.g. by disabling/reassigning the key/actionmap?
Thanks,
Kay
Please sign in to leave a comment.
Yes, this is a bug in IntelliJ IDEA: http://youtrack.jetbrains.com/issue/IDEA-112383