[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: Andreas Magnusson <andreas.ch.magnusson_at_gmail.com>
Date: Thu, 3 Jul 2008 07:06:37 +0200

Thanks, and sure. Here it is:

svn:externals
thirdParty/log4j svn://server.example.com,/GWT_Externals/externals/log4j-1.2.15
thirdParty/jdom svn://server.example.com/GWT_Externals/externals/jdom-1.1

/Andreas
On Wed, Jul 2, 2008 at 4:51 PM, Hale,Katherine <halek_at_oclc.org> wrote:
> 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
>
>

---------------------------------------------------------------------
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-03 07:06:51 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.