New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Matlab embedded interface can't initialize when the Scheduler is installed in a directory which contains spaces (Windows) #66
Comments
Original comment posted by Fabien Viale on 09, Jun 2009 at 12:17 PM Even after fixing the initial cause of this issue (see commit 12992), another problem appears subsequently, while trying to connect to the scheduler : sun.misc.InvalidJarIndexException: Invalid index
Caused by: java.lang.NullPointerException
Error in ==> PAconnect at 121 |
Original comment posted by Fabien Viale on 09, Jun 2009 at 12:33 PM There seems to be a workaround to this issue though : The workaround consits of changing the Static classpath of the Matlab JVM by editing the classpath.txt file located in MATLAB/toolbox/local /dist/lib/ProActive.jar The commit 12994 allows this workaround |
Original comment posted by Fabien Viale on 11, Jun 2010 at 20:15 PM See Workaround and documentation |
Original issue created by Fabien Viale on 09, Jun 2009 at 11:15 AM - MSC-65
Here is the stack trace displayed :
org.objectweb.proactive.core.ProActiveException: Failed to create remote object (name=PA_JVM85475976)
at org.objectweb.proactive.core.remoteobject.RemoteObjectExposer.createRemoteObject(RemoteObjectExposer.java:160)
at org.objectweb.proactive.core.runtime.ProActiveRuntimeImpl.(ProActiveRuntimeImpl.java:274)
at org.objectweb.proactive.core.runtime.ProActiveRuntimeImpl.(ProActiveRuntimeImpl.java:163)
at org.objectweb.proactive.core.node.NodeFactory.getHalfBodiesNode(NodeFactory.java:141)
at org.objectweb.proactive.core.body.HalfBody.(HalfBody.java:93)
at org.objectweb.proactive.core.body.HalfBody.getHalfBody(HalfBody.java:80)
at org.objectweb.proactive.core.body.LocalBodyStore.getContext(LocalBodyStore.java:189)
at org.objectweb.proactive.api.PAActiveObject.getBodyOnThis(PAActiveObject.java:1298)
at org.objectweb.proactive.api.PAActiveObject.newActive(PAActiveObject.java:291)
at org.objectweb.proactive.api.PAActiveObject.newActive(PAActiveObject.java:126)
Caused by: org.objectweb.proactive.core.ProActiveException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.net.MalformedURLException: no protocol: dossier/Nouveau
at org.objectweb.proactive.core.remoteobject.rmi.AbstractRmiRemoteObjectFactory.register(AbstractRmiRemoteObjectFactory.java:176)
at org.objectweb.proactive.core.remoteobject.rmi.AbstractRmiRemoteObjectFactory.createRemoteObject(AbstractRmiRemoteObjectFactory.java:263)
at org.objectweb.proactive.core.remoteobject.RemoteObjectExposer.createRemoteObject(RemoteObjectExposer.java:156)
... 9 more
Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.net.MalformedURLException: no protocol: dossier/Nouveau
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Unknown Source)
at org.objectweb.proactive.core.remoteobject.rmi.AbstractRmiRemoteObjectFactory.register(AbstractRmiRemoteObjectFactory.java:164)
... 11 more
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.net.MalformedURLException: no protocol: dossier/Nouveau
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.MalformedURLException: no protocol: dossier/Nouveau
at java.net.URL.(URL.java:567)
at java.net.URL.(URL.java:464)
at java.net.URL.(URL.java:413)
at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:751)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
... 12 more
??? Java exception occurred:
java.lang.NullPointerException
at org.objectweb.proactive.core.node.NodeFactory.getHalfBodiesNode(NodeFactory.java:145)
at org.objectweb.proactive.core.body.HalfBody.(HalfBody.java:93)
at org.objectweb.proactive.core.body.HalfBody.getHalfBody(HalfBody.java:80)
at org.objectweb.proactive.core.body.LocalBodyStore.getContext(LocalBodyStore.java:189)
at org.objectweb.proactive.api.PAActiveObject.getBodyOnThis(PAActiveObject.java:1298)
at org.objectweb.proactive.api.PAActiveObject.newActive(PAActiveObject.java:291)
at org.objectweb.proactive.api.PAActiveObject.newActive(PAActiveObject.java:126)
Error in ==> PAconnect at 90
solver =
org.objectweb.proactive.api.PAActiveObject.newActive('org.ow2.proactive.scheduler.ext.matlab.embedded.AOMatlabEnvironment',(link: )
);
The text was updated successfully, but these errors were encountered: