Java exception on minimalize/maximalize
Bas van der Graaff
Jun 24 2009 | 12:47 pm
Recently I've been getting Java errors in my Max window. Took me a while to find out when, but it appears to happen when I minimalize or maximalize ANY window, even for example the finder window. It doesn't matter whether Max loses or gains focus from this or not.
This doesn't start right away from the moment I start Max, but rather after 'a while' of patching, but I haven't found when exactly. It continues to happen when I close all patches too. It does disappear when I restart Max. I think it may have been happening since I installed the Java update just this week.
There are a couple Java objects in my patch (that I don't know that much about, other than that they seem to work), but can they have anything to do with this? Seems far-fetched as the error continues after closing the patch. Has anyone else had anything like this? Here's the error:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at apple.awt.CGraphicsEnvironment.resetDisplays(CGraphicsEnvironment.java:99) at apple.awt.CGraphicsEnvironment.displayChanged(CGraphicsEnvironment.java:49) at apple.awt.CToolkit$4.run(CToolkit.java:1310) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)