Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Surya Kant
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic