Tested build: SWAT j2sdk-1_5_0-beta2-bin-b42-windows-i586-10_mar_2004.exe bundle at:
/net/mizu.sfbay/usr/re/jdk1.5.0/bundles/windows-i586/latest/j2sdk-1_5_0-beta2-bin-b42-windows-i586-10_mar_2004.exe
Tested OS: XP-Home/ win 2000/ win 98 SE
Browser: NS7.1/ IE 6/ MZ1.4
Steps to reproduce:
------------------
1) Install j2sdk-1_5_0-beta2-bin-b42 bundle at the above location onto the test system
2) Using any browser (NS/IE/MZ) to invoke any demo applet bundled with the build
(C:\Program Files\Java\j2sdk1.5.0\demo\plugin\applets\*)
The same demo applet works fine if using appletviewer.
Due to this bug, none of our SWAT applets could be executed via browsers.
Here's the exception:
IE6:
---
Java(tm) Plug-in: version 1.5.0
Using JRE version 1.5.0-beta2 Java HotSpot(TM) Client VM
User home directory = C:\WINDOWS
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stackche
>
----------------------------------------------------
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at sun.plugin.util.GrayBoxPainter.loadDefaultImage(Unknown Source)
at sun.plugin.util.GrayBoxPainter.beginPainting(Unknown Source)
at sun.plugin.AppletViewer.initApplet(Unknown Source)
at sun.plugin.AppletViewer.appletInit(Unknown Source)
at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
NS7:
--
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at sun.plugin.util.GrayBoxPainter.loadDefaultImage(Unknown Source)
at sun.plugin.util.GrayBoxPainter.beginPainting(Unknown Source)
at sun.plugin.AppletViewer.initApplet(Unknown Source)
at sun.plugin.AppletViewer.appletInit(Unknown Source)
at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
at sun.plugin.viewer.WNetscapePluginObject$Initer.run(Unknown Source)
MZ1.4:
-----
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at sun.plugin.util.GrayBoxPainter.loadDefaultImage(Unknown Source)
at sun.plugin.util.GrayBoxPainter.beginPainting(Unknown Source)
at sun.plugin.AppletViewer.initApplet(Unknown Source)
at sun.plugin.AppletViewer.appletInit(Unknown Source)
at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)