Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319841 - Can open workspace properly
Summary: Can open workspace properly
Status: CLOSED DUPLICATE of bug 303131
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: 3.2.2   Edit
Assignee: Jason Sholl CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-14 08:40 EDT by ppopovici CLA
Modified: 2010-08-30 15:41 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ppopovici CLA 2010-07-14 08:40:20 EDT
Build Identifier: 20090920-1017

java.lang.ClassCastException: org.eclipse.jst.j2ee.application.internal.impl.ApplicationImpl
at org.eclipse.jst.j2ee.project.EarUtilities.getEARLibDir(EarUtilities.java:372)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.getBaseEARLibRefs(J2EEComponentClasspathContainer.java:321)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.update(J2EEComponentClasspathContainer.java:211)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.install(J2EEComponentClasspathContainer.java:351)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathInitializer.initialize(J2EEComponentClasspathInitializer.java:47)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2642)
at org.eclipse.jdt.internal.core.JavaModelManager$11.run(JavaModelManager.java:2548)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2588)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1808)
at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:3410)
at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:35)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Reproducible: Always

Steps to Reproduce:
1.Start Eclipse
2.
3.
Comment 1 Olivier Thomann CLA 2010-07-14 09:33:56 EDT
Move to WebTools
Comment 2 Chuck Bridgham CLA 2010-08-30 10:16:02 EDT
Hi Jason - can you take a look?
Comment 3 Jason Sholl CLA 2010-08-30 15:41:32 EDT
I think this may be a duplicate of bug 303131 which is fixed in the latest WTP release, 3.2.1.  If you can reproduce this on WTP 3.2.1 please reopen and attach the simple workspace which reproduces the problem.

*** This bug has been marked as a duplicate of bug 303131 ***