Path: news.mathworks.com!not-for-mail
From: Brian Arnold <Brian.Arnold@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Fresh Matlab 2009a install on Snow Leopard -- out of the box
 java
Date: Tue, 10 Nov 2009 08:25:56 -0500
Organization: The MathWorks, Inc.
Lines: 25
Message-ID: <4AF969E4.1070602@mathworks.com>
References: <df199056-8cd1-48b1-ae3d-d502fb95d956@z28g2000vbl.googlegroups.com> <hbrncv$s96$1@fred.mathworks.com> <hd0ao2$nmm$1@fred.mathworks.com> <hd76sd$n08$1@fred.mathworks.com>
NNTP-Posting-Host: dev02maci.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1257859556 12209 144.212.108.59 (10 Nov 2009 13:25:56 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 10 Nov 2009 13:25:56 +0000 (UTC)
To: Peter <peterp@njit.com>
User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302)
In-Reply-To: <hd76sd$n08$1@fred.mathworks.com>
Xref: news.mathworks.com comp.soft-sys.matlab:583842


Hi Peter,

This is a known issue with Apple's Java and is reported on our web site. 
  It is not something to worry about, unless it keeps happening while 
running MATLAB. If that happens, quit and restart MATLAB.  We expect 
that Apple will have a Java update available soon that resolves this issue.

- Brian

Peter wrote:
> I installed it OK (after the Java switch), but once I start matlab I get the following
> in the Command Window...is this something to worry about ?
> 
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
> 	at apple.awt.CGraphicsEnvironment.resetDisplays(CGraphicsEnvironment.java:100)
> 	at apple.awt.CGraphicsEnvironment.displayChanged(CGraphicsEnvironment.java:50)
> 	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:633)
> 	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
> 	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)