Why do I get the error "Undefined variable "com" or class "com.mathw​orks.jmi.C​lassLoader​Manager.ge​tClassLoad​erManager" when trying to retrieve results from the R2019a Polyspace Job Manager?

3 views (last 30 days)
I am using Polyspace, Polyspace Server, MATLAB Parallel Server and the third-party scheduler PBSPro together. I'm able to successfully sends results from a desktop side using Polyspace to PBSPro scheduler and retrieve results from the Polyspace UI.
When I try downloading results from the Polyspace jobs manager, I get the error:
Error: An unexpected error occured during the Polyspace Job Manager execution
Undefined variable "com" or class "com.mathworks.jmi.ClassLoaderManager.getClassLoaderManager".|

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 28 Jul 2020
This issue can occur if the MATLAB Parallel Server installation is missing or incomplete.
The following will resolve the error:
  1. Ensure MATLAB Parallel Server installation is complete
  2. Confirm the MATLAB Parallel Server installation is specified in the Generic cluster profile.
  3. Use the mjs_polyspace.conf in the R2019a installation to point to the Polyspace Server installation.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!