Exception on start-up from PerforceDirectPlugin in 3212

I'm getting the following exception on start-up. However, Perforce
operations still seem to be working (at least, Edit and Revert did).

Error message: Assertion failed: Event cannot be raised when dispatching
another event is in progress. Dispatching editorCreated
java.lang.Throwable

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:57)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:26)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:4)
at $Proxy15.editorCreated(Unknown Source)
at
com.intellij.openapi.editor.impl.EditorFactoryImpl.a(EditorFactoryImpl.java:51)
at
com.intellij.openapi.editor.impl.EditorFactoryImpl.createViewer(EditorFactoryImpl.java:43)
at com.intellij.openapi.vcs.b.e.a(e.java:179)
at com.intellij.openapi.vcs.b.e.addMessageToConsoleWindow(e.java:49)
at
com.rne.perforce.perforce.PerfCommands.executeP4Command(PerfCommands.java:893)
at
com.rne.perforce.perforce.PerfCommands.executeP4Command(PerfCommands.java:877)
at
com.rne.perforce.perforce.PerfCommands.p4getContents(PerfCommands.java:355)
at
com.rne.perforce.application.PerforceUpToDateRevisionsProvider.getLastUpToDateContentFor(PerforceUpToDateRevisionsProvider.java:58)
at com.intellij.openapi.vcs.b.e.a(e.java:90)
at com.intellij.openapi.vcs.b.e.access$700(e.java:40)
at com.intellij.openapi.vcs.b.e$h_.editorCreated(e$h_.java:11)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:62)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:59)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:26)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:4)
at $Proxy15.editorCreated(Unknown Source)
at
com.intellij.openapi.editor.impl.EditorFactoryImpl.a(EditorFactoryImpl.java:51)
at
com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:23)
at com.intellij.openapi.fileEditor.impl.a.d.g(d.java:66)
at com.intellij.openapi.fileEditor.impl.a.d.(d.java:106) at com.intellij.openapi.fileEditor.impl.a.a.]]>(a.java:81)
at com.intellij.openapi.fileEditor.impl.a.b.createEditor(b.java:43)
at com.intellij.openapi.fileEditor.impl.c.b(c.java:148)
at com.intellij.openapi.fileEditor.impl.j.c(j.java:263)
at com.intellij.openapi.fileEditor.impl.j.d(j.java:75)
at com.intellij.openapi.fileEditor.impl.c$8.run(c$8.java:3)
at com.intellij.openapi.command.a.a.executeCommand(a.java:5)
at com.intellij.openapi.command.a.a.executeCommand(a.java:18)
at com.intellij.openapi.fileEditor.impl.c$7.run(c$7.java:1)
at com.intellij.openapi.wm.impl.a.c.run(c.java:5)
at com.intellij.openapi.application.impl.c$b_.run(c$b_.java:9)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:1)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:146)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:63)
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)

1 comment
Comment actions Permalink

It happens when opening a project for me. Also, sometimes when I attempt
to edit a file, the "checking out" dialog hangs after selecting "Do" in
the R/O dialog. I can't consistently reproduce it though.

Michael Besosa wrote:

I'm getting the following exception on start-up. However, Perforce
operations still seem to be working (at least, Edit and Revert did).

Error message: Assertion failed: Event cannot be raised when dispatching
another event is in progress. Dispatching editorCreated
java.lang.Throwable

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:57)
at
com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:26)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:4)
at $Proxy15.editorCreated(Unknown Source)
at
com.intellij.openapi.editor.impl.EditorFactoryImpl.a(EditorFactoryImpl.java:51)

at
com.intellij.openapi.editor.impl.EditorFactoryImpl.createViewer(EditorFactoryImpl.java:43)

at com.intellij.openapi.vcs.b.e.a(e.java:179)
at com.intellij.openapi.vcs.b.e.addMessageToConsoleWindow(e.java:49)
at
com.rne.perforce.perforce.PerfCommands.executeP4Command(PerfCommands.java:893)

at
com.rne.perforce.perforce.PerfCommands.executeP4Command(PerfCommands.java:877)

at
com.rne.perforce.perforce.PerfCommands.p4getContents(PerfCommands.java:355)
at
com.rne.perforce.application.PerforceUpToDateRevisionsProvider.getLastUpToDateContentFor(PerforceUpToDateRevisionsProvider.java:58)

at com.intellij.openapi.vcs.b.e.a(e.java:90)
at com.intellij.openapi.vcs.b.e.access$700(e.java:40)
at com.intellij.openapi.vcs.b.e$h_.editorCreated(e$h_.java:11)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:62)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:59)
at
com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:26)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:4)
at $Proxy15.editorCreated(Unknown Source)
at
com.intellij.openapi.editor.impl.EditorFactoryImpl.a(EditorFactoryImpl.java:51)

at
com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:23)

at com.intellij.openapi.fileEditor.impl.a.d.g(d.java:66)
at com.intellij.openapi.fileEditor.impl.a.d.<init>(d.java:106)
at com.intellij.openapi.fileEditor.impl.a.a.<init>(a.java:81)
at com.intellij.openapi.fileEditor.impl.a.b.createEditor(b.java:43)
at com.intellij.openapi.fileEditor.impl.c.b(c.java:148)
at com.intellij.openapi.fileEditor.impl.j.c(j.java:263)
at com.intellij.openapi.fileEditor.impl.j.d(j.java:75)
at com.intellij.openapi.fileEditor.impl.c$8.run(c$8.java:3)
at com.intellij.openapi.command.a.a.executeCommand(a.java:5)
at com.intellij.openapi.command.a.a.executeCommand(a.java:18)
at com.intellij.openapi.fileEditor.impl.c$7.run(c$7.java:1)
at com.intellij.openapi.wm.impl.a.c.run(c.java:5)
at com.intellij.openapi.application.impl.c$b_.run(c$b_.java:9)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:1)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:146)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:63)
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)


--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary.
Man would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]

0

Please sign in to leave a comment.