Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Problem from org.eclipse.core.resource plugin (ClassCastException)
Problem from org.eclipse.core.resource plugin (ClassCastException) [message #172724] Thu, 29 June 2006 13:25 Go to next message
John Kenny is currently offline John Kenny
Messages: 62
Registered: July 2009
Member
Please help!!

My Eclipse crashed due to an out of memory error and now my error log
fills up with these messages over and over as I work on my java files:

Problems occurred when invoking code from plug-in:
"org.eclipse.core.resources".

java.lang.ClassCastException:
org.eclipse.wst.common.internal.emf.resource.ReferencedXMIRe sourceImpl
at
org.eclipse.wst.common.componentcore.internal.ModuleStructur alModel.resNeedsMigrating(ModuleStructuralModel.java:210)
at
org.eclipse.wst.common.componentcore.internal.ModuleStructur alModel.prepareProjectModulesIfNecessary(ModuleStructuralMod el.java:178)
at
org.eclipse.wst.common.componentcore.internal.ModuleStructur alModel.getPrimaryRootObject(ModuleStructuralModel.java:99)
at
org.eclipse.wst.common.componentcore.internal.StructureEdit. getComponentModelRoot(StructureEdit.java:437)
at
org.eclipse.wst.common.componentcore.internal.StructureEdit. getWorkbenchModules(StructureEdit.java:466)
at
org.eclipse.wst.common.componentcore.internal.StructureEdit. getComponent(StructureEdit.java:905)
at
org.eclipse.wst.common.componentcore.internal.resources.Virt ualComponent.getMetaResources(VirtualComponent.java:229)
at
org.eclipse.wst.common.componentcore.internal.resources.Virt ualContainer.members(VirtualContainer.java:157)
at
org.eclipse.wst.common.componentcore.internal.resources.Virt ualContainer.members(VirtualContainer.java:140)
at
org.eclipse.jst.common.jdt.internal.classpath.FlexibleProjec tContainer. <init>(FlexibleProjectContainer.java:133)
at
org.eclipse.jst.j2ee.internal.web.classpath.WebAppContainer. <init>(WebAppContainer.java:46)
at
org.eclipse.jst.j2ee.internal.web.classpath.WebAppContainerI nitializer.initialize(WebAppContainerInitializer.java:34)
at
org.eclipse.jdt.internal.core.JavaModelManager.initializeCon tainer(JavaModelManager.java:1591)
at
org.eclipse.jdt.internal.core.JavaModelManager.getClasspathC ontainer(JavaModelManager.java:1040)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore .java:1326)
at
org.eclipse.jst.common.jdt.internal.classpath.FlexibleProjec tContainer$Listener.resourceChanged(FlexibleProjectContainer .java:328)
at
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:276)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at
org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:270)
at
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:144)
at
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:180)
at
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:916)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:147)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:200)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


Any help please!

John
Re: Problem from org.eclipse.core.resource plugin (ClassCastException) [message #172774 is a reply to message #172724] Fri, 30 June 2006 09:04 Go to previous message
Chuck Bridgham is currently offline Chuck Bridgham
Messages: 32
Registered: July 2009
Member
Are you on a recent driver? The classcast you show was a problem
registering the EMF Resource class properly on startup, and this was fixed
in RC4 I beleive...
Please pick up the 1.5 release today, and report back any problems....

Thanks - Chuck
Previous Topic:Can WST's XML Editor do validation against a schema ?
Next Topic:DeploymentDescriptorLoadException???
Goto Forum:
  


Current Time: Tue Jul 29 04:45:02 EDT 2014

Powered by FUDForum. Page generated in 0.02707 seconds