[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] Possible bug in subclipse

From: Mike <gubespam_at_gmail.com>
Date: Mon, 15 Mar 2010 11:38:24 -0600

Subclipse 1.6.7
Eclipse 3.5.0 (Eclipse Java EE IDE for Web Developers)

I had a checked out a directory from subversion that contained a single war
file (a type of jar file). Outside of eclipse I did the following:
1. Created a temp directory as a child of the directory I checked out
2. Unzipped war file into the temp directory
3. Deleted the original war file
4. Renamed the temp directory to the name of the original war file. So, for
example, if the war file was "example.war", then the temp directory was
renamed to "example.war".

When I refreshed my workspace in Eclipse, Subclipse started throwing off a
bunch of errors and looked like it was stuck in an infinite loop. I
restarted Eclipse, refreshed the workspace again, and this time I only got a
single error (attached) and the Synchronization View in the Synchronization
Perspective shows the message: "Show Errors Reset View Errors have
occurred calculating the synchronization state for SVN (/<directory_name>)"

I was expecting Subclipse to handle this case more gracefully, like the
subversion command line interface does:

svn status
~ jbpmeditor.war

Here's what the error console returns:

org.tigris.subversion.subclipse.core.SVNException:
org.tigris.subversion.javahl.ClientException: Working copy not locked; this
is probably a bug, please report
svn: Expected 'C:\jbpm-prod\jbpm-4.3\install\src\signavio\jbpmeditor.war' to
be a file but found a directory
Path is not a working copy file
svn: Expected 'C:\jbpm-prod\jbpm-4.3\install\src\signavio\jbpmeditor.war' to
be a file but found a directory

at
org.tigris.subversion.subclipse.core.SVNException.wrapException(SVNException.java:91)
at
org.tigris.subversion.subclipse.core.status.RecursiveStatusUpdateStrategy.statusesToUpdate(RecursiveStatusUpdateStrategy.java:64)
at
org.tigris.subversion.subclipse.core.status.StatusCacheManager.basicGetStatus(StatusCacheManager.java:217)
at
org.tigris.subversion.subclipse.core.status.StatusCacheManager.getStatus(StatusCacheManager.java:188)
at
org.tigris.subversion.subclipse.core.status.StatusCacheManager.getStatus(StatusCacheManager.java:136)
at
org.tigris.subversion.subclipse.core.resources.LocalResource.getStatus(LocalResource.java:208)
at
org.tigris.subversion.subclipse.core.resources.LocalFolder.getStatus(LocalFolder.java:318)
at
org.tigris.subversion.subclipse.core.resources.LocalResource.isIgnored(LocalResource.java:116)
at
org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.isSupervised(SVNWorkspaceSubscriber.java:124)
at
org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.getSyncInfo(SVNWorkspaceSubscriber.java:173)
at org.eclipse.team.core.subscribers.Subscriber.collect(Subscriber.java:325)
at org.eclipse.team.core.subscribers.Subscriber.collect(Subscriber.java:310)
at org.eclipse.team.core.subscribers.Subscriber.collect(Subscriber.java:310)
at org.eclipse.team.core.subscribers.Subscriber.collect(Subscriber.java:310)
at org.eclipse.team.core.subscribers.Subscriber.collect(Subscriber.java:310)
at
org.eclipse.team.core.subscribers.Subscriber.collectOutOfSync(Subscriber.java:258)
at
org.eclipse.team.internal.core.subscribers.SubscriberSyncInfoEventHandler.collectAll(SubscriberSyncInfoEventHandler.java:162)
at
org.eclipse.team.internal.core.subscribers.SubscriberEventHandler.processEvent(SubscriberEventHandler.java:317)
at
org.eclipse.team.internal.core.BackgroundEventHandler.processEvents(BackgroundEventHandler.java:369)
at
org.eclipse.team.internal.core.BackgroundEventHandler$1.run(BackgroundEventHandler.java:203)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris.subversion.javahl.ClientException: Working copy not locked; this
is probably a bug, please report
svn: Expected 'C:\jbpm-prod\jbpm-4.3\install\src\signavio\jbpmeditor.war' to
be a file but found a directory
Path is not a working copy file
svn: Expected 'C:\jbpm-prod\jbpm-4.3\install\src\signavio\jbpmeditor.war' to
be a file but found a directory

at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:542)
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:514)
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:507)
at
org.tigris.subversion.subclipse.core.status.RecursiveStatusUpdateStrategy.statusesToUpdate(RecursiveStatusUpdateStrategy.java:62)
... 19 more
Caused by: org.tigris.subversion.javahl.ClientException: Working copy not
locked; this is probably a bug, please report
svn: Expected 'C:\jbpm-prod\jbpm-4.3\install\src\signavio\jbpmeditor.war' to
be a file but found a directory
Path is not a working copy file
svn: Expected 'C:\jbpm-prod\jbpm-4.3\install\src\signavio\jbpmeditor.war' to
be a file but found a directory

at org.tigris.subversion.javahl.SVNClient.status(Native Method)
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:528)
... 22 more

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2460080

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].

subclipse_war_dir.png
Received on 2010-03-15 18:38:29 CET

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.