Closed Bug 36934 Opened 25 years ago Closed 25 years ago

Java applets throw exceptions on closing.

Categories

(Core Graveyard :: Java: OJI, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 31220

People

(Reporter: Dmitri_Latushko, Assigned: drapeau)

Details

Try to run any java applet from JDK, by opening approriate demo page from JDK, for instance, C:\jdk1.2.2\demo\applets\Clock\example1.html When you close the window with the example1.html, the applet throws a couple of NullPointerExceptions from within an awt event handling routine. Any subsequent attempts to open the example1.html file and to run the applet will fail, the applet will be not displayed on the page and you will only see the new NullPointerExceptions in java console. This is the output grabbed from Java Console: --------------------------------------------- Java(TM) Plug-in: Version stanleyh Using JRE version 1.3.0rc1 Java HotSpot(TM) Client VM User home directory = C:\WINNT\Profiles\dvlatush Proxy Configuration: Browser Proxy Configuration JAR cache enabled. java.lang.NullPointerException: null pData at sun.awt.windows.WComponentPeer.hide(Native Method) at java.awt.Component.hide(Unknown Source) at java.awt.Window.hide(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at sun.plugin.navig.win32.PluginObject.setWindow(PluginObject.java:201) java.lang.NullPointerException: null pData at sun.awt.windows.WComponentPeer.hide(Native Method) at java.awt.Component.hide(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception occurred during event dispatching: java.lang.NullPointerException: component argument pData at sun.awt.windows.WGraphics.createFromComponent(Native Method) at sun.awt.windows.WGraphics.<init>(Unknown Source) at sun.awt.windows.WComponentPeer.getGraphics(Unknown Source) at java.awt.Component.getGraphics(Unknown Source) at sun.awt.RepaintArea.update(Unknown Source) at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
It's a critical bug. Applets work unstable due to this bug.
Summary: Java applets throw exceptions on closing. → Java applets throw exceptions on closing.
Can u specify Which build of Mozilla you are using.
As there is no Java support in Mozilla currently, this is either a 4.x bug, or a NS 6 PR 1 bug. Marking nsonly for NS engineers to decide what to do with it. Gerv
Keywords: nsonly
The bug is reported for Netscape 6 Preview Release 1: Mozilla/5.0 (Windows; N; WinNT4.0; en-US; m14) Netscape6/6.0b1 There's no problems with NN 4.x
dup of 31220. *** This bug has been marked as a duplicate of 31220 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
QA Contact: paw → shrir
Resolution: --- → DUPLICATE
verif
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.