Parallel Computing Toolbox code fails with Java Virtual Machine updates 1.6.0_39 and 1.7.0_13

comments 2
Programming

Summary

Parallel Computing Toolbox code fails with Java Virtual Machine updates 1.6.0_39 and 1.7.0_13

Description

Running any Parallel Computing Toolbox code using a Java Virtual Machine (JVM) version of 1.6.0_39 or 1.7.0_13 might cause a NullPointerException to be thrown by the JVM. For example:

>> matlabpool open
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)

This is a bug in the JVM update, and affects all versions of Parallel Computing Toolbox. The patches below fix the issue for 3rd party clusters and the local cluster. There is a related issue with MJS clusters that is under ongoing investigation.

Workaround

To work around this issue, follow these installation instructions.

Log in to an account with appropriate permissions to overwrite files in your MATLAB installation. On Linux systems, this is typically the root account.
Locate your MATLAB installation by typing matlabroot at the MATLAB command prompt. This folder is referred to as in subsequent steps.
Exit MATLAB.
Download the attached .zip file associated with this Bug Report and store the file in the folder.
Make a backup copy of each of the files listed in the .zip file. To see the contents of the .zip file:
Windows Systems*: Open the .zip file and look at the contents.
Linux/Macintosh Systems: Type the following in a shell (Linux) or in a terminal window (Macintosh):
unzip -l /<.zip file>
Extract the files from the .zip file.
Windows Systems*:
Open the .zip file.
Extract the contents of the file to your folder.
Linux/Macintosh Systems: Type the following in a shell (Linux) or in a terminal window (Macintosh):
cd
unzip <.zip file>
Delete the .zip file in the folder.
*Notes for Windows systems:

If you see “Error: Access is denied” when attempting to extract the .zip file, you might need to start WinZip in administrator mode. Do this by navigating to WinZip.exe or the WinZip Start menu entry, right-clicking on it, and selecting Run as administrator.
From within WinZip, find and open the downloaded .zip file.
Extract the contents of the file to your folder.
Change log:

February 21, 2013:

http://www.mathworks.com/support/bugreports/919688

Digiprove sealCopyright secured by Digiprove © 2013

The Author

Hello, I'm Dr.kchris, a neuroscience researcher. I love studying and trying new things and also love challenging myself. Have a great day! :)

2 Comments

  1. 오~ 완전 유용함^^ ㅋㅋ
    하마터면.. 맥 os 다시 설치할뻔 했음.ㅋㅋ 땡큐*~

Leave a Reply

Your email address will not be published. Required fields are marked *