facebook

Matisse properties form hangs Eclipse forcing full refresh

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

    tarantula
    Participant

    Hello,

    I have run into quite a painful issue with the MyEclipse Matisse editor.

    From time to time, while attempting to edit certain JPanel-based form fields in the properties form view in the Matisse perspective, Eclipse hangs and I am forced to terminate the process.

    If the JPanel form has been modified since it was opened in the Matisse perspective, on the next starup Eclipse goes into a full refresh recovery mode which in my case can take up to 20-30 minutes due to the large codebase I am working with.

    Here is the stack trace:

    !ENTRY org.eclipse.ui 4 0 2008-09-08 01:01:59.006
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NullPointerException
        at com.genuitec.eclipse.dehory.FormPropertySheetPage.setSelectedNodes(FormPropertySheetPage.java:116)
        at com.genuitec.eclipse.dehory.FormPropertySheetPage.setSourceMode(FormPropertySheetPage.java:126)
        at com.genuitec.eclipse.dehory.DehoryEditor.widgetSelected(DehoryEditor.java:751)
        at com.genuitec.eclipse.dehory.DehoryEditor.selectAndReveal(DehoryEditor.java:786)
        at org.eclipse.ui.internal.texteditor.GotoLastEditPositionAction.run(GotoLastEditPositionAction.java:97)
        at org.eclipse.ui.internal.texteditor.GotoLastEditPositionAction.run(GotoLastEditPositionAction.java:66)
        at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:289)
        at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
        at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
        at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:471)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:822)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:511)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:126)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1184)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
        at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1352)
        at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3894)
        at org.eclipse.swt.widgets.Tree.WM_CHAR(Tree.java:5795)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:3787)
        at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5791)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2370)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        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:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    

    On startup, Eclipse prints the following to the log:

    eclipse.buildId=I20080617-2000
    java.version=1.6.0_10-rc
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
    Command-line arguments:  -os win32 -ws win32 -arch x86 -clean
    
    !ENTRY org.eclipse.core.resources 2 10035 2008-09-08 01:15:49.364
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

    20 minutes later I can continue my work. 🙁

    I’m running MyEclipse 7 with Eclipse 3.4 on Windows Vista.

    Can someone help?

    Thanks

    #288888 Reply

    Loyal Water
    Member

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    You started facing this issue after upgrading to MyEclipse 7.0M1?

    #288911 Reply

    tarantula
    Participant

    Here you go:

    *** Date: 
    Monday, September 8, 2008 9:35:30 o'clock PM EDT
    
    ** System properties:
    OS=WindowsVista
    OS version=6.0.0
    Java version=1.6.0_10-rc
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.0 Milestone-1
    Build id: 7.0-M1-20080808
    
    
    *** Eclipse details:
    MyEclipse Enterprise Workbench
    
    Version: 7.0 Milestone-1
    Build id: 7.0-M1-20080808
    
    
    
    
    Eclipse Platform
    
    Version: 3.4.0.v20080610-9I96EhtEm-T_5LxIsybz-3MdGZmOA3uwv7Ka_M
    Build id: I20080617-2000
    
    
    Eclipse Project SDK
    
    Version: 3.4.0.v20080522-7O7S-CHEp2gcoGjmFFomLz-d5M8NdvuPgDrH17jw0Mvhe
    Build id: I20080617-2000
    
    
    Eclipse RCP
    
    Version: 3.4.0.v20080324a-989JERhEk-jWnd5IY8K5tjxB
    Build id: I20080617-2000
    
    
    Eclipse Java Development Tools
    
    Version: 3.4.0.v20080603-2000-7o7tEAXEFpPqqoXxgaBhhhq
    Build id: I20080617-2000
    
    
    Eclipse Plug-in Development Environment
    
    Version: 3.4.0.v20080603-7T7U-E_EkMNrNKb39WcMC
    Build id: I20080617-2000
    
    
    Eclipse Graphical Editing Framework GEF
    
    Version: 3.4.0.v20080115-677-8082A5696H274A
    Build id: 200806091334
    
    
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Foo\MyEclipse 7.0M1\eclipse\eclipse.exe
    -name
    Eclipse
    --launcher.library
    C:\Foo\MyEclipse 7.0M1\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.100.v20080509-1800\eclipse_1114.dll
    -startup
    C:\Foo\MyEclipse 7.0M1\eclipse\plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
    -clean
    -vm
    C:\Program Files (x86)\Java\jdk1.6.0_10\bin\..\jre\bin\client\jvm.dll
    
    
    #288933 Reply

    Loyal Water
    Member

    tarantula,
    It seems like you are using JFK 1.6. Can you switch to 1.5.0_11 and test matisse again. I think 1.6 is causing the problem here.

    You will have to make the change in the eclipse.ini file or the MyEclipse shortcut. Point the -vm argument to point to JDK 1.5.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Matisse properties form hangs Eclipse forcing full refresh

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