NoSuchMethodError on 10762

I am getting the following exception on 10762 when attempting to edit a file that is not currently open for edit in the VCS system.  Normally this would open a window asking if I want to open the file for editing.

The error is triggered by the IdeaVIM plugin, however it seems to be failing when calling a method in the openapi package.  Has this API changed?

Thanks,
-Bruce


com.intellij.openapi.fileEditor.FileDocumentManager.fileForDocumentCheckedOutSuccessfully(Lcom/intellij/openapi/editor/Document;Lcom/intellij/openapi/project/Project;)Z: com.intellij.openapi.fileEditor.FileDocumentManager.fileForDocumentCheckedOutSuccessfully(Lcom/intellij/openapi/editor/Document;Lcom/intellij/openapi/project/Project;)Z
java.lang.NoSuchMethodError: com.intellij.openapi.fileEditor.FileDocumentManager.fileForDocumentCheckedOutSuccessfully(Lcom/intellij/openapi/editor/Document;Lcom/intellij/openapi/project/Project;)Z
    at com.maddyhome.idea.vim.helper.EditorHelper.canEdit(EditorHelper.java:654)
    at com.maddyhome.idea.vim.KeyHandler.handleKey(KeyHandler.java:473)
    at com.maddyhome.idea.vim.VimTypedActionHandler.execute(VimTypedActionHandler.java:74)
    at org.jetbrains.plugins.grails.lang.gsp.editor.actions.GspTypedHandler.execute(GspTypedHandler.java:230)
    at com.intellij.execution.impl.ConsoleViewImpl$MyTypedHandler.execute(ConsoleViewImpl.java:4)
    at com.intellij.openapi.editor.actionSystem.TypedAction$1$1.run(TypedAction.java:111)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:133)
    at com.intellij.openapi.editor.actionSystem.TypedAction$1.run(TypedAction.java:106)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:86)
    at com.intellij.openapi.editor.actionSystem.TypedAction.actionPerformed(TypedAction.java:124)
    at com.intellij.openapi.editor.impl.EditorImpl.a(EditorImpl.java:647)
    at com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl.java:554)
    at com.intellij.openapi.editor.impl.EditorImpl$6.keyTyped(EditorImpl.java:2)
    at java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:222)
    at java.awt.Component.processKeyEvent(Component.java:6171)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2799)
    at java.awt.Component.processEvent(Component.java:5993)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4583)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4413)
    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:4455)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Window.dispatchEventImpl(Window.java:2475)
    at java.awt.Component.dispatchEvent(Component.java:4413)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:265)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:162)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:3)
    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)

1 comment
Comment actions Permalink

Hello brucet,

Indeed, the API was changed, but we're going to restore API compatibility
in this place.

I am getting the following exception on 10762 when attempting to edit
a file that is not currently open for edit in the VCS system.
Normally this would open a window asking if I want to open the file
for editing.

The error is triggered by the IdeaVIM plugin, however it seems to be
failing when calling a method in the openapi package.  Has this API
changed?

Thanks,
-Bruce
com.intellij.openapi.fileEditor.FileDocumentManager.fileForDocumentChe
ckedOutSuccessfully(Lcom/intellij/openapi/editor/Document;Lcom/intelli
j/openapi/project/Project;)Z:
com.intellij.openapi.fileEditor.FileDocumentManager.fileForDocumentChe
ckedOutSuccessfully(Lcom/intellij/openapi/editor/Document;Lcom/intelli
j/openapi/project/Project;)Z
java.lang.NoSuchMethodError:
com.intellij.openapi.fileEditor.FileDocumentManager.fileForDocumentChe
ckedOutSuccessfully(Lcom/intellij/openapi/editor/Document;Lcom/intelli
j/openapi/project/Project;)Z
at
com.maddyhome.idea.vim.helper.EditorHelper.canEdit(EditorHelper.java:6
54)
at
com.maddyhome.idea.vim.KeyHandler.handleKey(KeyHandler.java:473)
at
com.maddyhome.idea.vim.VimTypedActionHandler.execute(VimTypedActionHan
dler.java:74)
at
org.jetbrains.plugins.grails.lang.gsp.editor.actions.GspTypedHandler.e
xecute(GspTypedHandler.java:230)
at
com.intellij.execution.impl.ConsoleViewImpl$MyTypedHandler.execute(Con
soleViewImpl.java:4)
at
com.intellij.openapi.editor.actionSystem.TypedAction$1$1.run(TypedActi
on.java:111)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(A
pplicationImpl.java:133)
at
com.intellij.openapi.editor.actionSystem.TypedAction$1.run(TypedAction
.java:106)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(
CommandProcessorImpl.java:86)
at
com.intellij.openapi.editor.actionSystem.TypedAction.actionPerformed(T
ypedAction.java:124)
at
com.intellij.openapi.editor.impl.EditorImpl.a(EditorImpl.java:647)
at
com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl
.java:554)
at
com.intellij.openapi.editor.impl.EditorImpl$6.keyTyped(EditorImpl.java
:2)
at
java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:222)
at java.awt.Component.processKeyEvent(Component.java:6171)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2799)
at java.awt.Component.processEvent(Component.java:5993)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
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:4455)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:265)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:162)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:3)
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/5245209#5245209

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


0

Please sign in to leave a comment.