Thread View: comp.lang.java.programmer
1 messages
1 total messages
Started by Quentin Mair
Sun, 16 Aug 1998 00:00
JApplet ExceptionInInitializerError with Netscape/Activator
Author: Quentin Mair
Date: Sun, 16 Aug 1998 00:00
Date: Sun, 16 Aug 1998 00:00
50 lines
2396 bytes
2396 bytes
I do not why I get this exception at all... Any help appreciated. I have an application which uses JDK1.2 beta 3 and Swing + JBuilder's jbcl2.0.jar. I have Netscape 4.05 (no 1.1 patch) and Activator 1.1.1. Activator is set to the correct JRE with no JIT. Apart from that one jar I'm just using the application classes but that isn't where the problem lies. The program works fine with appletviewer and (very oddly) when I directly load the applet html into Netscape with Ctrl+o, the applet works fine. When I try to load an indirect html file first and then use its link to the applet's html I get the error below. I also get this when I try to load the applet's html file directly with a http server (which I need for this applet's intended use): java.lang.ExceptionInInitializerError at java.awt.swing.JApplet.setLayout(JApplet.java:247) at java.awt.swing.JApplet.<init>(JApplet.java:97) at prtest2.PrTest.<init>(PrTest.java:64) 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) I don't understand this at all. Thanks in advance, Q -- Quentin Mair Senior Research Fellow Department of Computer Studies City Campus Glasgow Caledonian University Glasgow G4 0BA Scotland Tel: +44 141 331 3283 Fax: +44 141 331 3277
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads