OS X java update causes Matlab Parallel Computing Toolbox to break

I am receiving the following error when attempting to use Matlab Parallel Computing Toolbox. I believe this is related to recent Java updates.
Error using findResource (line 129) 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 dfevalasync (line 140) jobMgr = findResource('scheduler', 'type', 'jobmanager', findRArgs{:});
Error in dfeval (line 100) jobObj = dfevalasync(dfcn,nargout,varargin{:});
Java version: Java 1.6.0_41-b02-445-11M4107 with Apple Inc. Java HotSpot™ 64-Bit Server VM mixed mode
Matlab version: 7.13.0.564 (R2011b)
Mac OS X version: 10.8.2
The workaround/patch located below DOES NOT WORK:

1 个评论

I tried this on my own machine with Java 6 update 41 and the patch did work. Can you try applying the patch again?

请先登录,再进行评论。

回答(1 个)

Here is a link to a bug report. This is a different java release, but may be applicable to the issue you are facing:

1 个评论

Thank you for the reply.
As I stated in the original question, the patch offered by this bug report does not work for this particular issue. This appears to be a different problem. Apple and Oracle have been updating Java frequently as of late because of security concerns.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Call Java from MATLAB 的更多信息

提问:

Jon
2013-2-26

Community Treasure Hunt

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

Start Hunting!

Translated by