Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » JSF & Eclipse project
JSF & Eclipse project [message #611581] Thu, 07 June 2007 17:55
Eclipse User
Originally posted by: killahyo.gmail.com

Hello everybody! I'm trying to write a web application using JSF (my first
time using JSF) and I'm currently unable to configure the project in
Eclipse.

When I select JavaServer Faces in the "Project Facets" dialog I get an
error and taking a look at the project's log file I can see this:

!SESSION 2007-06-07 18:50:11.958
-----------------------------------------------
eclipse.buildId=M20070212-1330
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ca_ES
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.wst.common.project.facet.core 2 0 2007-06-07
18:51:56.228
!MESSAGE The ">", ">=", "<", and "<=" notation in version expressions has
been deprecated. It used in plugin org.eclipse.wtp.jsf.core. Note that the
angle brackets are represented via "&lt;" and "&gt;" in the plugin.xml
files. The functionality has been replaced with range notation. For
instance "[X-Y)" means all versions greater or equals to X and less than
Y. Open ranges such as "(X" or "Y]" are also allowed.

!ENTRY org.eclipse.wtp.jsf.core 1 0 2007-06-07 18:53:04.436
!MESSAGE Could not load JSF Library Registry; creating new registry
!STACK 0
java.io.FileNotFoundException:
C:\PresentacioExemple\.metadata\.plugins\org.eclipse.wtp.jsf .core\JSFLibraryRegistry.xml
(El sistema no puede hallar la ruta especificada)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createF ileInputStream(URIConverterImpl.java:469)
at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:431)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:897)
at
org.eclipse.wtp.jsf.core.internal.JSFCorePlugin.loadJSFLibra ryRegistry(JSFCorePlugin.java:126)
at
org.eclipse.wtp.jsf.core.internal.JSFCorePlugin.start(JSFCor ePlugin.java:83)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:991)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:985)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:966)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:317)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:256)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:342)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .preFindLocalClass(EclipseLazyStarter.java:88)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:412)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:334)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:386)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:278)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1245)
at
org.eclipse.wst.common.project.facet.core.internal.FacetCore Plugin.instantiate(FacetCorePlugin.java:139)
at
org.eclipse.wst.common.project.facet.core.internal.ActionDef inition.createConfigObject(ActionDefinition.java:126)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetVersion.createActionConfig(ProjectFacetVersion.java:277)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelF acetWizard.getConfig(NewProjectDataModelFacetWizard.java:475 )
at
org.eclipse.wst.common.project.facet.ui.AddRemoveFacetsWizar d$WizardContext.getConfig(AddRemoveFacetsWizard.java:569)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.createAction(FacetsSelectionPanel.java:655)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.updateValidationDisplay(FacetsSelectionPanel.java: 1076)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.checkStateChanged(FacetsSelectionPanel.java:1043)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.access$15(FacetsSelectionPanel.java:978)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$8.checkStateChanged(FacetsSelectionPanel.java:379)
at
org.eclipse.jface.viewers.CheckboxTreeViewer$1.run(CheckboxT reeViewer.java:133)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.fireCheckStateC hanged(CheckboxTreeViewer.java:131)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.handleSelect(Ch eckboxTreeViewer.java:267)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:1154)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:213)
at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.ja va:207)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:374)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.jface 4 2 2007-06-07 18:53:04.446
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.IllegalArgumentException: Project facet has not been defined.
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl.getProjectFacet(ProjectFacetsManagerImpl.jav a:195)
at
org.eclipse.wst.common.project.facet.core.ProjectFacetsManag er.getProjectFacet(ProjectFacetsManager.java:81)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.getValidPropertyDescriptors(FacetInstallDat aModelProvider.java:76)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:56)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.datamodel.AbstractDataMode lProvider.setProperty(AbstractDataModelProvider.java:234)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:65)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.componentcore.datamodel.FacetDataMode lConfigAdapter.setVersion(FacetDataModelConfigAdapter.java:4 0)
at
org.eclipse.wst.common.project.facet.core.internal.ActionDef inition.createConfigObject(ActionDefinition.java:146)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetVersion.createActionConfig(ProjectFacetVersion.java:277)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelF acetWizard.getConfig(NewProjectDataModelFacetWizard.java:475 )
at
org.eclipse.wst.common.project.facet.ui.AddRemoveFacetsWizar d$WizardContext.getConfig(AddRemoveFacetsWizard.java:569)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.createAction(FacetsSelectionPanel.java:655)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.updateValidationDisplay(FacetsSelectionPanel.java: 1076)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.checkStateChanged(FacetsSelectionPanel.java:1043)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.access$15(FacetsSelectionPanel.java:978)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$8.checkStateChanged(FacetsSelectionPanel.java:379)
at
org.eclipse.jface.viewers.CheckboxTreeViewer$1.run(CheckboxT reeViewer.java:133)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.fireCheckStateC hanged(CheckboxTreeViewer.java:131)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.handleSelect(Ch eckboxTreeViewer.java:267)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:1154)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:213)
at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.ja va:207)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:374)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.ui 4 4 2007-06-07 19:12:27.659
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2007-06-07 19:12:27.719
!MESSAGE Project facet has not been defined.
!STACK 0
java.lang.IllegalArgumentException: Project facet has not been defined.
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl.getProjectFacet(ProjectFacetsManagerImpl.jav a:195)
at
org.eclipse.wst.common.project.facet.core.ProjectFacetsManag er.getProjectFacet(ProjectFacetsManager.java:81)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.getValidPropertyDescriptors(FacetInstallDat aModelProvider.java:76)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:56)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.datamodel.AbstractDataMode lProvider.setProperty(AbstractDataModelProvider.java:234)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:65)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.componentcore.datamodel.FacetDataMode lConfigAdapter.setVersion(FacetDataModelConfigAdapter.java:4 0)
at
org.eclipse.wst.common.project.facet.core.internal.ActionDef inition.createConfigObject(ActionDefinition.java:146)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetVersion.createActionConfig(ProjectFacetVersion.java:277)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelF acetWizard.getConfig(NewProjectDataModelFacetWizard.java:475 )
at
org.eclipse.wst.common.project.facet.ui.AddRemoveFacetsWizar d$WizardContext.getConfig(AddRemoveFacetsWizard.java:569)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.createAction(FacetsSelectionPanel.java:655)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.updateValidationDisplay(FacetsSelectionPanel.java: 1076)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.handlePresetSelected(FacetsSelectionPanel.java:164 7)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.access$21(FacetsSelectionPanel.java:1602)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$19.handleEvent(FacetsSelectionPanel.java:1280)
at
org.eclipse.wst.common.project.facet.ui.internal.AbstractDat aModel.notifyListeners(AbstractDataModel.java:54)
at
org.eclipse.wst.common.project.facet.ui.internal.AddRemoveFa cetsDataModel.setSelectedPreset(AddRemoveFacetsDataModel.jav a:84)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$20.widgetSelected(FacetsSelectionPanel.java:1308)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.jface 4 2 2007-06-07 19:12:35.440
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.IllegalArgumentException: Project facet has not been defined.
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl.getProjectFacet(ProjectFacetsManagerImpl.jav a:195)
at
org.eclipse.wst.common.project.facet.core.ProjectFacetsManag er.getProjectFacet(ProjectFacetsManager.java:81)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.getValidPropertyDescriptors(FacetInstallDat aModelProvider.java:76)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:56)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.datamodel.AbstractDataMode lProvider.setProperty(AbstractDataModelProvider.java:234)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:65)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.componentcore.datamodel.FacetDataMode lConfigAdapter.setVersion(FacetDataModelConfigAdapter.java:4 0)
at
org.eclipse.wst.common.project.facet.core.internal.ActionDef inition.createConfigObject(ActionDefinition.java:146)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetVersion.createActionConfig(ProjectFacetVersion.java:277)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelF acetWizard.getConfig(NewProjectDataModelFacetWizard.java:475 )
at
org.eclipse.wst.common.project.facet.ui.AddRemoveFacetsWizar d$WizardContext.getConfig(AddRemoveFacetsWizard.java:569)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.createAction(FacetsSelectionPanel.java:655)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.updateValidationDisplay(FacetsSelectionPanel.java: 1076)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.checkStateChanged(FacetsSelectionPanel.java:1043)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.access$15(FacetsSelectionPanel.java:978)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$8.checkStateChanged(FacetsSelectionPanel.java:379)
at
org.eclipse.jface.viewers.CheckboxTreeViewer$1.run(CheckboxT reeViewer.java:133)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.fireCheckStateC hanged(CheckboxTreeViewer.java:131)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.handleSelect(Ch eckboxTreeViewer.java:267)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:1154)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:213)
at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.ja va:207)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:374)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.ui 4 4 2007-06-07 19:12:38.524
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2007-06-07 19:12:38.534
!MESSAGE Project facet has not been defined.
!STACK 0
java.lang.IllegalArgumentException: Project facet has not been defined.
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl.getProjectFacet(ProjectFacetsManagerImpl.jav a:195)
at
org.eclipse.wst.common.project.facet.core.ProjectFacetsManag er.getProjectFacet(ProjectFacetsManager.java:81)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.getValidPropertyDescriptors(FacetInstallDat aModelProvider.java:76)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:56)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.datamodel.AbstractDataMode lProvider.setProperty(AbstractDataModelProvider.java:234)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:65)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.componentcore.datamodel.FacetDataMode lConfigAdapter.setVersion(FacetDataModelConfigAdapter.java:4 0)
at
org.eclipse.wst.common.project.facet.core.internal.ActionDef inition.createConfigObject(ActionDefinition.java:146)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetVersion.createActionConfig(ProjectFacetVersion.java:277)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelF acetWizard.getConfig(NewProjectDataModelFacetWizard.java:475 )
at
org.eclipse.wst.common.project.facet.ui.AddRemoveFacetsWizar d$WizardContext.getConfig(AddRemoveFacetsWizard.java:569)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.createAction(FacetsSelectionPanel.java:655)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.updateValidationDisplay(FacetsSelectionPanel.java: 1076)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.handlePresetSelected(FacetsSelectionPanel.java:164 7)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.access$21(FacetsSelectionPanel.java:1602)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$19.handleEvent(FacetsSelectionPanel.java:1280)
at
org.eclipse.wst.common.project.facet.ui.internal.AbstractDat aModel.notifyListeners(AbstractDataModel.java:54)
at
org.eclipse.wst.common.project.facet.ui.internal.AddRemoveFa cetsDataModel.setSelectedPreset(AddRemoveFacetsDataModel.jav a:84)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$20.widgetSelected(FacetsSelectionPanel.java:1308)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

What can I do? please help me.


Thank you very much
Previous Topic:Eclipse content assist
Next Topic:Missing the Visual Page Designer Feature in WTP 2.0 - default configuration?
Goto Forum:
  


Current Time: Sat Oct 25 00:52:32 GMT 2014

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

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