Exception enabling JSP Compilation Support
jmckee Jan 12, 2005 9:59 AMHi,
I'm having problems enabling jsp compilation support in jboss-ide 1.4, eclipse 3.0.1. When I select jsp compilation under project properties then click ok I get the following error message: - An error has occured. See error log for more details.
I've attached the exception from the workspace .log file. Other enhancements provided by 1.4 appear to be working. Any assistance would be greatly appreciated.
Thanks,
Jonny
!SESSION Jan 12, 2005 14:35:52.771 ---------------------------------------------
eclipse.buildId=I200406251208
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2005 14:35:52.771
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".
!STACK 0
java.lang.NullPointerException
at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.decorators.JSPNatureDecorator.decorate(JSPNatureDecorator.java:69)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:155)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:60)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:258)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:241)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:264)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
!ENTRY org.eclipse.ui 4 4 Jan 12, 2005 14:35:52.781
!MESSAGE Exception in Decorator
!ENTRY org.eclipse.ui 4 4 Jan 12, 2005 14:35:52.791
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.decorators.JSPNatureDecorator.decorate(JSPNatureDecorator.java:69)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:155)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:60)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:258)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:241)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:264)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
!ENTRY org.eclipse.core.runtime 4 0 Jan 12, 2005 14:36:11.431
!MESSAGE java.lang.NullPointerException
!STACK 0
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:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
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:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
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:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)