facebook

[Closed] Deadlock on Startup

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #279857 Reply

    dgsmith
    Member

    I am now experiencing a persistent deadlock on startup. I autoload a project with Matisse forms using the integrated 6.0 GA + jre version of MyEclipse. The deadlock was intermittent over the past few months but is now persitent, I assum because the project “size” is causing race conditions to occur consistently.

    I cannot provide better config info because I cannot start the ide without autoloading the current project. I can provide the install log if that helps, but this config has been running fine for the last 3 months.

    I’ve used jconsole to diagnose the deadlock and have attached the following stack traces – one for each of the deadlocked threads.

    Help appreciated… I’m stuck.

    
    Name: AWT-EventQueue-0
    State: BLOCKED on java.awt.Component$AWTTreeLock@c017d owned by: main
    Total blocked: 1,105  Total waited: 27
    
    Stack trace: 
    java.awt.Component.setFont(Unknown Source)
    java.awt.Container.setFont(Unknown Source)
    javax.swing.JComponent.setFont(Unknown Source)
    javax.swing.plaf.basic.BasicComboBoxRenderer.getListCellRendererComponent(Unknown Source)
    javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(Unknown Source)
    javax.swing.plaf.basic.BasicComboBoxUI.getMinimumSize(Unknown Source)
    javax.swing.plaf.basic.BasicComboBoxUI.getPreferredSize(Unknown Source)
    com.sun.java.swing.plaf.windows.WindowsComboBoxUI.getPreferredSize(Unknown Source)
    javax.swing.JComponent.getPreferredSize(Unknown Source)
    org.jdesktop.layout.GroupLayout$ComponentSpring.getPreferredSize1(GroupLayout.java:2135)
    org.jdesktop.layout.GroupLayout$ComponentSpring.getMinimumSize1(GroupLayout.java:2115)
    org.jdesktop.layout.GroupLayout$ComponentSpring.getMinimumSize0(GroupLayout.java:2104)
    org.jdesktop.layout.GroupLayout$Spring.getMinimumSize(GroupLayout.java:1005)
    org.jdesktop.layout.GroupLayout$ComponentSpring.getPreferredSize0(GroupLayout.java:2125)
    org.jdesktop.layout.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1015)
    org.jdesktop.layout.GroupLayout$ComponentSpring.getBaseline(GroupLayout.java:2202)
    org.jdesktop.layout.GroupLayout$BaselineGroup.calculateBaseline(GroupLayout.java:2021)
    org.jdesktop.layout.GroupLayout$BaselineGroup.calculateSize(GroupLayout.java:1997)
    org.jdesktop.layout.GroupLayout$Group.getPreferredSize0(GroupLayout.java:1143)
    org.jdesktop.layout.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1015)
    org.jdesktop.layout.GroupLayout$Group.getSize(GroupLayout.java:1190)
    org.jdesktop.layout.GroupLayout$Group.calculateSize(GroupLayout.java:1172)
    org.jdesktop.layout.GroupLayout$Group.getPreferredSize0(GroupLayout.java:1143)
    org.jdesktop.layout.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1015)
    org.jdesktop.layout.GroupLayout$Group.getSize(GroupLayout.java:1190)
    org.jdesktop.layout.GroupLayout$Group.calculateSize(GroupLayout.java:1170)
    org.jdesktop.layout.GroupLayout$Group.getPreferredSize0(GroupLayout.java:1143)
    org.jdesktop.layout.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1015)
    org.jdesktop.layout.GroupLayout$Group.getSize(GroupLayout.java:1190)
    org.jdesktop.layout.GroupLayout$Group.calculateSize(GroupLayout.java:1170)
    org.jdesktop.layout.GroupLayout$Group.getPreferredSize0(GroupLayout.java:1143)
    org.jdesktop.layout.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1015)
    org.jdesktop.layout.GroupLayout$SequentialGroup.setSize0(GroupLayout.java:1501)
    org.jdesktop.layout.GroupLayout$Group.setSize(GroupLayout.java:1128)
    org.jdesktop.layout.GroupLayout.resetAutopadding(GroupLayout.java:799)
    org.jdesktop.layout.GroupLayout.layoutContainer(GroupLayout.java:678)
    org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.createLayout(SwingLayoutBuilder.java:129)
    org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.setupContainerLayout(SwingLayoutBuilder.java:74)
    org.netbeans.modules.form.VisualReplicator.setupContainerLayout(VisualReplicator.java:734)
    org.netbeans.modules.form.VisualReplicator.cloneComponent(VisualReplicator.java:670)
    org.netbeans.modules.form.VisualReplicator.createClone(VisualReplicator.java:171)
    org.netbeans.modules.form.VisualReplicator.createClone(VisualReplicator.java:159)
    org.netbeans.modules.form.FormDesigner$FormListener.run(FormDesigner.java:1910)
    org.netbeans.modules.form.FormLAF$2.run(FormLAF.java:94)
    org.openide.util.Mutex.doEventAccess(Mutex.java:1172)
    org.openide.util.Mutex.readAccess(Mutex.java:209)
    org.netbeans.modules.form.FormLAF.executeWithLookAndFeel(FormLAF.java:76)
    org.netbeans.modules.form.FormDesigner$FormListener.processEvents(FormDesigner.java:1898)
    org.netbeans.modules.form.FormDesigner$FormListener.access$0(FormDesigner.java:1872)
    org.netbeans.modules.form.FormDesigner$FormListener$1.run(FormDesigner.java:1864)
    java.awt.event.InvocationEvent.dispatch(Unknown Source)
    java.awt.EventQueue.dispatchEvent(Unknown Source)
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source)
    
    
    
    
    ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
    
    Name: main
    State: BLOCKED on javax.swing.MultiUIDefaults@1cc5890 owned by: AWT-EventQueue-0
    Total blocked: 18  Total waited: 48
    
    Stack trace: 
    java.util.Hashtable.get(Unknown Source)
    javax.swing.UIDefaults.getFromHashtable(Unknown Source)
    javax.swing.UIDefaults.get(Unknown Source)
    javax.swing.MultiUIDefaults.get(Unknown Source)
    javax.swing.UIManager.get(Unknown Source)
    sun.swing.DefaultLookup.get(Unknown Source)
    sun.swing.DefaultLookup.getBoolean(Unknown Source)
    javax.swing.plaf.basic.BasicScrollBarUI.layoutVScrollbar(Unknown Source)
    javax.swing.plaf.basic.BasicScrollBarUI.layoutContainer(Unknown Source)
    javax.swing.plaf.basic.BasicScrollBarUI$ModelListener.stateChanged(Unknown Source)
    javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source)
    javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown Source)
    javax.swing.JScrollBar.setValues(Unknown Source)
    javax.swing.plaf.basic.BasicScrollPaneUI.syncScrollPaneWithViewport(Unknown Source)
    javax.swing.plaf.basic.BasicScrollPaneUI$Handler.viewportStateChanged(Unknown Source)
    javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(Unknown Source)
    javax.swing.JViewport.fireStateChanged(Unknown Source)
    javax.swing.JViewport.reshape(Unknown Source)
    java.awt.Component.setBounds(Unknown Source)
    java.awt.Component.setBounds(Unknown Source)
    javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
    java.awt.Container.layout(Unknown Source)
    java.awt.Container.doLayout(Unknown Source)
    java.awt.Container.validateTree(Unknown Source)
    java.awt.Container.validateTree(Unknown Source)
    java.awt.Container.validateTree(Unknown Source)
    java.awt.Container.validateTree(Unknown Source)
    java.awt.Container.validateTree(Unknown Source)
    java.awt.Container.validateTree(Unknown Source)
    java.awt.Container.validateTree(Unknown Source)
    java.awt.Container.validate(Unknown Source)
    java.awt.Window.show(Unknown Source)
    sun.awt.EmbeddedFrame.show(Unknown Source)
    java.awt.Component.show(Unknown Source)
    java.awt.Component.setVisible(Unknown Source)
    com.genuitec.eclipse.dehory.DeHoryFormEditor.setFocus(DeHoryFormEditor.java:117)
    com.genuitec.eclipse.dehory.DehoryEditor.setFocus(DehoryEditor.java:771)
    org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:318)
    org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java:127)
    org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:623)
    org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    org.eclipse.core.runtime.Platform.run(Platform.java:857)
    org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:618)
    org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3398)
    org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:611)
    org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:952)
    org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
    org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:801)
    org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342)
    org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
    org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
    org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    java.lang.reflect.Method.invoke(Unknown Source)
    org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    org.eclipse.equinox.launcher.Main.main(Main.java:1148)
    
    #279866 Reply

    Loyal Water
    Member

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

    #279908 Reply

    dgsmith
    Member

    Here you go…

    *** Date:
    Thursday, December 20, 2007 8:02:33 PM PST

    ** System properties:
    OS=WindowsVista
    OS version=6.0
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse Platform

    Version: 3.3.2.R33x_v20071022-_19UEksF-G8Yc6bUv3Dz
    Build id: M20071023-1652

    Eclipse RCP

    Version: 3.3.2.R33x_r20071022-8y8eE9CEV3FspP8HJrY1M2dS
    Build id: I20070625-1500

    Eclipse Java Development Tools

    Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
    Build id: I20070625-1500

    Eclipse Plug-in Development Environment

    Version: 3.3.2.R33x_r20071022-7N7M4CYWLBCz-yHkMIuHN
    Build id: M20070921-1145

    Eclipse Project SDK

    Version: 3.3.2.R33x_r20071022-7M7J7C_Mu2gop0b_GAwplOBhyuKO
    Build id: M20071023-1652

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.2.R331_v20071019\eclipse_1021.dll
    -startup
    C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    -exitdata
    17fc_64
    -vm
    C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe

    #279917 Reply

    Loyal Water
    Member

    Are you working with 32 bit or 64 bit OS ?

    Can you go to the download page and download the MyEclipse pulse launcher and use that to lanuch MyEclipse. Does the problem persist ?

    #280060 Reply

    dgsmith
    Member

    Vista – 32 bit with a 2 core processor.

    I still get the hang with the Pulse launcher.

    The conditions leading to this are an open Matisse project with a form designer as the active window. When I start MyEclipse and it tries to activate the designer window I get this hang. If I change the project so another editor is active then I don’t get the hang on startup.

    Is there a simple way of forcing MyEclipse / Eclipse not to load the active project on startup? That would at least give me a work around.

    #280105 Reply

    dgsmith
    Member

    You can close this thread — I reloaded the whole stack from fresh downloads and the deadlock seems to have disappeared

    thanks.

    #280341 Reply

    Loyal Water
    Member

    This message has not been recovered.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: [Closed] Deadlock on Startup

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