Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » problems setting up jsf support for project
problems setting up jsf support for project [message #471798] Thu, 11 May 2006 06:01 Go to next message
Mario Ivankovits is currently offline Mario IvankovitsFriend
Messages: 23
Registered: July 2009
Junior Member
Hi!

I use Eclipse 3.2.0 I20060505-1306 and WTP 1.5.0 20060403 (as far as I
remember its the callisto one)

Now I would like to try the JSF TP RC2 but have troubles setting up the
project.
My project is a "Dynamic Web Project".

In Preferences if configured JSF Libraries as follows:
myfaces-api-1.1.4-dev, myfaces-impl-1.1.4-dev, tomahawk-1.1.3-dev,
tomahawk-sandbox-1.1.3-dev
(where -dev means "nightly build")

Now when I try to access the "JSF Library Reference" page the following
exception happens (from .log)
!ENTRY org.eclipse.jface 4 2 2006-05-11 07:46:48.451
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jst.jsf.core.internal.jsflibraryregistry.util.Pr ojectJSFLibraryMetaData.getTuples(ProjectJSFLibraryMetaData. java:168)
at
org.eclipse.jst.jsf.core.internal.jsflibraryregistry.util.Pr ojectJSFLibraryMetaData.getSelectedJSFLibImplementation(Proj ectJSFLibraryMetaData.java:43)
at
org.eclipse.jst.jsf.core.internal.jsflibraryregistry.util.Pr ojectJSFLibraryProvider.getProjectJSFImplementationLibraries (ProjectJSFLibraryProvider.java:59)
at
org.eclipse.jst.jsf.ui.internal.properties.ProjectJSFLibrary Control.setProjectJSFLibraryProvider(ProjectJSFLibraryContro l.java:107)
at
org.eclipse.jst.jsf.ui.internal.properties.JSFLibraryPropert yPage2.createForJSFProject(JSFLibraryPropertyPage2.java:137)
at
org.eclipse.jst.jsf.ui.internal.properties.JSFLibraryPropert yPage2.createContents(JSFLibraryPropertyPage2.java:115)
at
org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:233)
at
org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1403)



And the same when I try to add the "JavaServer Faces 1.2" facet to the
project:
!ENTRY org.eclipse.jface 4 2 2006-05-11 07:47:33.484
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jst.jsf.core.internal.jsflibraryregistry.util.Pr ojectJSFLibraryMetaData.getTuples(ProjectJSFLibraryMetaData. java:168)
at
org.eclipse.jst.jsf.core.internal.jsflibraryregistry.util.Pr ojectJSFLibraryMetaData.getSelectedJSFLibImplementation(Proj ectJSFLibraryMetaData.java:43)
at
org.eclipse.jst.jsf.core.internal.jsflibraryregistry.util.Pr ojectJSFLibraryProvider.getProjectJSFImplementationLibraries (ProjectJSFLibraryProvider.java:59)
at
org.eclipse.jst.jsf.ui.internal.properties.ProjectJSFLibrary Control.setProjectJSFLibraryProvider(ProjectJSFLibraryContro l.java:107)
at
org.eclipse.jst.jsf.ui.internal.project.facet.JSFFacetInstal lPage.createTopLevelComposite(JSFFacetInstallPage.java:141)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizardPage.createControl(DataModelWizardPage.java:101)


Any idea?
Ciao,
Mario
Re: problems setting up jsf support for project [message #471929 is a reply to message #471798] Fri, 12 May 2006 17:00 Go to previous message
Justin Chen is currently offline Justin ChenFriend
Messages: 39
Registered: July 2009
Member
Mario,

You probably ran into a test case that is not handled in the development
build.
Please enter a bug.

To continue other tests or your works, you could try creating another JSF
project and selecting the "JavaServer Faces v1.1 Project" preset in
Project Facets wizard page.

You could also find a JSF tutorial in the following URL if it helps.
http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial -M5/JSFTools_milestone5_tutorial.html
BTW, some functionality in the tutorial may not work properly against the
WTP 1.5 RC2 + JSF development build.

Thanks,
Justin
Re: problems setting up jsf support for project [message #600398 is a reply to message #471798] Fri, 12 May 2006 17:00 Go to previous message
Justin Chen is currently offline Justin ChenFriend
Messages: 39
Registered: July 2009
Member
Mario,

You probably ran into a test case that is not handled in the development
build.
Please enter a bug.

To continue other tests or your works, you could try creating another JSF
project and selecting the "JavaServer Faces v1.1 Project" preset in
Project Facets wizard page.

You could also find a JSF tutorial in the following URL if it helps.
http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial -M5/JSFTools_milestone5_tutorial.html
BTW, some functionality in the tutorial may not work properly against the
WTP 1.5 RC2 + JSF development build.

Thanks,
Justin
Previous Topic:Faces config editor (RC2) - some notes
Next Topic:Faces config editor (RC2) - some notes
Goto Forum:
  


Current Time: Fri Mar 29 11:58:45 GMT 2024

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

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

Back to the top