Perforce plugin loses connection when I try to submit a changelist

I have had this happen three times now with Idea 7.0.3. The Perforce VCS plugin works perfectly - it checks files out with no problem, and lets me view my default changelist. However, when I try to submit a changelist, I suddenly get a pop up window saying, "Commit failed with errors", and then an error message in the Changes window saying, "Error: Nothing found to submit". After that, I can no longer check out any files.

Now, in this specific case, I selected several files from my default change list and moved them to a new changelist that I created with Idea. I never got any errors, and it appeared that the new changelist was created properly (it showed up in the changes view in Idea). I then tried to submit that changelist, and got the above error. When I went to my Perforce UI, it showed that the new changelist had never been created, although all the changes were in my default changelist (including the newly created files). In previous instances, I did not try to create a new changelist first, but otherwise the behavior was the same. I can't find the exception messages from those times because my logs were all full of info messages from when I had some perforce configuration issues - those issues are cleared up now, and I can run "Test Connection" on the "Configure VCS" screen without any problem.

Here's the exception that I see in the Idea log from the time when I tried to create the second changelist:

2008-04-03 15:17:56,828 ERROR - connections.P4NativeConnection -
com.jniwrapper.FunctionExecutionException: c0000005
at com.jniwrapper.Function.invokeCFunc(Native Method)
at com.jniwrapper.FunctionCall.a(SourceFile:126)
at com.jniwrapper.FunctionCall.call(SourceFile:34)
at com.jniwrapper.Function.invoke(SourceFile:164)
at org.jetbrains.idea.perforce.perforce.connections.P4NativeConnection$1.start(P4NativeConnection.java:184)
at com.intellij.openapi.util.process.InterruptibleActivity$1.run(InterruptibleActivity.java:69)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:9)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:1)
2008-04-03 15:17:56,859 ERROR - connections.P4NativeConnection - IntelliJ IDEA 7.0.3 Build #7757
2008-04-03 15:17:56,859 ERROR - connections.P4NativeConnection - JDK: 1.6.0_04
2008-04-03 15:17:56,859 ERROR - connections.P4NativeConnection - VM: Java HotSpot(TM) Client VM
2008-04-03 15:17:56,859 ERROR - connections.P4NativeConnection - Vendor: Sun Microsystems Inc.
2008-04-03 15:17:56,859 ERROR - connections.P4NativeConnection - OS: Windows XP
2008-04-03 15:17:56,859 ERROR - connections.P4NativeConnection - Last Action: ChangesView.Move
2008-04-03 15:18:11,765 INFO - ion.PerforceCheckinEnvironment - updating opened files after commit

I do not see this exception if I just try to submit the default changelist.

The story is not finished, however. After this error, the colors of the names of all the files I had checked out then changes to indicate that their state is different (orange and red as opposed to blue and green). Whenever I stop and restart Idea, every changed file shows up in the "Modified without Checkout" list, while every new file comes up under the "Unversioned Files" list. The log from that restart looks like this:

2008-04-03 15:29:21,484 INFO - #com.intellij.idea.Main - -


IDEA STARTED -


2008-04-03 15:29:21,687 INFO - #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing.
2008-04-03 15:29:29,593 INFO - ij.vfs.local.win32.FileWatcher - Native file watcher is operational.
2008-04-03 15:29:36,468 INFO - llij.jetConnect.reader.JetFeed - Updating JetConnect channel: hints
2008-04-03 15:29:36,531 INFO - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2008-04-03 15:29:37,718 INFO - llij.jetConnect.reader.JetFeed - Updating JetConnect channel: news
2008-04-03 15:29:47,500 INFO - TestNG Runner - Create TestNG Template Configuration
2008-04-03 15:29:50,187 INFO - s.communicator.p2p.NetworkUtil - Found Network Interfaces:
2008-04-03 15:29:50,218 INFO - .communicator.p2p.P2PTransport - Internal Web server is bound to port 2864
2008-04-03 15:29:50,218 INFO - unicator.p2p.UserMonitorThread - Force finding users
2008-04-03 15:29:50,218 INFO - unicator.p2p.UserMonitorThread - Start User Monitor Thread
2008-04-03 15:29:50,218 INFO - icator.p2p.MulticastPingThread - /192.168.117.1 IDEtalk Multicast Thread: Start thread.
2008-04-03 15:29:50,218 INFO - icator.p2p.MulticastPingThread - /192.168.137.1 IDEtalk Multicast Thread: Start thread.
2008-04-03 15:29:50,218 INFO - icator.p2p.MulticastPingThread - /169.254.198.66 IDEtalk Multicast Thread: Start thread.
2008-04-03 15:29:50,218 INFO - icator.p2p.MulticastPingThread - /9.53.51.157 IDEtalk Multicast Thread: Start thread.
2008-04-03 15:30:21,609 INFO - odetecting.FacetDetectionIndex - Unknown facet types in cache: gnu.trove.THashSet@0
2008-04-03 15:30:26,609 INFO - unicator.p2p.UserMonitorThread - Force finding users
2008-04-03 15:30:30,765 INFO - mitted.OutdatedVersionNotifier - Requesting load of incoming changes
2008-04-03 15:30:30,765 INFO - ommitted.CommittedChangesCache - Loading incoming changes
2008-04-03 15:30:30,953 INFO - ommitted.CommittedChangesCache - Loading incoming changes for C:\P4\havana\trunk\core\engine\api
2008-04-03 15:30:31,062 INFO - mitted.OutdatedVersionNotifier - Requesting load of incoming changes
2008-04-03 15:30:31,093 INFO - ges.committed.ChangesCacheFile - Loaded 177 incoming changelists
2008-04-03 15:30:31,140 INFO - ommitted.CommittedChangesCache - Loading incoming changes for C:\P4\havana\trunk\core\engine\core
2008-04-03 15:30:31,328 INFO - ges.committed.ChangesCacheFile - Loaded 238 incoming changelists
2008-04-03 15:30:31,375 INFO - ommitted.CommittedChangesCache - Loading incoming changes for C:\P4\havana\trunk\core\engine\da-api
2008-04-03 15:30:31,421 INFO - ges.committed.ChangesCacheFile - Loaded 246 incoming changelists
2008-04-03 15:30:31,453 INFO - ommitted.CommittedChangesCache - Loading incoming changes for C:\P4\havana\trunk\core\engine\da-impl
2008-04-03 15:30:31,515 INFO - mitted.OutdatedVersionNotifier - Requesting load of incoming changes
2008-04-03 15:30:31,562 INFO - ges.committed.ChangesCacheFile - Loaded 263 incoming changelists
2008-04-03 15:30:31,609 INFO - ommitted.CommittedChangesCache - Loading incoming changes for C:\P4\havana\trunk\core\engine\da-sca
2008-04-03 15:30:31,703 INFO - mitted.OutdatedVersionNotifier - Requesting load of incoming changes
2008-04-03 15:30:31,718 INFO - ges.committed.ChangesCacheFile - Loaded 270 incoming changelists
2008-04-03 15:30:31,734 INFO - ommitted.CommittedChangesCache - Loading incoming changes for C:\P4\havana\trunk\core\engine\gateway
2008-04-03 15:30:31,890 INFO - ges.committed.ChangesCacheFile - Loaded 398 incoming changelists
2008-04-03 15:30:31,906 INFO - ommitted.CommittedChangesCache - Loading incoming changes for C:\P4\havana\trunk\core\policy
2008-04-03 15:30:31,984 INFO - ges.committed.ChangesCacheFile - Loaded 401 incoming changelists
2008-04-03 15:30:31,984 INFO - ommitted.CommittedChangesCache - Incoming changes loaded
2008-04-03 15:30:31,984 INFO - mitted.OutdatedVersionNotifier - Queueing update of editors
2008-04-03 15:30:31,984 INFO - mitted.OutdatedVersionNotifier - Queueing update of editors
2008-04-03 15:30:32,609 INFO - or.jabber.impl.JabberTransport - Jabber connected
2008-04-03 15:30:32,750 INFO - r.jabber.impl.JabberFacadeImpl - SASL authentication failed
SASL authentication failed:
at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:204)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:433)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:396)
at jetbrains.communicator.jabber.impl.JabberFacadeImpl._createConnection(JabberFacadeImpl.java:162)
at jetbrains.communicator.jabber.impl.JabberFacadeImpl.connect(JabberFacadeImpl.java:119)
at jetbrains.communicator.jabber.impl.JabberFacadeImpl.connect(JabberFacadeImpl.java:115)
at jetbrains.communicator.jabber.impl.JabberTransport$1.run(JabberTransport.java:122)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:9)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:1)
2008-04-03 15:30:35,468 INFO - llij.jetConnect.reader.JetFeed - Updating JetConnect channel: hints
2008-04-03 15:30:35,953 INFO - mitted.OutdatedVersionNotifier - Updating editors
2008-04-03 15:30:35,953 INFO - itted.IncomingChangesIndicator - Refreshing indicator: 401 changes
2008-04-03 15:30:35,953 INFO - mitted.OutdatedVersionNotifier - Updating editors

I have no idea what "SASL" is, or whether it has anything to do with this problem.

Switching back and forth between offline and online mode makes no difference to the problem. When I try to just "Perforce" -> "Edit" one of the files, I get a pop-up that says, "File already checked out or added...", but then the file shows up in the Default changelist (and no longer shows as "Modified without Checkout"). When I try to edit a newly added file, I get the error, "File not on server", but then it appears on the default changelist. When I shut down Idea and look at the log, the log looks the same as the previous log. When I restart Idea, however, the files are back in the same state - either "Modified without Checkout" or "Unversioned." I can check out additional files, but in order to get Idea to properly recognize the state of the existing files, I have to run through them one by one and use "Perforce -> Edit".

One other thing: Unchecking the "Use Perforce Native API" box on the Perforce "Configure VCS" screen has no effect.

Finally, as far as my Perforce configuration is concerned, my workspace spec has a branch mapped over several directories in the trunk. Here's the workspace spec:

//depot/modules/fabric/trunk/... //havana/trunk/...
-//depot/modules/fabric/trunk/core/catalog/... //havana/trunk/core/catalog/...
-//depot/modules/fabric/trunk/core/engine/... //havana/trunk/core/engine/...
-//depot/modules/fabric/trunk/core/support/... //havana/trunk/core/support/...
//depot/development/... //havana/development/...
//depot/branches/private/jbabka/... //havana/depot/branches/private/jbabka/...
//depot/branches/private/jbabka/havana/modules/fabric/trunk/core/catalog/... //havana/trunk/core/catalog/...
//depot/branches/private/jbabka/havana/modules/fabric/trunk/core/engine/... //havana/trunk/core/engine/...
//depot/branches/private/jbabka/havana/modules/fabric/trunk/core/support/... //havana/trunk/core/support/...

As you can see, my spec maps everything in the trunk directory, then specifically excludes three subdirectories (core/catalog, core/engine, and core/support) and maps the corresponding directories in my branch in the places those directories should be. The only thing that's slightly unusual is that I have the entire branch also mapped into a separate location, but I am not trying to edit any files there - everything I am editing is under those three directories that are remapped.

Any ideas what might be happening here? The bizarre thing is that some Perforce interactions work fine, but (a) every time I restart Idea, it can't seem to figure out the state of changed and new files until I force it to connect to the server, and (b) once I try to submit a changelist, Perforce interaction is broken until I restart Idea.

Edited by: Jim Babka on Apr 4, 2008 2:10 AM. Added info on workspace spec.

0
4 comments

Hello Jim,

Please turn off the "Use native connection" option in the settings.

I have had this happen three times now with Idea 7.0.3. The Perforce
VCS plugin works perfectly - it checks files out with no problem, and
lets me view my default changelist. However, when I try to submit a
changelist, I suddenly get a pop up window saying, "Commit failed with
errors", and then an error message in the Changes window saying,
"Error: Nothing found to submit". After that, I can no longer check
out any files.

Now, in this specific case, I selected several files from my default
change list and moved them to a new changelist that I created with
Idea. I never got any errors, and it appeared that the new changelist
was created properly (it showed up in the changes view in Idea). I
then tried to submit that changelist, and got the above error. When I
went to my Perforce UI, it showed that the new changelist had never
been created, although all the changes were in my default changelist
(including the newly created files). In previous instances, I did not
try to create a new changelist first, but otherwise the behavior was
the same. I can't find the exception messages from those times because
my logs were all full of info messages from when I had some perforce
configuration issues - those issues are cleared up now, and I can run
"Test Connection" on the "Configure VCS" screen without any problem.

Here's the exception that I see in the Idea log from the time when I
tried to create the second changelist:

2008-04-03 15:17:56,828 ERROR -
connections.P4NativeConnection -
com.jniwrapper.FunctionExecutionException: c0000005
at com.jniwrapper.Function.invokeCFunc(Native Method)
at com.jniwrapper.FunctionCall.a(SourceFile:126)
at com.jniwrapper.FunctionCall.call(SourceFile:34)
at com.jniwrapper.Function.invoke(SourceFile:164)
at
org.jetbrains.idea.perforce.perforce.connections.P4NativeConnection$1.
start(P4NativeConnection.java:184)
at
com.intellij.openapi.util.process.InterruptibleActivity$1.run(Interrup
tibleActivity.java:69)
at
com.intellij.openapi.application.impl.ApplicationImpl$5.run(Applicatio
nImpl.java:9)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441
)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu
tor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
java:907)
at java.lang.Thread.run(Thread.java:619)
at
com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(Applicat
ionImpl.java:1)
2008-04-03 15:17:56,859 ERROR -
connections.P4NativeConnection - IntelliJ IDEA 7.0.3 Build #7757
2008-04-03 15:17:56,859 ERROR -
connections.P4NativeConnection - JDK: 1.6.0_04 2008-04-03 15:17:56,859
ERROR - connections.P4NativeConnection - VM: Java
HotSpot(TM) Client VM 2008-04-03 15:17:56,859 ERROR -
connections.P4NativeConnection - Vendor: Sun Microsystems Inc.
2008-04-03 15:17:56,859 ERROR -
connections.P4NativeConnection - OS: Windows XP 2008-04-03
15:17:56,859 ERROR - connections.P4NativeConnection -
Last Action: ChangesView.Move 2008-04-03 15:18:11,765
INFO - ion.PerforceCheckinEnvironment - updating opened files after
commit

I do not see this exception if I just try to submit the default
changelist.

The story is not finished, however. After this error, the colors of
the names of all the files I had checked out then changes to indicate
that their state is different (orange and red as opposed to blue and
green). Whenever I stop and restart Idea, every changed file shows up
in the "Modified without Checkout" list, while every new file comes up
under the "Unversioned Files" list. The log from that restart looks
like this:

2008-04-03 15:29:21,484 INFO -
#com.intellij.idea.Main -
------------------------------------------------------ IDEA STARTED
------------------------------------------------------
2008-04-03 15:29:21,687 INFO -
#com.intellij.idea.Main - Using "FocusKiller" library to prevent focus
stealing.
2008-04-03 15:29:29,593 INFO -
ij.vfs.local.win32.FileWatcher - Native file watcher is operational.
2008-04-03 15:29:36,468 INFO -
llij.jetConnect.reader.JetFeed - Updating JetConnect channel: hints
2008-04-03 15:29:36,531 INFO -
om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add
-agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2008-04-03 15:29:37,718 INFO -
llij.jetConnect.reader.JetFeed - Updating JetConnect channel: news
2008-04-03 15:29:47,500 INFO - TestNG
Runner - Create TestNG Template Configuration
2008-04-03 15:29:50,187 INFO -
s.communicator.p2p.NetworkUtil - Found Network Interfaces:

2008-04-03 15:29:50,218 INFO -
.communicator.p2p.P2PTransport - Internal Web server is bound to port
2864
2008-04-03 15:29:50,218 INFO -
unicator.p2p.UserMonitorThread - Force finding users
2008-04-03 15:29:50,218 INFO -
unicator.p2p.UserMonitorThread - Start User Monitor Thread
2008-04-03 15:29:50,218 INFO -
icator.p2p.MulticastPingThread - /192.168.117.1 IDEtalk Multicast
Thread: Start thread.
2008-04-03 15:29:50,218 INFO -
icator.p2p.MulticastPingThread - /192.168.137.1 IDEtalk Multicast
Thread: Start thread.
2008-04-03 15:29:50,218 INFO -
icator.p2p.MulticastPingThread - /169.254.198.66 IDEtalk Multicast
Thread: Start thread.
2008-04-03 15:29:50,218 INFO -
icator.p2p.MulticastPingThread - /9.53.51.157 IDEtalk Multicast
Thread: Start thread.
2008-04-03 15:30:21,609 INFO -
odetecting.FacetDetectionIndex - Unknown facet types in cache:
gnu.trove.THashSet@0
2008-04-03 15:30:26,609 INFO -
unicator.p2p.UserMonitorThread - Force finding users
2008-04-03 15:30:30,765 INFO -
mitted.OutdatedVersionNotifier - Requesting load of incoming changes
2008-04-03 15:30:30,765 INFO -
ommitted.CommittedChangesCache - Loading incoming changes
2008-04-03 15:30:30,953 INFO -
ommitted.CommittedChangesCache - Loading incoming changes for
C:\P4\havana\trunk\core\engine\api
2008-04-03 15:30:31,062 INFO -
mitted.OutdatedVersionNotifier - Requesting load of incoming changes
2008-04-03 15:30:31,093 INFO -
ges.committed.ChangesCacheFile - Loaded 177 incoming changelists
2008-04-03 15:30:31,140 INFO -
ommitted.CommittedChangesCache - Loading incoming changes for
C:\P4\havana\trunk\core\engine\core
2008-04-03 15:30:31,328 INFO -
ges.committed.ChangesCacheFile - Loaded 238 incoming changelists
2008-04-03 15:30:31,375 INFO -
ommitted.CommittedChangesCache - Loading incoming changes for
C:\P4\havana\trunk\core\engine\da-api
2008-04-03 15:30:31,421 INFO -
ges.committed.ChangesCacheFile - Loaded 246 incoming changelists
2008-04-03 15:30:31,453 INFO -
ommitted.CommittedChangesCache - Loading incoming changes for
C:\P4\havana\trunk\core\engine\da-impl
2008-04-03 15:30:31,515 INFO -
mitted.OutdatedVersionNotifier - Requesting load of incoming changes
2008-04-03 15:30:31,562 INFO -
ges.committed.ChangesCacheFile - Loaded 263 incoming changelists
2008-04-03 15:30:31,609 INFO -
ommitted.CommittedChangesCache - Loading incoming changes for
C:\P4\havana\trunk\core\engine\da-sca
2008-04-03 15:30:31,703 INFO -
mitted.OutdatedVersionNotifier - Requesting load of incoming changes
2008-04-03 15:30:31,718 INFO -
ges.committed.ChangesCacheFile - Loaded 270 incoming changelists
2008-04-03 15:30:31,734 INFO -
ommitted.CommittedChangesCache - Loading incoming changes for
C:\P4\havana\trunk\core\engine\gateway
2008-04-03 15:30:31,890 INFO -
ges.committed.ChangesCacheFile - Loaded 398 incoming changelists
2008-04-03 15:30:31,906 INFO -
ommitted.CommittedChangesCache - Loading incoming changes for
C:\P4\havana\trunk\core\policy
2008-04-03 15:30:31,984 INFO -
ges.committed.ChangesCacheFile - Loaded 401 incoming changelists
2008-04-03 15:30:31,984 INFO -
ommitted.CommittedChangesCache - Incoming changes loaded
2008-04-03 15:30:31,984 INFO -
mitted.OutdatedVersionNotifier - Queueing update of editors
2008-04-03 15:30:31,984 INFO -
mitted.OutdatedVersionNotifier - Queueing update of editors
2008-04-03 15:30:32,609 INFO -
or.jabber.impl.JabberTransport - Jabber connected
2008-04-03 15:30:32,750 INFO -
r.jabber.impl.JabberFacadeImpl - SASL authentication failed
SASL authentication failed:
at
org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthenticat
ion.java:204)
at
org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:433)
at
org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:396)
at
jetbrains.communicator.jabber.impl.JabberFacadeImpl._createConnection(
JabberFacadeImpl.java:162)
at
jetbrains.communicator.jabber.impl.JabberFacadeImpl.connect(JabberFaca
deImpl.java:119)
at
jetbrains.communicator.jabber.impl.JabberFacadeImpl.connect(JabberFaca
deImpl.java:115)
at
jetbrains.communicator.jabber.impl.JabberTransport$1.run(JabberTranspo
rt.java:122)
at
com.intellij.openapi.application.impl.ApplicationImpl$5.run(Applicatio
nImpl.java:9)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441
)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu
tor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
java:907)
at java.lang.Thread.run(Thread.java:619)
at
com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(Applicat
ionImpl.java:1)
2008-04-03 15:30:35,468 INFO -
llij.jetConnect.reader.JetFeed - Updating JetConnect channel: hints
2008-04-03 15:30:35,953 INFO -
mitted.OutdatedVersionNotifier - Updating editors 2008-04-03
15:30:35,953 INFO - itted.IncomingChangesIndicator -
Refreshing indicator: 401 changes 2008-04-03 15:30:35,953
INFO - mitted.OutdatedVersionNotifier - Updating editors

I have no idea what "SASL" is, or whether it has anything to do with
this problem.

Switching back and forth between offline and online mode makes no
difference to the problem. When I try to just "Perforce" -> "Edit" one
of the files, I get a pop-up that says, "File already checked out or
added...", but then the file shows up in the Default changelist (and
no longer shows as "Modified without Checkout"). When I try to edit a
newly added file, I get the error, "File not on server", but then it
appears on the default changelist. When I shut down Idea and look at
the log, the log looks the same as the previous log. When I restart
Idea, however, the files are back in the same state - either "Modified
without Checkout" or "Unversioned." I can check out additional files,
but in order to get Idea to properly recognize the state of the
existing files, I have to run through them one by one and use
"Perforce -> Edit".

One last thing: Unchecking the "Use Perforce Native API" box on the
Perforce "Configure VCS" screen has no effect.

Any ideas what might be happening here? The bizarre thing is that some
Perforce interactions work fine, but (a) every time I restart Idea, it
can't seem to figure out the state of changed and new files until I
force it to connect to the server, and (b) once I try to submit a
changelist, Perforce interaction is broken until I restart Idea.

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


0

I tried that, and it had no effect.

0

Can anyone help with this? I now am trying to use a different Perforce workspace with a much simpler client spec, but I'm still having problems. When I start Idea up on this workspace, with the "use native API" checkbox unchecked, I get some files that are shown as being unversioned (they are in Perforce), while others show up as perfectly fine.

0

So I finally got fed up and created a new project from scratch. With that new project, everything works fine. Evidently, something goes wrong when migrating old projects to the Idea 7 format. So, the problem still exists, but I've worked around it.

If anyone wants my actual project files that show the problem, let me know.

Jim Babka.

0

Please sign in to leave a comment.