rakeshkaria / matlabcontrol

Automatically exported from code.google.com/p/matlabcontrol
0 stars 0 forks source link

Support code location could not be determined #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of matlabcontrol are you using?
4.1.0

What version of MATLAB are you using?
R2014B

What operating system are you using?
OSx Yosemite

Are you using matlabcontrol from inside MATLAB or outside MATLAB?
Outside Matlab (from java code)

What steps will reproduce the problem?
Simply calling MatlabProxy proxy = factory.getProxy();

What did you expect to happen? What happened instead?
Expected to be able to run Matlab code from a java program. Could not do this.

If there was a stack trace, please copy it here.
matlabcontrol.MatlabConnectionException: Support code location could not be 
determined. Could not get URL from CodeSource.
Code Source: (null <no signer certificates>)
Protection Domain: ProtectionDomain  (null <no signer certificates>)
 edu.rice.cs.plt.reflect.PathClassLoader@2df95165
 <no principals>
 null

Class Loader: edu.rice.cs.plt.reflect.PathClassLoader@2df95165
Class Loader Class: class edu.rice.cs.plt.reflect.PathClassLoader
    at matlabcontrol.Configuration.getSupportCodeLocation(Configuration.java:322)
    at matlabcontrol.RemoteMatlabProxyFactory.createProcess(RemoteMatlabProxyFactory.java:289)
    at matlabcontrol.RemoteMatlabProxyFactory.requestProxy(RemoteMatlabProxyFactory.java:125)
    at matlabcontrol.RemoteMatlabProxyFactory.getProxy(RemoteMatlabProxyFactory.java:144)
    at matlabcontrol.MatlabProxyFactory.getProxy(MatlabProxyFactory.java:81)
    at PolygonAssembly.configure(PolygonAssembly.java:62)
    at TestPolygonAssembly.main(TestPolygonAssembly.java:90)

Please provide any additional information below.

Original issue reported on code.google.com by hbha...@gmail.com on 9 Dec 2014 at 12:01