Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330902 - ClassCastException in New Faceted Project wizard with JavaServer Faces 1.1 facet selected
Summary: ClassCastException in New Faceted Project wizard with JavaServer Faces 1.1 fa...
Status: NEW
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: JSF Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jsf inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 06:26 EST by Slava Kabanovich CLA
Modified: 2010-11-23 14:08 EST (History)
2 users (show)

See Also:


Attachments
ClassCastException (2.08 KB, text/plain)
2010-11-23 06:29 EST, Slava Kabanovich CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.