1 Reply Latest reply on Feb 25, 2007 2:54 AM by Max Rydahl Andersen

    NullPointerException in FreeMarker IDE

    jk;l jkl; Expert

      When I go to the context editor to add a new context variable in the FreeMarker IDE and enter a name and class, I get the following error. What could be causing this?

      java.lang.NullPointerException:
       at hudson.freemarker_ide.editor.Editor.dispose(Editor.java:83)
       at org.eclipse.ui.part.MultiPageEditorPart$3.run(MultiPageEditorPart.java:638)
       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
       at org.eclipse.core.runtime.Platform.run(Platform.java:843)
       at org.eclipse.ui.part.MultiPageEditorPart.disposePart(MultiPageEditorPart.java:631)
       at org.eclipse.ui.part.MultiPageEditorPart.dispose(MultiPageEditorPart.java:333)
       at org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartReference.java:687)
       at org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:256)
       at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:642)
       at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1548)
       at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1311)
       at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1295)
       at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1269)
       at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1324)
       at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:54)
       at org.eclipse.ui.internal.PartStack.close(PartStack.java:499)
       at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:205)
       at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:106)
       at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)
       at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
       at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
       at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
       at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)
       at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:580)
       at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:187)
       at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2107)
       at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:292)
       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.java:3348)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)