Applets are a client side technology not a server side one. This means that applets are executed by browsers, not by Tomcat. As far as Tomcat is concerned, an applet is just a file delivered to the browser.

This is a bug in the applet you are using or possibly an error in the way you are using it.

Also, if you look at the stack trace, it is all from the sun.plugin.util.GrayBoxPanel class which is not a Tomcat class.

Mark

[EMAIL PROTECTED] wrote:
hi ,


I click and browse through some of the features accessing applets in
the application, quite often I get the following  "Null Pointer
Exception"  in  the java console.
I really do not understand the cause of the problem.I am using
tomcat4.1.



the error is :

Exception in thread "Thread-47" java.lang.NullPointerException

at sun.plugin.util.GrayBoxPanel.paint(Unknown Source)

at sun.plugin.util.GrayBoxPanel.setImage(Unknown Source)

at sun.plugin.util.GrayBoxPanel.setCustomImage(Unknown Source)

at sun.plugin.util.GrayBoxPainter.getGrayBoxPanel(Unknown Source)

at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source)

at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source)

at sun.plugin.util.GrayBoxPainter.access$000(Unknown Source)

at sun.plugin.util.GrayBoxPainter$1.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)





Next time when I repeat the same scenario I get the following:

Exception in thread "Thread-182" java.lang.NullPointerException

at sun.plugin.util.GrayBoxPanel.paint(Unknown Source)

at sun.plugin.util.GrayBoxPanel.setImage(Unknown Source)

at sun.plugin.util.GrayBoxPanel.setCustomImage(Unknown Source)

at sun.plugin.util.GrayBoxPainter.getGrayBoxPanel(Unknown Source)

at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source)

at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source)

at sun.plugin.util.GrayBoxPainter.access$000(Unknown Source)

at sun.plugin.util.GrayBoxPainter$1.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)





 I do not  really know if it is really a Tomcat issue or not..

 Any help or pointers would be of immense help.

Thanks in advance.


--shashi




Confidentiality Notice


The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to