Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to create WCanvassPeer, NPE for peer

0 views
Skip to first unread message

avash...@usa.net

unread,
Aug 13, 1999, 3:00:00 AM8/13/99
to

I'm getting this exception only with java 1.2.1 (and 1.2.2)
plugin. Happens whenever the show() or pack() of java.awt.Dailog is
called.
I'm passing a proper frame as parent while creating this dialog box. The
frame is
sun.plugin.navig.win32.PluginFrame[frame0,0,0,300x467,invalid,hidden,lay
out=java.awt.BorderLayout,resizable,title=]

These calls to show() & pack() run fine in 1.1.x pluggin. Anyone aware
of any changes which might have done this.

Abhi

java.lang.NullPointerException: peer
at sun.awt.windows.WCanvasPeer.create(Native Method)
at sun.awt.windows.WComponentPeer.<init>(Compiled Code)
at sun.awt.windows.WCanvasPeer.<init>(Compiled Code)
at sun.awt.windows.WPanelPeer.<init>(Compiled Code)
at sun.awt.windows.WToolkit.createPanel(Compiled Code)
at java.awt.Panel.addNotify(Compiled Code)
at sun.awt.EmbeddedFrame.addNotify(Compiled Code)
at java.awt.Dialog.show(Dialog.java:320)
at com.bt.superrun.gui.SApplet.start(Compiled Code)


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

0 new messages