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

RE: [Subclipse-users] Externals property bug - folder UI

From: Hale,Katherine <halek_at_oclc.org>
Date: Thu, 26 Jun 2008 15:43:14 -0400

That's didn't work well at all.

So I deleted the contents of the externals folder (minus the .svn), to
see what would happen with the new version. I did a replace with latest
on the externals directory, and it just errors out. If I do an update to
the project, I still get the same error.

The UI shows: "Problem Occurred: SVN Update (Time of error:xxx) Reason:
org.eclipse.core.internal.resources.File cannot be cast to
org.eclipse.core.resources.IContainer

And the .log file shows this stack:

!ENTRY org.eclipse.core.jobs 4 2 2008-06-26 15:29:34.108
!MESSAGE An internal error occurred during: "SVN Update".
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.File
cannot be cast to org.eclipse.core.resources.IContainer
 at
org.tigris.subversion.subclipse.core.client.OperationManager.endOperatio
n(OperationManager.java:113)
 at
org.tigris.subversion.subclipse.core.commands.UpdateResourcesCommand.run
(UpdateResourcesCommand.java:83)
 at
org.tigris.subversion.subclipse.ui.operations.UpdateOperation.execute(Up
dateOperation.java:73)
 at
org.tigris.subversion.subclipse.ui.operations.RepositoryProviderOperatio
n.execute(RepositoryProviderOperation.java:71)
 at
org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperat
ion.java:89)
 at
org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableC
ontext.java:144)
 at
org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runI
nWorkspace(JobRunnableContext.java:72)
 at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWor
kspaceJob.java:38)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

This crash seems to happen just after updating the last external. Here's
the tail of the SVN console:

Updating external location at:
C:/workspace/MetaDataCapture/externals/Apache/jakarta/commons-logging.ja
r
At revision 12061.
Updating external location at:
C:/workspace/MetaDataCapture/externals/Apache/jakarta/commons-validator.
jar
At revision 12061.
At revision 14.

Either way I'll probably just go back to 1.2.x for now. I'll go ahead
and log a defect in the Issue tracker for the original issue, although I
can include this information if it's useful, or I could log a separate
defect if that's appropriate.

-----Original Message-----
From: Hale,Katherine
Sent: Thursday, June 26, 2008 3:12 PM
To: 'users_at_subclipse.tigris.org'
Subject: RE: [Subclipse-users] Externals property bug - folder UI

I just noticed on the Subclipse page, http://subclipse.tigris.org/, that
Subclipse 1.2.x is deprecated. I didn't even realize there was a more
recent version because I just followed these instructions - the first
result when you google "Subclipse install". Note step 4 seems to be
dependent on the version.

http://subclipse.tigris.org/install.html

I'll try upgrading and see what happens.
Received on 2008-06-26 21:43:42 CEST

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.