- This topic has 4 replies, 4 voices, and was last updated 19 years, 4 months ago by support-eugene.
-
AuthorPosts
-
gcollinMemberI setup a JSF project with 2 config files.
I try the new Managed beabs wizard, and got NullPointerException all the time, steps are not displayed correctly, etc…..Here is the log snipplets:
!ENTRY org.eclipse.ui 4 4 juin 22, 2005 09:38:52.759 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 juin 22, 2005 09:38:52.760 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at com.genuitec.eclipse.jsf.wizards.WizardPageWithCodegenSupport.select(Unknown Source) at com.genuitec.eclipse.jsf.wizards.WizardPageWithCodegenSupport.createConfigSelectionCombos(Unknown Source) at com.genuitec.eclipse.jsf.wizards.WizardPageWithCodegenSupport.createControl(Unknown Source) at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:161) at com.genuitec.eclipse.jsf.wizards.JSFWizardWithCodegenSupport.createPageControls(Unknown Source) at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:548) at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:874) at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:923) at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:920) at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:911) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:909) at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:680) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:300) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298) at org.eclipse.jface.window.Window.runEventLoop(Window.java:668) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:163) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688) !ENTRY org.eclipse.ui 4 4 juin 22, 2005 09:38:58.723 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 juin 22, 2005 09:38:58.724 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at com.genuitec.eclipse.jsf.wizards.WizardPageWithCodegenSupport.select(Unknown Source) at com.genuitec.eclipse.jsf.wizards.WizardPageWithCodegenSupport.createConfigSelectionCombos(Unknown Source) at com.genuitec.eclipse.jsf.wizards.WizardPageWithCodegenSupport.createControl(Unknown Source) at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:161) at com.genuitec.eclipse.jsf.wizards.JSFWizardWithCodegenSupport.createPageControls(Unknown Source) at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:548) at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:874) at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:923) at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:920) at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:911) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:909) at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:680) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:300) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298) at org.eclipse.jface.window.Window.runEventLoop(Window.java:668) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:163) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688) !ENTRY org.eclipse.ui 4 4 juin 22, 2005 09:38:59.682 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 juin 22, 2005 09:38:59.683 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at com.genuitec.eclipse.jsf.wizards.NewManagedBeanWizardPage.fillElement(Unknown Source) at com.genuitec.eclipse.jsf.wizards.WizardPageWithCodegenSupport.updateEditData(Unknown Source) at com.genuitec.eclipse.jsf.wizards.JSFWizardWithCodegenSupport.updateConfig(Unknown Source) at com.genuitec.eclipse.jsf.wizards.JSFConfigEditableWizard.perform(Unknown Source) at com.genuitec.eclipse.jsf.wizards.JSFWizardWithCodegenSupport.perform(Unknown Source) at com.genuitec.eclipse.jsf.wizards.JSFWizard.performFinish(Unknown Source) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:609) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:305) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298) at org.eclipse.jface.window.Window.runEventLoop(Window.java:668) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:163) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688)
– System Setup ——————————-
Operating System and version: Linux Gentoo 2.6.11Eclipse version: 3.0.2
Eclipse build id:
Fresh Eclipse install (y/n): y
Other installed external plugins: none
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
MyEclipse version: 4.0M2
Eclipse JDK version: Sun-JDK 1.5.0.03
Riyad KallaMembergc,
When you added JSF capabilities to your JSF project, and one of the fields asked for your faces-config.xml file, what did you enter? (since you have 2, I’m not sure how you filled this value out).
Scott AndersonParticipantCan you provide an exact series of steps to reproduce, beginning with project creation? That way we can investigate and get a bug report, with reproducable steps, submitted so we can get it addressed in the next build. Or, possibly propose a workaround. Thanks1
support-eugeneMemberI guess I can see this bug. To reproduce:
1. Open a JSF Config file that is not registered in the web.xml.
2. Try to create any JSF config element using the wizards in File/New…
If the config file is added to a web.xml wizard will work as supposed.
support-eugeneMemberIf you need to work with the config files that are not registered in the web.xml you can use the outline view menu to add config elements.
-
AuthorPosts