Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330902

Summary: ClassCastException in New Faceted Project wizard with JavaServer Faces 1.1 facet selected
Product: [WebTools] Java Server Faces Reporter: Slava Kabanovich <scabanovich>
Component: JSF ToolsAssignee: jsf inbox <jsf-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: vyemialyanchyk, yurykats
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
ClassCastException none

Description Slava Kabanovich CLA 2010-11-23 06:26:47 EST
Build Identifier: I20100520-1744

for some configurations of facets in New Faceted Project, JSF facet fails to be installed correctly. 
For example, run New Faceted Project (New -> Project... -> General -> Faceted Project) and set 
- Dynamic Web Module 2.5 
- Java 1.5 or 1.6 
- JavaServerFaces 1.1 
Wizard allows to finish, and project is created with all facets, but java.lang.ClassCastException exception is logged and Run As->Run on Server does not work (does not take into account JSF servlet mapping). 

Reproducible: Always

Steps to Reproduce:
1. Run New Faceted Project (New -> Project... -> General -> Faceted Project)
2. Select facets
- Dynamic Web Module 2.5 
- Java 1.5 or 1.6 
- JavaServerFaces 1.1
3. Finish and find exception in log
Comment 1 Slava Kabanovich CLA 2010-11-23 06:29:31 EST
Created attachment 183657 [details]
ClassCastException
Comment 2 Yury Kats CLA 2010-11-23 14:08:28 EST
This was fixed in 3.2.1, see bug 316926.