-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
1.2.2
-
x86
-
windows_nt
Name: skT88420 Date: 06/04/99
we are building a product that has one incarnation as an HTML page
containing three or more applets that "know" about each other. This
product has been working no problem for JRE 1.2 and JRE 1.2.1, but it
has now started to fail with JRE 1.2.2. In all cases we have installed
the JRE from the JDK install. Below are some details. We are currently
trying to get Beta2 of our product out the door, and we were keen to
ship with JRE v1.2.2, but this looks like we'll be forced to use 1.2.1.
Basically, when we load the relevant HTML page in either IE or NS, only
one of the applets starts properly. It seems that the other two are
contending with the first for some UI resource and failing to start.
Our code is never executed in these two classes, and are failing (with
the following NullPointerException) in the superclass constructor of our
classes, which are all subclasses of JApplet.
Can you suggest anything - maybe a missing resources file or something?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
java version "1.2.2"
Classic VM (build JDK-1.2.2-U, native threads, symcjit)
java full version "JDK-1.2.2-U"
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Java(TM) Plug-in: Version 1.2.2.pu
Using JRE version 1.2.2
User home directory = C:\WINNT\Profiles\russell
Proxy Configuration: no proxy
JAR cache disabled.
Opening http://gumnut/projects/MOJava/Viewer/lib\icons.jar no proxy
CacheHandler file name: C:\WINNT\Profiles\russell\Temporary Internet
Files\LYWI1W6A\icons.jar
Opening http://gumnut/projects/MOJava/Viewer/lib\Aej.jar no proxy
CacheHandler file name: C:\WINNT\Profiles\russell\Temporary Internet
Files\EMLLWKIH\Aej(1).jar
Opening http://gumnut/projects/MOJava/Viewer/lib\AimsSdk.jar no proxy
CacheHandler file name: C:\WINNT\Profiles\russell\Temporary Internet
Files\LYWI1W6A\AimsSdk(1).jar
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:321)
at javax.swing.UIDefaults.get(UIDefaults.java:100)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:43)
at javax.swing.UIDefaults.getUIClass(UIDefaults.java:306)
at javax.swing.UIDefaults.getUI(UIDefaults.java:375)
at javax.swing.UIManager.getUI(UIManager.java:568)
at javax.swing.JPanel.updateUI(JPanel.java:110)
at javax.swing.JPanel.<init>(JPanel.java:70)
at javax.swing.JPanel.<init>(JPanel.java:100)
at javax.swing.JRootPane.createGlassPane(JRootPane.java:224)
at javax.swing.JRootPane.<init>(JRootPane.java:181)
at javax.swing.JApplet.createRootPane(JApplet.java:132)
at javax.swing.JApplet.<init>(JApplet.java:125)
at com.esri.aims.viewer.IMSToc.<init>(IMSToc.java:11)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:508)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:763)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:444)
at sun.applet.AppletPanel.run(AppletPanel.java:282)
at java.lang.Thread.run(Thread.java:479)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:321)
at javax.swing.UIDefaults.get(UIDefaults.java:100)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:43)
at javax.swing.UIDefaults.getUIClass(UIDefaults.java:306)
at javax.swing.UIDefaults.getUI(UIDefaults.java:375)
at javax.swing.UIManager.getUI(UIManager.java:568)
at javax.swing.JPanel.updateUI(JPanel.java:110)
at javax.swing.JPanel.<init>(JPanel.java:70)
at javax.swing.JPanel.<init>(JPanel.java:100)
at javax.swing.JRootPane.createGlassPane(JRootPane.java:224)
at javax.swing.JRootPane.<init>(JRootPane.java:181)
at javax.swing.JApplet.createRootPane(JApplet.java:132)
at javax.swing.JApplet.<init>(JApplet.java:125)
at com.esri.aims.viewer.IMSMap.<init>(IMSMap.java:16)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:508)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:763)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:444)
at sun.applet.AppletPanel.run(AppletPanel.java:282)
at java.lang.Thread.run(Thread.java:479)
(Review ID: 83964)
======================================================================
- duplicates
-
JDK-4228045 JDK1.2.2.M WNT_NS4.5 and WNT_IE4.0 NullPointerException.Hashtable.UIDefaults.get
-
- Closed
-