matlabpool error after java update

1 view (last 30 days)
James Barrett
James Barrett on 20 Feb 2013
Dear all, I've encountered the following error after updating Java on my MacBook Pro this afternoon. The error:
>> matlabpool
Error using matlabpool (line 134)
Java exception occurred:
java.lang.NullPointerException
at java.util.logging.Logger.demandLogger(Logger.java:286)
at java.util.logging.Logger.getLogger(Logger.java:321)
And the information from Apple regarding the update:
"Java for OS X 2013-001 delivers improved security, reliability, and compatibility by updating Java SE 6 to 1.6.0_41.
On systems that have not already installed Java for OS X 2012-006, this update disables the Java SE 6 applet plug-in. To use applets on a web page, click on the region labeled “Missing plug-in” to download the latest version of the Java applet plug-in from Oracle.
Please quit any web browsers and Java applications before installing this update."
Everything was working fine before this. Many thanks, James.
  1 Comment
Daniel Golden
Daniel Golden on 22 Feb 2013
Edited: Daniel Golden on 22 Feb 2013
I have the same problem running Matlab R2012a on Mac OS X 10.7.5 on an early 2012 iMac. Here's the first few lines of my Matlab "ver" command output:
>> ver
--------------------------------------------------------------------------------------------------------
MATLAB Version: 7.14.0.739 (R2012a)
MATLAB License Number: ••••••
Operating System: Mac OS X Version: 10.7.5 Build: 11G63
Java Version: Java 1.6.0_41-b02-445-11M4107 with Apple Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
--------------------------------------------------------------------------------------------------------
I can work around this problem as follows:
  • Go to the menu: "Parallel -> Manage Cluster Profiles"
  • Add a "Local" profile
  • Validate the profile (I'm not sure this step is necessary)
Through this process, ignore the myriad error messages that pop up in the command window. After you're done, matlabpool works normally.
I have to follow this procedure every time Matlab starts.
Dan

Sign in to comment.

Answers (2)

John
John on 28 Feb 2013
There is an actual solution to this bug found here:

Jason Ross
Jason Ross on 20 Feb 2013

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!