facebook

Can’t open form (NullPointer)

  1. MyEclipse Archived
  2.  > 
  3. Matisse/Swing UI Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #272927 Reply

    I have several forma that I can’t save. They worked fine for some time but now, when I make a chage I can’t save the file.

    I upgraded to MyEclipse 6.0 hopeing that would fix the problem but does not.

    Here is the entry from the .log file.

    !ENTRY org.eclipse.ui 2 0 2007-07-19 14:10:28.921
    !MESSAGE Save Failed
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.dehory.DehoryEditor.format(DehoryEditor.java:640)
    at com.genuitec.eclipse.dehory.DehoryEditor.doSave(DehoryEditor.java:758)
    at org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:6779)
    at org.eclipse.ui.Saveable.doSave(Saveable.java:212)
    at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:339)
    at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:185)
    at org.eclipse.ui.internal.SaveableHelper$4.run(SaveableHelper.java:266)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:758)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:755)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2451)
    at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:274)
    at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:253)
    at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:196)
    at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:136)
    at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1345)
    at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3184)
    at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3197)
    at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:73)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:475)
    at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:429)
    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:165)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:821)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:879)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:568)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1141)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:975)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:971)
    at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1285)
    at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3772)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3672)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2264)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3291)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    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.equinox.launcher.Main.invokeFramework(Main.java:504)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

    #273130 Reply

    Loyal Water
    Member

    Can you list the steps you followed when you ran into this issue.

    Can you go through the posting guidelines at the top of this forum and paste the information requested there.

    #273978 Reply

    I follow the following steps:
    1> Open an existing .form (Opens the MyEclipse Swing/Matisse prespective).
    2> Modify the form. It does not seem to matter what modification I make (any simple modification like changing the text of a label).
    3> Save the form (CTRL-S).

    The save will fail and generates the stack trace that I sent previously.

    The installation Summary follows.
    *** Date:
    Thursday, August 16, 2007 3:58:59 AM EDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_12

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    Eclipse Platform

    Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
    Build id: M20070212-1330

    Eclipse RCP

    Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
    Build id: M20070212-1330

    Eclipse Java Development Tools

    Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
    Build id: M20070212-1330

    Eclipse Plug-in Development Environment

    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20070212-1330

    Eclipse Project SDK

    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    Build id: M20070212-1330

    Eclipse Graphical Editing Framework

    Version: 3.2.2.v20070208
    Build id: 20070208-1315

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    T:\MyEclipse 5.5.1 GA\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    fb4_7c
    -vm
    T:\Jvm\jdk1.5.0_12\bin\javaw.exe

    #274121 Reply

    Loyal Water
    Member

    I was unable to reproduce this issue at my end. Can you create a small test project with your form and send it to me so that I can test this out at my end.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Can’t open form (NullPointer)

You must be logged in to post in the forum log in