Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

'Java exception occurred' error

$
0
0
I use COMSOL 4.3a with Live link for MATLAB
The version of MATLAB is 7.10.0 (R2010a)

Some times, irregularly, when I run m file with COMSOL live link for MATLAB, 'java exception error' occurred.
I think my script file doesn't have to modified since it works usually.
How can I solve this irregular error?
Or should I update MATLAB to the latest one?

---------------------------Error message----------------------------------
??? Java exception occurred:
Exception:
java.io.FileNotFoundException:
C:\Users\ADMINI~1\.comsol\v43\comsol.recoveries
(??? ???關????? ?????? ??? ????? ?????? ???關????? ????? ?? ?? ??????)
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
The following feature has encountered a problem

The following feature has encountered a problem

C:\Users\ADMINI~1\.comsol\v43\comsol.recoveries
(??? ???關????? ?????? ??? ????? ?????? ???關????? ????? ?? ?? ??????)
- Feature:
Stationary Solver 1
(sol1/s1)
- Error:
C:\Users\ADMINI~1\.comsol\v43\comsol.recoveries
(??? ???關????? ?????? ??? ????? ?????? ???關????? ????? ?? ?? ??????)


Stack trace:

)

at
java.io.FileOutputStream.openAppend(Native Method)

at
java.io.FileOutputStream.<init>(Unknown Source)

at
java.io.FileWriter.<init>(Unknown Source)

at
com.comsol.util.methods.g.c(Unknown Source)

at
com.comsol.model.util.ModelInternalUtil.getRecoveryDir(Unknown Source)

at
com.comsol.model.util.ModelInternalUtil.saveRecoveryFile(Unknown Source)

at
com.comsol.solver.solution.SolverBase.saveRecovery(Unknown Source)

at
com.comsol.solver.solution.SolverBase.a(Unknown Source)

at
com.comsol.solver.solution.SolverBase.doExecute(Unknown Source)

at
com.comsol.solver.SolverOperation.execute(Unknown Source)

at
com.comsol.model.internal.impl.SolverSequenceImpl.a(Unknown Source)

at
com.comsol.model.internal.impl.SolverSequenceImpl.i(Unknown Source)

at
com.comsol.model.internal.impl.SolverSequenceImpl.runAll(Unknown Source)

at
sun.reflect.GeneratedMethodAccessor11.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$a.a(Unknown Source)

at
com.comsol.server.internal.b$a.a(Unknown Source)

at
com.comsol.server.internal.b$a$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.internal.impl.SolverSequenceImpl$am.a(Unknown Source)

at
com.comsol.model.internal.impl.SolverSequenceImpl$am.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:
java.io.FileNotFoundException:
C:\Users\ADMINI~1\.comsol\v43\comsol.recoveries
(??? ???????? ?????? ??? ????? ?????? ???????? ????? ?? ?? ??????)
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
The following feature has encountered a problem

C:\Users\ADMINI~1\.comsol\v43\comsol.recoveries
(??? ???????? ?????? ??? ????? ?????? ???????? ????? ?? ?? ??????)
- Feature:
Stationary Solver 1
(sol1/s1)
- Error:
C:\Users\ADMINI~1\.comsol\v43\comsol.recoveries
(??? ???????? ?????? ??? ????? ?????? ???????? ????? ?? ?? ??????)


at
com.comsol.solver.SolverOperation.addError(Unknown Source)

at
com.comsol.solver.SolverOperation.execute(Unknown Source)

at
com.comsol.model.internal.impl.SolverSequenceImpl.a(Unknown Source)

at
com.comsol.model.internal.impl.SolverSequenceImpl.i(Unknown Source)

at
com.comsol.model.internal.impl.SolverSequenceImpl.runAll(Unknown Source)

at
sun.reflect.GeneratedMethodAccessor11.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$a.a(Unknown Source)

at
com.comsol.server.internal.b$a.a(Unknown Source)

at
com.comsol.server.internal.b$a$a.run(Unknown Source)

... 3 more

Caused by: Exception:
java.io.FileNotFoundException:
C:\Users\ADMINI~1\.comsol\v43\comsol.recoveries
(??? ???????? ?????? ??? ????? ?????? ???????? ????? ?? ?? ??????)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
C:\Users\ADMINI~1\.comsol\v43\comsol.recoveries
(??? ???????? ?????? ??? ????? ?????? ???????? ????? ?? ?? ??????)


at
com.comsol.util.methods.g.c(Unknown Source)

at
com.comsol.model.util.ModelInternalUtil.getRecoveryDir(Unknown Source)

at
com.comsol.model.util.ModelInternalUtil.saveRecoveryFile(Unknown Source)

at
com.comsol.solver.solution.SolverBase.saveRecovery(Unknown Source)

at
com.comsol.solver.solution.SolverBase.a(Unknown Source)

at
com.comsol.solver.solution.SolverBase.doExecute(Unknown Source)

... 16 more

Caused by:
java.io.FileNotFoundException:
C:\Users\ADMINI~1\.comsol\v43\comsol.recoveries
(??? ???????? ???????? ????? ?????????????? ????? ?? ????????)

at
java.io.FileOutputStream.openAppend(Native Method)

at
java.io.FileOutputStream.<init>(Unknown Source)

at
java.io.FileWriter.<init>(Unknown Source)

... 22 more


Error in ==> model at 307
model.sol('sol1').runAll;

Error in ==> main at 25
model(wavelength(aa),aa, period,angle_in(bb), theta,silver_thickness,active_thickness, Tp,Ti,grating_height(cc));

>>

Viewing all articles
Browse latest Browse all 26527

Trending Articles