PerforceDirectPlugin exception (non-fatal)

PDP 1.1.00, IDEA 1050. I get this when PDP asks me if I really want to
delete the file. Ignoring the exception seems to work.

--
Erik Hanson


- - - - -

Error message: Showing of modal dialog is prohibited inside
write-action,
modalityState=ModalityState:com.intellij.openapi.ui.DialogWrapper$MyDialo
g[dialog5,397,458,451x129,invalid,hidden,layout=java.awt.BorderLayout,mod
al,title=Safe
Delete,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.op
enapi.ui.DialogWrapper$7[,0,22,451x107,invalid,layout=javax.swing.JRootPa
ne$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSi
ze=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:59)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:157)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:41)
at com.intellij.openapi.ui.Messages.showYesNoDialog(Messages.java:5)
at
com.rne.perforce.PerforceListeners.beforeDeletingVFile(PerforceListeners.
java:644)
at
com.rne.perforce.PerforceListeners.access$200(PerforceListeners.java:18)
at
com.rne.perforce.PerforceListeners$1.beforeFileDeletion(PerforceListeners
.java:184)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:67)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:34)
at
com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:66)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:6)
at $Proxy1.beforeFileDeletion(Unknown Source)
at
com.intellij.openapi.vfs.VirtualFileSystem.fireBeforeFileDeletion(Virtual
FileSystem.java:55)
at com.intellij.openapi.vfs.a.b.f.fireBeforeFileDeletion(f.java:226)
at com.intellij.openapi.vfs.a.b.e.delete(e.java:323)
at com.intellij.psi.impl.b.b.a(b.java:2)
at com.intellij.psi.impl.source.w.delete(w.java:51)
at com.intellij.psi.impl.source.g.a.bs.b(bs.java:29)
at com.intellij.psi.impl.source.p.delete(p.java:68)
at com.intellij.refactoring.o.e.performRefactoring(e.java:43)
at
com.intellij.refactoring.BaseRefactoringProcessor$8.run(BaseRefactoringPr
ocessor.java:1)
at com.intellij.openapi.application.a.b.runWriteAction(b.java:5)
at
com.intellij.refactoring.BaseRefactoringProcessor.a(BaseRefactoringProces
sor.java:85)
at
com.intellij.refactoring.BaseRefactoringProcessor.access$400(BaseRefactor
ingProcessor.java:33)
at
com.intellij.refactoring.BaseRefactoringProcessor$6.run(BaseRefactoringPr
ocessor.java)
at com.intellij.openapi.application.a.b.runWriteAction(b.java:5)
at
com.intellij.refactoring.BaseRefactoringProcessor$5.run(BaseRefactoringPr
ocessor.java:3)
at com.intellij.openapi.command.impl.a.executeCommand(a.java:55)
at
com.intellij.refactoring.BaseRefactoringProcessor.run(BaseRefactoringProc
essor.java:53)
at com.intellij.refactoring.o.f$0.a(f$0.java)
at com.intellij.refactoring.o.c.doOKAction(c.java:43)
at
com.intellij.openapi.ui.DialogWrapper$OkAction.actionPerformed(DialogWrap
per.java:2)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1797)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractBu
tton.java:1850)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.jav
a:419)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListe
ner.java:247)
at java.awt.Component.processMouseEvent(Component.java:5093)
at java.awt.Component.processEvent(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at com.intellij.ide.q.b(q.java:148)
at com.intellij.ide.q.a(q.java:113)
at com.intellij.ide.q.dispatchEvent(q.java:103)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread
.java:230)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.j
ava:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.j
ava:173)
at java.awt.Dialog.show(Dialog.java:538)
at
com.intellij.openapi.ui.DialogWrapper$MyDialog.show(DialogWrapper.java:11
)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:149)
at com.intellij.refactoring.o.f.a(f.java:22)
at com.intellij.refactoring.o.f.invoke(f.java:31)
at com.intellij.refactoring.o.f.invoke(f.java:26)
at com.intellij.refactoring.h.e.actionPerformed(e.java:45)
at
com.intellij.openapi.actionSystem.b.n$b_.actionPerformed(n$b_.java:0)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1797)
at
com.intellij.openapi.actionSystem.b.n.fireActionPerformed(n.java:45)
at com.intellij.ui.a.a.h.doClick(h.java:151)
at com.intellij.ui.a.a.h.access$300(h.java:8)
at com.intellij.ui.a.a.h$c_.menuDragMouseReleased(h$c_.java:9)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:582)
at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:479)
at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:426)
at
javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.j
ava:274)
at
javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.mouseReleased(BasicP
opupMenuUI.java:400)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:228)
at java.awt.Component.processMouseEvent(Component.java:5093)
at
com.intellij.openapi.fileEditor.b.k$b_.processMouseEvent(k$b_.java:17)
at java.awt.Component.processEvent(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at com.intellij.ide.q.b(q.java:148)
at com.intellij.ide.q.a(q.java:113)
at com.intellij.ide.q.dispatchEvent(q.java:103)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread
.java:230)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.j
ava:183)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

1 comment
Comment actions Permalink

Thanks for pointing it out. Yet another case of the same situation.
Will fix it soon (hopefully). Until then, ignore is safe way.
r.

Erik Hanson wrote:

PDP 1.1.00, IDEA 1050. I get this when PDP asks me if I really want to
delete the file. Ignoring the exception seems to work.

--
Erik Hanson


- - - - -

Error message: Showing of modal dialog is prohibited inside
write-action,
modalityState=ModalityState:com.intellij.openapi.ui.DialogWrapper$MyDialo
g[dialog5,397,458,451x129,invalid,hidden,layout=java.awt.BorderLayout,mod
al,title=Safe
Delete,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.op
enapi.ui.DialogWrapper$7[,0,22,451x107,invalid,layout=javax.swing.JRootPa
ne$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSi
ze=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:59)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:157)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:41)
at com.intellij.openapi.ui.Messages.showYesNoDialog(Messages.java:5)
at
com.rne.perforce.PerforceListeners.beforeDeletingVFile(PerforceListeners.
java:644)
at
com.rne.perforce.PerforceListeners.access$200(PerforceListeners.java:18)
at
com.rne.perforce.PerforceListeners$1.beforeFileDeletion(PerforceListeners
.java:184)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:67)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:34)
at
com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:66)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:6)
at $Proxy1.beforeFileDeletion(Unknown Source)
at
com.intellij.openapi.vfs.VirtualFileSystem.fireBeforeFileDeletion(Virtual
FileSystem.java:55)
at com.intellij.openapi.vfs.a.b.f.fireBeforeFileDeletion(f.java:226)
at com.intellij.openapi.vfs.a.b.e.delete(e.java:323)
at com.intellij.psi.impl.b.b.a(b.java:2)
at com.intellij.psi.impl.source.w.delete(w.java:51)
at com.intellij.psi.impl.source.g.a.bs.b(bs.java:29)
at com.intellij.psi.impl.source.p.delete(p.java:68)
at com.intellij.refactoring.o.e.performRefactoring(e.java:43)
at
com.intellij.refactoring.BaseRefactoringProcessor$8.run(BaseRefactoringPr
ocessor.java:1)
at com.intellij.openapi.application.a.b.runWriteAction(b.java:5)
at
com.intellij.refactoring.BaseRefactoringProcessor.a(BaseRefactoringProces
sor.java:85)
at
com.intellij.refactoring.BaseRefactoringProcessor.access$400(BaseRefactor
ingProcessor.java:33)
at
com.intellij.refactoring.BaseRefactoringProcessor$6.run(BaseRefactoringPr
ocessor.java)
at com.intellij.openapi.application.a.b.runWriteAction(b.java:5)
at
com.intellij.refactoring.BaseRefactoringProcessor$5.run(BaseRefactoringPr
ocessor.java:3)
at com.intellij.openapi.command.impl.a.executeCommand(a.java:55)
at
com.intellij.refactoring.BaseRefactoringProcessor.run(BaseRefactoringProc
essor.java:53)
at com.intellij.refactoring.o.f$0.a(f$0.java)
at com.intellij.refactoring.o.c.doOKAction(c.java:43)
at
com.intellij.openapi.ui.DialogWrapper$OkAction.actionPerformed(DialogWrap
per.java:2)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1797)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractBu
tton.java:1850)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.jav
a:419)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListe
ner.java:247)
at java.awt.Component.processMouseEvent(Component.java:5093)
at java.awt.Component.processEvent(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at com.intellij.ide.q.b(q.java:148)
at com.intellij.ide.q.a(q.java:113)
at com.intellij.ide.q.dispatchEvent(q.java:103)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread
.java:230)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.j
ava:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.j
ava:173)
at java.awt.Dialog.show(Dialog.java:538)
at
com.intellij.openapi.ui.DialogWrapper$MyDialog.show(DialogWrapper.java:11
)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:149)
at com.intellij.refactoring.o.f.a(f.java:22)
at com.intellij.refactoring.o.f.invoke(f.java:31)
at com.intellij.refactoring.o.f.invoke(f.java:26)
at com.intellij.refactoring.h.e.actionPerformed(e.java:45)
at
com.intellij.openapi.actionSystem.b.n$b_.actionPerformed(n$b_.java:0)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1797)
at
com.intellij.openapi.actionSystem.b.n.fireActionPerformed(n.java:45)
at com.intellij.ui.a.a.h.doClick(h.java:151)
at com.intellij.ui.a.a.h.access$300(h.java:8)
at com.intellij.ui.a.a.h$c_.menuDragMouseReleased(h$c_.java:9)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:582)
at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:479)
at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:426)
at
javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.j
ava:274)
at
javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.mouseReleased(BasicP
opupMenuUI.java:400)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:228)
at java.awt.Component.processMouseEvent(Component.java:5093)
at
com.intellij.openapi.fileEditor.b.k$b_.processMouseEvent(k$b_.java:17)
at java.awt.Component.processEvent(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at com.intellij.ide.q.b(q.java:148)
at com.intellij.ide.q.a(q.java:113)
at com.intellij.ide.q.dispatchEvent(q.java:103)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread
.java:230)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.j
ava:183)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

0

Please sign in to leave a comment.