Java Applet misbehaviour

Hi guys outside,

We have a java applet which contains a configurable table with some columns and rows. This applet ( the jar-file ) is embedded into a subform which is embedded in a form called testform.

Sometimes we receive at some clients the following java errors and see instead of the applet a little cup at the left top of the applet window.

What could be the problem, we use the german notes client 6.5.4 on Win XP SP 2.


java.lang.NullPointerException

at java.util.Hashtable.get(Hashtable.java:335)



at javax.swing.UIDefaults.get(UIDefaults.java:113)



at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:53)



at javax.swing.UIDefaults.getUIClass(UIDefaults.java:368)



at javax.swing.UIDefaults.getUI(UIDefaults.java:441)



at javax.swing.UIManager.getUI(UIManager.java:616)



at javax.swing.JPanel.updateUI(JPanel.java:117)



at javax.swing.JPanel.<init>(JPanel.java:77)



at javax.swing.JPanel.<init>(JPanel.java:107)



at javax.swing.JRootPane.createGlassPane(JRootPane.java:302)



at javax.swing.JRootPane.<init>(JRootPane.java:209)



at javax.swing.JApplet.createRootPane(JApplet.java:128)



at javax.swing.JApplet.<init>(JApplet.java:121)



at JavaEditTable.<init>(JavaEditTable.java:29)



at java.lang.Class.newInstance0(Native Method)



at java.lang.Class.newInstance(Class.java:262)



at COM.ibm.JEmpower.applet.AppletFrame.runLoader(AppletFrame.java:675)



at COM.ibm.JEmpower.applet.AppletFrame.run(AppletFrame.java:385)



at java.lang.Thread.run(Thread.java:513)

The 29. line of code in this JavaEditTable.java file is:

public class JavaEditTable extends JApplet implements ActionListener {

I don’t understand why this line of code could result in an “null pointer-exception” !?!

What could be the problem ? After deleting the cache.ndk everything works for a couple of days and then the “error” reappears.

Thanks

M. Weller