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

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

From: Andreas Magnusson <andreas.ch.magnusson_at_gmail.com>
Date: Wed, 2 Jul 2008 07:58:45 +0200

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.endOperation(OperationManager.java:113)
at org.tigris.subversion.subclipse.core.commands.UpdateResourcesCommand.run(UpdateResourcesCommand.java:83)
at org.tigris.subversion.subclipse.ui.operations.UpdateOperation.execute(UpdateOperation.java:73)
at org.tigris.subversion.subclipse.ui.operations.RepositoryProviderOperation.execute(RepositoryProviderOperation.java:71)
at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:89)
at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.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
Received on 2008-07-02 07:59:02 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.