-
Bug
-
Resolution: Fixed
-
P1
-
1.2.0
-
1.2beta4
-
sparc
-
solaris_2.6
-
Not verified
I found java.lang.ExceptionInInitializerError was occured in JApplet.setLayout()
, when I run a applet extended JApplet.
The CODEBASE parameter in APPLET tag seems wrong, because the same applet
worked fine when I removed CODEBASE parameter.
Same exception was occured when I used ARCHIVE parameter in APPLET tag.
-----
gotzman{jun}93% javac -d classes JAppletTest.java
gotzman{jun}94% appletviewer test.html
java.lang.ExceptionInInitializerError
at java.awt.swing.JApplet.setLayout(JApplet.java:247)
at java.awt.swing.JApplet.<init>(JApplet.java:97)
at JAppletTest.<init>(JAppletTest.java:5)
at java.lang.Class.newInstance(Native Method)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:459)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:395)
at sun.applet.AppletPanel.run(AppletPanel.java:234)
at java.lang.Thread.run(Thread.java:490)
, when I run a applet extended JApplet.
The CODEBASE parameter in APPLET tag seems wrong, because the same applet
worked fine when I removed CODEBASE parameter.
Same exception was occured when I used ARCHIVE parameter in APPLET tag.
-----
gotzman{jun}93% javac -d classes JAppletTest.java
gotzman{jun}94% appletviewer test.html
java.lang.ExceptionInInitializerError
at java.awt.swing.JApplet.setLayout(JApplet.java:247)
at java.awt.swing.JApplet.<init>(JApplet.java:97)
at JAppletTest.<init>(JAppletTest.java:5)
at java.lang.Class.newInstance(Native Method)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:459)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:395)
at sun.applet.AppletPanel.run(AppletPanel.java:234)
at java.lang.Thread.run(Thread.java:490)