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)

 Akzeptierte Antwort

Dan Stanciu
Dan Stanciu am 9 Nov. 2017
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

1 Kommentar

Hi Dan,
I tried your solution and it is worked. Thank you for your help.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by