1 Reply Latest reply on Oct 14, 2005 5:09 AM by karthikeyan perumal

    [HELP]Unable to set "JSP Compilation Support"

    hkdennis2k Newbie

      It is Eclipse 3.0.2 and JBossIDE 1.40.

      I cannot set the "JSP Compilation Support".
      I have pick the right Root folder, and tick "Check to enable the JSP compailation", the apply button have to response. and it don't save my setting.

      I checked the error log have the following.

      How can I make it works?


      Error 6? 20, 2005 17:18:31.817 java.lang.NullPointerException
      java.lang.NullPointerException
      at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.properties.JSPProjectNaturePropertyPage.doAssignNature(JSPProjectNaturePropertyPage.java:245)
      at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.properties.JSPProjectNaturePropertyPage.performOk(JSPProjectNaturePropertyPage.java:68)
      at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:746)
      at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
      at org.eclipse.core.runtime.Platform.run(Platform.java:747)
      at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:728)
      at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:199)
      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:796)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2773)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2432)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
      at org.eclipse.jface.window.Window.open(Window.java:648)
      at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:177)
      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:796)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2773)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2432)
      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(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      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)


      Error 6? 20, 2005 17:18:31.802 java.lang.NullPointerException
      java.lang.NullPointerException
      at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.properties.JSPProjectNaturePropertyPage.doAssignNature(JSPProjectNaturePropertyPage.java:245)
      at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.properties.JSPProjectNaturePropertyPage.performApply(JSPProjectNaturePropertyPage.java:162)
      at org.eclipse.jface.preference.PreferencePage$2.widgetSelected(PreferencePage.java:272)
      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:796)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2773)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2432)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
      at org.eclipse.jface.window.Window.open(Window.java:648)
      at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:177)
      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:796)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2773)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2432)
      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(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      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)


      Error 6? 20, 2005 17:18:31.786 Unhandled event loop exception