This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.lang.NullPointerException: null pData while closing IE which launched applet
 
Similar Threads
Exception while loading applet
Issue with applet
Applet in JSP
Null pointer Exception in Basic List UI
AWT-EventQueue-0" java.lang.NullPointerException: component argument pData