PerforceDirectPlugin error

When trying to check out 70 files at once, PDP says "Too many open
files". I've checked out large numbers of files before without any
problem, but I only recently upgraded to this version of PDP (1.0.7).



-



Error message: Error during dispatching of
java.awt.event.MouseEvent[MOUSE_RELEASED,(1277,51),button=1,modifiers=But
ton1,clickCount=0] on frame0
java.lang.RuntimeException: Execution Error: ErrCode=-1
StdOut:----



StdErr:----



Exception----


java.io.IOException: Too many open files
End----



at com.rne.perforce.PerfCommands.checkError(PerfCommands.java:707)
at com.rne.perforce.PerfCommands.p4fstat(PerfCommands.java:319)
at com.rne.perforce.ActionEdit.performAction(ActionEdit.java:58)
at
com.rne.perforce.ActionBaseFile.actionPerformed(ActionBaseFile.java:104)
at
com.intellij.openapi.actionSystem.b.o$b_.actionPerformed(o$b_.java:12)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1797)
at
com.intellij.openapi.actionSystem.b.o.fireActionPerformed(o.java:57)
at com.intellij.ui.a.a.h.doClick(h.java:102)
at com.intellij.ui.a.a.h.access$300(h.java:222)
at com.intellij.ui.a.a.h$c_.menuDragMouseReleased(h$c_.java:8)
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.BasicMenuUI$MouseInputHandler.mouseReleased(BasicM
enuUI.java:344)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
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.s.a(s.java:43)
at com.intellij.ide.s.dispatchEvent(s.java:93)
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)

2 comments

Eric, could you check your stdout when this happens?
There should be the IOException with deeper stacktrace.
I will do some additional investigation. The 1.0.7 doesn't
do anything different than the 1.0.1 version except that
some of the actions (modification attempt) happen
in SwingUtils.invokeLater().
What did you do when this happened?

r.

Erik Hanson wrote:

When trying to check out 70 files at once, PDP says "Too many open
files". I've checked out large numbers of files before without any
problem, but I only recently upgraded to this version of PDP (1.0.7).



-----

Error message: Error during dispatching of
java.awt.event.MouseEvent[MOUSE_RELEASED,(1277,51),button=1,modifiers=But
ton1,clickCount=0] on frame0
java.lang.RuntimeException: Execution Error: ErrCode=-1
StdOut:------------

StdErr:------------

Exception----------
java.io.IOException: Too many open files
End----------------

at com.rne.perforce.PerfCommands.checkError(PerfCommands.java:707)
at com.rne.perforce.PerfCommands.p4fstat(PerfCommands.java:319)
at com.rne.perforce.ActionEdit.performAction(ActionEdit.java:58)
at
com.rne.perforce.ActionBaseFile.actionPerformed(ActionBaseFile.java:104)
at
com.intellij.openapi.actionSystem.b.o$b_.actionPerformed(o$b_.java:12)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1797)
at
com.intellij.openapi.actionSystem.b.o.fireActionPerformed(o.java:57)
at com.intellij.ui.a.a.h.doClick(h.java:102)
at com.intellij.ui.a.a.h.access$300(h.java:222)
at com.intellij.ui.a.a.h$c_.menuDragMouseReleased(h$c_.java:8)
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.BasicMenuUI$MouseInputHandler.mouseReleased(BasicM
enuUI.java:344)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
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.s.a(s.java:43)
at com.intellij.ide.s.dispatchEvent(s.java:93)
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

In article <bopffq$kf6$1@is.intellij.net>,
Richard Nemec <rndzank@attbi.com> wrote:

Eric, could you check your stdout when this happens?
There should be the IOException with deeper stacktrace.
I will do some additional investigation. The 1.0.7 doesn't
do anything different than the 1.0.1 version except that
some of the actions (modification attempt) happen
in SwingUtils.invokeLater().


That's all that showed up in idea.log. I'm not sure where else to look.

What did you do when this happened?


Before it happened, I had selected the root node in the refactoring
preview and chose "Edit" from the "Perforce" menu. After it happened, I
quit IDEA.

It hasn't happened again, even when I had to check out the same set of
files, which I did the same way.

I'll post again if it happens again. Until then, it probably isn't worth
spending too much of your time unless it's something obvious.


Erik

0

Please sign in to leave a comment.