ttj / matlabcontrol

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

could not find supportcode #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of matlabcontrol are you using?
(Release versions: 4.1.0, 4.0.0, 3.1.0, 3.0.1, 3.0.0, or 2.0.0)
4.1.0

What version of MATLAB are you using?
2012

What operating system are you using?
MacOsX 10.9

Are you using matlabcontrol from inside MATLAB or outside MATLAB?
outside matlab using osgi (felix)

What steps will reproduce the problem?
starting the bundle

What did you expect to happen? What happened instead?
A succesfull instantiation of my object.  

If there was a stack trace, please copy it here.
matlabcontrol.MatlabConnectionException: Support code location could not be 
determined. Could not get path from URI location.
URI Location: location:ExamplePC.jar1397038232404
URL Location: location:ExamplePC.jar1397038232404
Code Source: (location:ExamplePC.jar1397038232404 <no signer certificates>)
Protection Domain: [examplePC [12]]
Class Loader: examplePC [12]
Class Loader Class: class 
org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5
    at matlabcontrol.Configuration.getSupportCodeLocation(Configuration.java:295)
    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 examplePCComponent.<init>(Unknown Source)
    at examplePCCodeBase.createLoociComponent(Unknown Source)
    at looci.osgi.serv.impl.LoociCodebase.instantiateComponent(LoociCodebase.java:208)
    at looci.osgi.runtime.ComponentManager.instantiateComponent(ComponentManager.java:84)
    at looci.osgi.runtime.CodebaseManager.instantiateComponent(CodebaseManager.java:120)
    at looci.osgi.runtime.reconfiguration.ReconfigurationEngine.instantiateComponent(ReconfigurationEngine.java:222)
    at looci.osgi.runtime.reconfiguration.ReconfigEngineComp.receive(ReconfigEngineComp.java:82)
    at looci.osgi.serv.impl.LoociComponent.receive(LoociComponent.java:115)
    at looci.osgi.serv.impl.EventQueue.run(EventQueue.java:97)
    at java.lang.Thread.run(Thread.java:744)

Please provide any additional information below.

Original issue reported on code.google.com by hhal...@gmail.com on 9 Apr 2014 at 10:12