MATLAB: Paralel Tool Box Cluster Profile Manager Not working

javaparallel computingParallel Computing Toolbox

Hi Eveyone, When I open the Cluster Profile Manager in Matlab 2014b, I receive java error in matlab command screen and I could not use this feature. Thanks in advance for the responses.
com.mathworks.jmi.MatlabException: Java exception occurred: java.lang.NullPointerException
at java.util.Collections$UnmodifiableCollection.<init>(Unknown Source)
at java.util.Collections$UnmodifiableList.<init>(Unknown Source)
at java.util.Collections.unmodifiableList(Unknown Source)
at com.mathworks.toolbox.distcomp.ui.profile.model.PropertyInfoProvider.getProfilePropertyInfoList(PropertyInfoProvider.java:124)
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1622)
at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:197)
at com.mathworks.toolbox.distcomp.ui.profile.model.MatlabProfileManager$1.runOnMatlabThread(MatlabProfileManager.java:72)
at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method) at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266) at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120) at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1622) at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:197) at com.mathworks.toolbox.distcomp.ui.profile.model.MatlabProfileManager$1.runOnMatlabThread(MatlabProfileManager.java:72) at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79) at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)

Best Answer

Dear Ozan,
Can you please try the following:
  • Restart MATLAB
  • Before opening the Cluster Profile Manager, change your MATLAB locale using the following command run at the MATLAB Command Prompt:
>> java.util.Locale.setDefault(java.util.Locale('en-US'));
  • Now open the Cluster Profile Manager.
This is a known issue that we fixed, but sadly the fix didn't make it into R2014b.
Kind regards,
Dan
Related Question