Java errors when using parallel computing toolbox

조회 수: 5 (최근 30일)
Susannah
Susannah 2014년 5월 2일
댓글: Thomas Ibbotson 2014년 5월 6일
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
Thomas Ibbotson
Thomas Ibbotson 2014년 5월 6일
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'?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by