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

RE: [Subclipse-users] "File cannot be cast to..." when updating

From: Hale,Katherine <halek_at_oclc.org>
Date: Wed, 2 Jul 2008 10:51:49 -0400

I was experiencing the same issue, and I might have a work around for
you. Can you navigate to the folder that has the svn:externals and share
the contents of the property?

-----Original Message-----
From: Andreas Magnusson [mailto:andreas.ch.magnusson_at_gmail.com]
Sent: Wednesday, July 02, 2008 1:59 AM
To: users_at_subclipse.tigris.org
Subject: [Subclipse-users] "File cannot be cast to..." when updating

Hi all,
I'm running Eclipse 3.4 and subclipse 1.4.0 and am getting errors on
update (see info below). I also tried to delete the project and check it
out again, the same error. Note that nothing seems wrong with the WC,
and the project is OK. It's just that I get these errors each and every
time.
One common factor I know of is that the two projects that show this
error both have svn:externals. The unit test project don't give an
error, and doesn't have svn:externals.

/Andreas

Here is the eclipse info on the error:

eclipse.buildId=I20080617-2000
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=sv_SE
Command-line arguments: -os win32 -ws win32 -arch x86_64

Error
Wed Jul 02 07:48:59 CEST 2008
An internal error occurred during: "SVN Update".

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)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-07-02 16:52:06 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.