From owner-freebsd-java Wed Nov 28 9:35: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-228.oz.net [216.39.147.228]) by hub.freebsd.org (Postfix) with SMTP id A05E637B41A for ; Wed, 28 Nov 2001 09:35:03 -0800 (PST) Received: (qmail 29777 invoked by uid 1001); 28 Nov 2001 17:36:41 -0000 From: Joe Kelsey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15365.8361.524198.579471@zircon.zircon.seattle.wa.us> Date: Wed, 28 Nov 2001 09:36:41 -0800 To: freebsd-java@freebsd.org Subject: Plugin Failures X-Mailer: VM 6.98 under Emacs 21.1.1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Just for kicks and grins, I thought I might post the stack trace from the plugin when it fails deep within awt: ...[much plugin trace jabber elided]... Child: VM Received Command >>>JAVA_PLUGIN_WINDOW Child: Window 44041901 170x150 8x8 Xt error java.lang.NullPointerException: NullPointerException at sun.awt.motif.MWindowPeer.pReshape(Native Method) at sun.awt.motif.MComponentPeer.setBounds(MComponentPeer.java:713) at sun.awt.motif.MComponentPeer.reshape(MComponentPeer.java:753) at sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:128) at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:175) at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:86) at sun.awt.motif.MFramePeer.(MFramePeer.java:53) at sun.awt.motif.MEmbeddedFramePeer.(MEmbeddedFramePeer.java:31) at sun.awt.motif.MToolkit.createEmbeddedFrame(MToolkit.java:205) at sun.awt.motif.MEmbeddedFrame.(MEmbeddedFrame.java:34) at sun.plugin.navig.motif.MPluginEmbeddedFrame.(MPluginEmbeddedFrame.java:50) at java.lang.reflect.Constructor.newInstance(Native Method) at sun.plugin.navig.motif.MotifAppletViewer.createFrame(MotifAppletViewer.java:271) at sun.plugin.navig.motif.MotifAppletViewer.setWindow(MotifAppletViewer.java:376) at sun.plugin.navig.motif.Plugin.doit(Plugin.java:292) at sun.plugin.navig.motif.Plugin.start(Plugin.java:101) PLUGIN ERROR ************ As you can see, the plugin is trying to open a window within the mozilla window. Something happens in the Xt/Motif code called by the pReshape method which prompts Xt to invoke the internal awt xtError callback, which throws the NullPointerException, producing the stack trace. On a side note, Bill's latest threads_bsd code seems to work just fine. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message