Java errors when using parallel computing toolbox

2 views (last 30 days)
Hello,
I am running jobs through the parallel computing toolbox and from time to time I receive java errors. For example, when I use the parcluster command, the following error comes up:
Error using parcluster (line 46) Java exception occurred: java.lang.NullPointerException at java.util.logging.Logger.demandLogger(Logger.java:286) at java.util.logging.Logger.getLogger(Logger.java:321)
Also, when I open the parallel environment I cannot see any of my cluster or past job information, and this error pops up:
com.mathworks.jmi.MatlabException: The class distcomp.typechecker has no property or method named 'callback2string'. 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.mtFeval(Matlab.java:1540) 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:364)
Sometimes I am able to run it without any problems, but these errors occur randomly without me changing anything. I did the bug fix here (<http://www.mathworks.com/support/bugreports/919688>) and it worked out for a bit but then the errors came back. Any suggestions? Thanks!
Susannah
  1 Comment
Thomas Ibbotson
Thomas Ibbotson on 6 May 2014
This does look like it might still be a problem related to bug report 919688. Can you try applying the patch again? It's possible it didn't apply correctly or something got overwritten.
For extra information, what version of MATLAB are you using? Also, what scheduler (is it the local scheduler or MJS perhaps)? And what operating system are you using? Do you know what JVM version you are using, you can get this in MATLAB by running the command 'version -java'?

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing 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!