matlabpool error after java update

조회 수: 11 (최근 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에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by