aspose file tools*
The moose likes Applets and the fly likes java.lang.NullPointerException: null pData while closing IE which launched applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "java.lang.NullPointerException: null pData while closing IE which launched applet" Watch "java.lang.NullPointerException: null pData while closing IE which launched applet" New topic
Author

java.lang.NullPointerException: null pData while closing IE which launched applet

Surya Kant
Ranch Hand

Joined: Mar 29, 2005
Posts: 104
in my web app on clicking on a link i show an applet. If the applet is been visited number of times in the same session i get an exception with JVM error message while closing IE. Exception is as follows.
Any clue why this error comes ....???

Exception occurred during event dispatching:
java.lang.NullPointerException: null pData
at sun.awt.windows.WComponentPeer.hide(Native Method)
at java.awt.Component.hide(Unknown Source)
at java.awt.Window.hide(Unknown Source)
at sun.awt.EmbeddedFrame.hide(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at sun.plugin.viewer.frame.IExplorerEmbeddedFrame$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at sun.plugin.util.PluginSysUtil.execute(Unknown Source)
at sun.plugin.util.PluginSysUtil.delegate(Unknown Source)
at com.sun.deploy.util.DeploySysRun.execute(Unknown Source)
at com.sun.deploy.util.DialogFactory.showExceptionDialog(Unknown Source)
at sun.plugin.util.Trace.printException(Unknown Source)
at sun.plugin.util.Trace.printException(Unknown Source)
at sun.plugin.util.Trace.printException(Unknown Source)
at sun.plugin.util.Trace.printException(Unknown Source)
at sun.plugin.viewer.frame.IExplorerEmbeddedFrame.windowClosed(Unknown Source)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NullPointerException: null pData while closing IE which launched applet