I’m running a console application under Windows on a remote remote computer.
The following error seems to appears regularly when I log into the remote computer via RDP (Remote Desktop Protocol). It also seems to occur on my local machine when I resize the desktop, or if the nVidia video driver crashes (which is rarely).
java.lang.NullPointerException
at twslaunch.jtscomponents.effect.i.c(i.java:172)
at jtscomponents.plaf.ze.run(ze.java:178)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(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.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
The problem occurs under Windows 7, Windows Server 2008 and both Java v6 and Java v7.
The following answer completely resolved the issue – now, when I log in via RDP, the
java.lang.NullPointerExceptionmessages have completely disappeared.See Why do I receive Java exceptions when I log in to my computer via Remote Desktop while MATLAB is running?
Quote: