How to fix the matlabpool problem in Matlab for MAC OS X?
1 view (last 30 days)
Show older comments
I run a toolbox including matlabpool on MAC using MATLAB 2012b + Xcode 4.6.3 + Java 7 update 65, but it reported the following errors:
-------------------------
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)
Error in openPool (line 13) matlabpool;
------------------------
Though a possible resolution can be found at http://www.mathworks.com/support/bugreports/919688, it seems does not work. Open "Parallel" -> "Manage Cluster Profiles", and it reported the following errors:
------------------------
Attempt to reference field of non-structure array.
Error in parallel.internal.ui.ValidationManager (line 31) obj.Validator.addlistener('ValidationStarted', ...
com.mathworks.jmi.MatlabException: Attempt to reference field of non-structure array. at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method) at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:219) at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120) at com.mathworks.jmi.Matlab.mtFevalConsoleOutput(Matlab.java:1608) at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:195) at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:172) at com.mathworks.toolbox.distcomp.ui.profile.model.ValidationManager$1.runOnMatlabThread(ValidationManager.java:44) at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79) at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:364)
------------------------
How can I avoid these errors?
Any comments are appreciated. Thanks.
0 Comments
Answers (0)
See Also
Categories
Find more on Calendar in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!