Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Comsol 4.1 and Matlab LiveLink: Error when solving
Posted 02.12.2010, 05:05 GMT-5 6 Replies
Please login with a confirmed email address before reporting spam
Hello,
after having upgraded to Comsol 4.1 the LiveLink to Matlab doesn´t work anymore when I try to start the solve command. As an easy example, I have created a m-File out of the example given in the User Guide. In comsol4.0a this File works perfect, but having started Comsol4.1 with Matlab 2010a the following error occurs after starting the m-File:
??? Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
Messages:
The following feature has encountered a problem
Stack trace:
at com.comsol.solver.SolverOperation.addError(Unknown Source)
at com.comsol.solver.SolverOperation.execute(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.a(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.j(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.runAll(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.comsol.clientserver.impl.JobImpl.run(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b$h.a(Unknown Source)
at com.comsol.server.internal.b$h.a(Unknown Source)
at com.comsol.server.internal.b$h$a.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.a(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.runServerJob(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.runAll(Unknown Source)
at com.comsol.model.impl.StudyImpl.f(Unknown Source)
at com.comsol.model.impl.StudyImpl.b(Unknown Source)
at com.comsol.model.impl.StudyImpl.a(Unknown Source)
at com.comsol.model.impl.StudyImpl$a.a(Unknown Source)
at com.comsol.model.impl.StudyImpl$a.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl$d.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
Messages:
The following feature has encountered a problem
at com.comsol.solver.SolverOperation.addError(Unknown Source)
at com.comsol.solver.SolverOperation.execute(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.a(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.j(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.runAll(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.comsol.clientserver.impl.JobImpl.run(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b$h.a(Unknown Source)
at com.comsol.server.internal.b$h.a(Unknown Source)
at com.comsol.server.internal.b$h$a.run(Unknown Source)
... 3 more
Error in ==> example at 29
model.study('std1').run;
Does anyone have an idea how to solve this problem? I upgraded to 4.1 to get rid of an error leakage in the Matlabserver-process, but now I have more problems then before.
Thanks,
Daniel
after having upgraded to Comsol 4.1 the LiveLink to Matlab doesn´t work anymore when I try to start the solve command. As an easy example, I have created a m-File out of the example given in the User Guide. In comsol4.0a this File works perfect, but having started Comsol4.1 with Matlab 2010a the following error occurs after starting the m-File:
??? Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
Messages:
The following feature has encountered a problem
Stack trace:
at com.comsol.solver.SolverOperation.addError(Unknown Source)
at com.comsol.solver.SolverOperation.execute(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.a(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.j(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.runAll(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.comsol.clientserver.impl.JobImpl.run(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b$h.a(Unknown Source)
at com.comsol.server.internal.b$h.a(Unknown Source)
at com.comsol.server.internal.b$h$a.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.a(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.runServerJob(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.runAll(Unknown Source)
at com.comsol.model.impl.StudyImpl.f(Unknown Source)
at com.comsol.model.impl.StudyImpl.b(Unknown Source)
at com.comsol.model.impl.StudyImpl.a(Unknown Source)
at com.comsol.model.impl.StudyImpl$a.a(Unknown Source)
at com.comsol.model.impl.StudyImpl$a.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl$d.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
Messages:
The following feature has encountered a problem
at com.comsol.solver.SolverOperation.addError(Unknown Source)
at com.comsol.solver.SolverOperation.execute(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.a(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.j(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.runAll(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.comsol.clientserver.impl.JobImpl.run(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b$h.a(Unknown Source)
at com.comsol.server.internal.b$h.a(Unknown Source)
at com.comsol.server.internal.b$h$a.run(Unknown Source)
... 3 more
Error in ==> example at 29
model.study('std1').run;
Does anyone have an idea how to solve this problem? I upgraded to 4.1 to get rid of an error leakage in the Matlabserver-process, but now I have more problems then before.
Thanks,
Daniel
Attachments:
6 Replies Last Post 08.03.2011, 14:45 GMT-5