Community
Participate
Working Groups
A simple plug-in which merely puts up a Swing dialog or creates a JFrame and makes it visible immediately crashes Eclipse 2.1 using RedHat 8.0 and JDK 1.4.1. - the same experiment succeeds in showing the Swing windows under Windows and, apparently, Gentoo Linux. Parts of the error and stack-trace are pasted below: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4D75E917 Function=_XtSortPerDisplayList+0x57 Library=/usr/X11R6/lib/libXt.so.6 Current Java thread: at sun.awt.motif.MWindowPeer.pCreate(Native Method) at sun.awt.motif.MWindowPeer.create(MWindowPeer.java:79) at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:219) at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:93) at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:58) at sun.awt.motif.MToolkit.createFrame(MToolkit.java:197) at java.awt.Frame.addNotify(Frame.java:469) - locked <0x44ca5ee0> (a java.awt.Component$AWTTreeLock) at java.awt.Window.show(Window.java:448) at net.javaverse.testplugin.actions.SampleAction.run(SampleAction.java:48) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:207)
Moving to SWT...
The code base has changed significantly since this bug was reported. If it is still happening for you, please reopen this bug report. For example, we there are no MPeers in the JDK 1.5 X embedded frame.