matlabpool error after java update

1 vue (au cours des 30 derniers jours)
James Barrett
James Barrett le 20 Fév 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 commentaire
Daniel Golden
Daniel Golden le 22 Fév 2013
Modifié(e) : Daniel Golden le 22 Fév 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

Connectez-vous pour commenter.

Réponses (2)

John
John le 28 Fév 2013
There is an actual solution to this bug found here:

Jason Ross
Jason Ross le 20 Fév 2013
  1 commentaire
James Barrett
James Barrett le 20 Fév 2013
Great thanks

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by