matlabpool error after java update

1 次查看(过去 30 天)
James Barrett
James Barrett 2013-2-20
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 个评论
Daniel Golden
Daniel Golden 2013-2-22
编辑:Daniel Golden 2013-2-22
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

请先登录,再进行评论。

回答(2 个)

John
John 2013-2-28
There is an actual solution to this bug found here:

Jason Ross
Jason Ross 2013-2-20

类别

Help CenterFile Exchange 中查找有关 Platform and License 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by