Skip to main content

AWT event queue NullPointerException while using JRE 1.7.51 as InternetExplorer's JRE.

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
nageshvk
Offline
Joined: 2014-03-06
Points: 0

Hi All,

I have posted this questions in all most all the forums. But i couldnt get any favourable answer.

My web application will load an applet with SWING components (Menu bar) on successful login to application.

Once page is loaded, i choose a menu item from the menu bar and click on it. Dynamic menu bar is loaded for the selected menu item. After that i am not able to perform any action on menu bar. Ending up with below error.

I think as per my understanding the issue is happeing while it is trying to repaint.

Note: My Application is absolutely working fine till JRE 1.7.17. But when i upgarde to higher version of JRE like 1.7.25 and above i am getting below error.

Also i can not provide any compiled program to produce this error.

Exception in thread "AWT-EventQueue-4" java.lang.NullPointerException
at javax.swing.RepaintManager.scheduleProcessingRunna ble(Unknown Source)
at javax.swing.RepaintManager.addDirtyRegion0(Unknown Source)
at javax.swing.RepaintManager.addDirtyRegion(Unknown Source)
at javax.swing.JComponent.repaint(Unknown Source)
at java.awt.Component.repaint(Unknown Source)
at javax.swing.AbstractButton$Handler.stateChanged(Un known Source)
at javax.swing.DefaultButtonModel.fireStateChanged(Un known Source)
at javax.swing.DefaultButtonModel.setRollover(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsMenuUI$Wind owsMouseInputHandler.mouseEntered(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)
at java.awt.LightweightDispatcher.trackMouseEnterExit (Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Please help me or atleast give me lead when this issue occur. Your help is much appreciated.

Regards
Nagesh

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
serb
Offline
Joined: 2007-08-31
Points: 0

Hi, Nagesh.
Can you create a small standalone/applet test if possible?

nageshvk
Offline
Joined: 2014-03-06
Points: 0

I am trying to create a stand alone app. But unable to generate the same exception. I think it is difficult to create it.

Could you specuate the issue?