Exception in perforce integration in 5569

The Perforce integration has definitely improved in the last few releases. However, I am occasionally getting this exception in the Beta build 5569:

No message
com.intellij.openapi.vcs.VcsException
at org.jetbrains.idea.perforce.perforce.PerfCommands.checkError(PerfCommands.java:1608)
at org.jetbrains.idea.perforce.perforce.PerfCommands.p4Opened(PerfCommands.java:1686)
at org.jetbrains.idea.perforce.application.ChangeListSynchronizer.updateOpenedFiles(ChangeListSynchronizer.java:498)
at org.jetbrains.idea.perforce.application.PerforceManager$MyUpdateRequest.run(PerforceManager.java:355)
at com.intellij.util.Alarm$1.run(Alarm.java:103)
at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:246)
at com.intellij.util.Alarm$MyThread.run(Alarm.java:266)

Thanks,
-Bruce

4 comments
Comment actions Permalink

Hello Bruce,

This is in fact not an error, and I've removed the unnecessary exception
reporting. Thanks for your feedback!

b> The Perforce integration has definitely improved in the last few
b> releases. However, I am occasionally getting this exception in the
b> Beta build 5569:
b>
b> No message
b> com.intellij.openapi.vcs.VcsException
b> at
b> org.jetbrains.idea.perforce.perforce.PerfCommands.checkError(PerfComm
b> ands.java:1608)
b> at
b> org.jetbrains.idea.perforce.perforce.PerfCommands.p4Opened(PerfComman
b> ds.java:1686)
b> at
b> org.jetbrains.idea.perforce.application.ChangeListSynchronizer.update
b> OpenedFiles(ChangeListSynchronizer.java:498)
b> at
b> org.jetbrains.idea.perforce.application.PerforceManager$MyUpdateReque
b> st.run(PerforceManager.java:355)
b> at com.intellij.util.Alarm$1.run(Alarm.java:103)
b> at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:246)
b> at com.intellij.util.Alarm$MyThread.run(Alarm.java:266)
b> Thanks,
b> -Bruce
--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hello Bruce,

This is in fact not an error, and I've removed the unnecessary exception
reporting. Thanks for your feedback!

b> The Perforce integration has definitely improved in the last few
b> releases. However, I am occasionally getting this exception in the
b> Beta build 5569:
b>
b> No message
b> com.intellij.openapi.vcs.VcsException
b> at
b> org.jetbrains.idea.perforce.perforce.PerfCommands.checkError(PerfComm
b> ands.java:1608)
b> at
b> org.jetbrains.idea.perforce.perforce.PerfCommands.p4Opened(PerfComman
b> ds.java:1686)
b> at
b> org.jetbrains.idea.perforce.application.ChangeListSynchronizer.update
b> OpenedFiles(ChangeListSynchronizer.java:498)
b> at
b> org.jetbrains.idea.perforce.application.PerforceManager$MyUpdateReque
b> st.run(PerforceManager.java:355)
b> at com.intellij.util.Alarm$1.run(Alarm.java:103)
b> at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:246)
b> at com.intellij.util.Alarm$MyThread.run(Alarm.java:266)
b> Thanks,
b> -Bruce
--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Okay great. I also got the following exception in the Perforce integration.

Thanks,
-Bruce

Error in P4: TCP send failed.
write: socket: WSAECONNRESET

com.intellij.openapi.vcs.VcsException: Error in P4: TCP send failed.
write: socket: WSAECONNRESET

at org.jetbrains.idea.perforce.perforce.PerfCommands.checkError(PerfCommands.java:1608)
at org.jetbrains.idea.perforce.perforce.PerfCommands.p4fstat(PerfCommands.java:1186)
at org.jetbrains.idea.perforce.perforce.P4File.getFstat(P4File.java:179)
at org.jetbrains.idea.perforce.application.PerforceChangeProvider.getChangesForFiles(PerforceChangeProvider.java:116)
at org.jetbrains.idea.perforce.application.PerforceChangeProvider.getChanges(PerforceChangeProvider.java:49)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.a(ChangeListManagerImpl.java:37)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.access$500(ChangeListManagerImpl.java:12)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl$3.run(ChangeListManagerImpl.java:1)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

0
Comment actions Permalink

FYI, I am still getting this in 5594. I believe that this is happening while the perforce server is unavailable, but I would expect a message stating this rather than an exception.

Thanks,
-Bruce

0

Please sign in to leave a comment.