Iam trying to load applet which calls servlet for a random number. When i run my applet iam getting an error message as follows: Error inflating object: java.io.StreamCorruptedException: Caught EOFException wh ile reading the stream header Caught EOFException while reading the stream heade r Exception occurred during event dispatching: java.lang.NullPointerException at testapplet.drawAxes(testapplet.java:90) at testapplet.paint(testapplet.java:111) at sun.awt.RepaintArea.paint(RepaintArea.java:298) at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:199) at java.awt.Component.dispatchEventImpl(Component.java:2665) at java.awt.Container.dispatchEventImpl(Container.java:1216) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.EventQueue.dispatchEvent(EventQueue.java:336) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh read.java:134) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96) at java.awt.EventDispatchThread.run(EventDispatchThread.java:88) Can anyone tell me why this is happening? Please answer to my question.... I also posted a topic two days back for which i did not get any reply. I expect some positive response this time. regards bujji
Could you possibly post a short snippet of code from your applet showing how you are receiving the information from the servlet and a corresponding piece of code from the servlet side? Kyle ------------------ Kyle Brown, Author of Enterprise Java (tm) Programming with IBM Websphere See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.