Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2001 09:36:41 -0800
From:      Joe Kelsey <joe@zircon.seattle.wa.us>
To:        freebsd-java@freebsd.org
Subject:   Plugin Failures
Message-ID:  <15365.8361.524198.579471@zircon.zircon.seattle.wa.us>

next in thread | raw e-mail | index | archive | help
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.<init>(MFramePeer.java:53)
	at sun.awt.motif.MEmbeddedFramePeer.<init>(MEmbeddedFramePeer.java:31)
	at sun.awt.motif.MToolkit.createEmbeddedFrame(MToolkit.java:205)
	at sun.awt.motif.MEmbeddedFrame.<init>(MEmbeddedFrame.java:34)
	at sun.plugin.navig.motif.MPluginEmbeddedFrame.<init>(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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15365.8361.524198.579471>