Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » JSF Facet(JSF 2.0 Facet exception )
JSF Facet [message #662105] Tue, 29 March 2011 10:46 Go to next message
Ahmed Al Kahky is currently offline Ahmed Al KahkyFriend
Messages: 6
Registered: July 2009
Junior Member
I have a maven project when I try to add JSF 2.0 facet to that project I always get a null pointer exception as following:

at org.eclipse.jst.jsf.core.internal.project.facet.JSFFacetInst allDelegate.resolveConfigPath( 96)
at org.eclipse.jst.jsf.core.internal.project.facet.JSFFacetInst allDelegate.createConfigFile( 3)
at org.eclipse.jst.jsf.core.internal.project.facet.JSFFacetInst allDelegate.execute(
at org.eclipse.wst.common.project.facet.core.internal.FacetedPr oject.callDelegate(
at org.eclipse.wst.common.project.facet.core.internal.FacetedPr oject.modifyInternal(
at org.eclipse.wst.common.project.facet.core.internal.FacetedPr oject.mergeChangesInternal(
at org.eclipse.wst.common.project.facet.core.internal.FacetedPr oject.access$2(
at org.eclipse.wst.common.project.facet.core.internal.FacetedPr oject$
at java:1975)
at org.eclipse.wst.common.project.facet.core.internal.FacetedPr oject.mergeChanges(
at org.eclipse.wst.common.project.facet.core.internal.FacetedPr ojectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.jav a:2020)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsPrope rtyPage$
at java:1975)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsPrope rtyPage$
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(
Re: JSF Facet [message #663887 is a reply to message #662105] Wed, 06 April 2011 17:38 Go to previous message
Ian Trimble is currently offline Ian TrimbleFriend
Messages: 137
Registered: July 2009
Senior Member
Have you added the web facet to the project? The code that is failing is having trouble resolving the "web content" folder (WTP concept), which leads me to believe either the web facet is not configured for the project, or "web content" is set at the project root (corrected in recent Indigo builds of WTP).
Previous Topic:Support for beans in faces-config.xml outside WebContent
Next Topic:Referencing Bean values in JSF page
Goto Forum:

Current Time: Sun Nov 18 19:37:36 GMT 2018

Powered by FUDForum. Page generated in 0.01271 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top