Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Apr 7, 2011, 11:08 a.m. EDT
Update:
Saving the model file itself using the "model.save" command does work!
It is just when I try using the model.result.export('data1').run command, which does not work and throws the following error message:
Any ideas?
??? Java exception occurred:
Exception:
java.lang.RuntimeException: java.io.InvalidClassException:
com.comsol.util.classes.FlStringList; local class incompatible: stream
classdesc serialVersionUID = -7563983620598702692, local class
serialVersionUID = 3136439966478934778
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
java.io.InvalidClassException: com.comsol.util.classes.FlStringList; local
class incompatible: stream classdesc serialVersionUID =
-7563983620598702692, local class serialVersionUID = 3136439966478934778
Stack trace:
at
org.eclipse.emf.ecore.impl.EFactoryImpl.createFromString(EFactoryImpl.java:621)
at
com.comsol.clientserver.impl.ClientserverFactoryImpl.createThrowableFromString(Unknown
Source)
at
com.comsol.clientserver.impl.ClientserverFactoryImpl.createFromString(Unknown
Source)
at
org.eclipse.emf.ecore.util.EcoreUtil.createFromString(EcoreUtil.java:3257)
at
org.eclipse.emf.cdo.internal.common.model.CDOTypeImpl$25.convertToEMF(CDOTypeImpl.java:601)
at
org.eclipse.emf.internal.cdo.CDOStore.convertToEMF(CDOStore.java:396)
at org.eclipse.emf.internal.cdo.CDOStore.get(CDOStore.java:171)
at
org.eclipse.emf.internal.cdo.CDOObjectImpl.dynamicGet(CDOObjectImpl.java:485)
at
org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSingleData.dynamicGet(EStructuralFeatureImpl.java:1959)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1029)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1013)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1005)
at com.comsol.clientserver.impl.JobImpl.getException(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.ExportFeatureImpl$a.a(Unknown Source)
at com.comsol.model.impl.ExportFeatureImpl$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: java.io.InvalidClassException: com.comsol.util.classes.FlStringList;
local class incompatible: stream classdesc serialVersionUID = -7563983620598702692,
local class serialVersionUID = 3136439966478934778
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at
org.eclipse.emf.ecore.impl.EFactoryImpl.createFromString(EFactoryImpl.java:617)
... 22 more
Update:
Saving the model file itself using the "model.save" command does work!
It is just when I try using the model.result.export('data1').run command, which does not work and throws the following error message:
Any ideas?
??? Java exception occurred:
Exception:
java.lang.RuntimeException: java.io.InvalidClassException:
com.comsol.util.classes.FlStringList; local class incompatible: stream
classdesc serialVersionUID = -7563983620598702692, local class
serialVersionUID = 3136439966478934778
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
java.io.InvalidClassException: com.comsol.util.classes.FlStringList; local
class incompatible: stream classdesc serialVersionUID =
-7563983620598702692, local class serialVersionUID = 3136439966478934778
Stack trace:
at
org.eclipse.emf.ecore.impl.EFactoryImpl.createFromString(EFactoryImpl.java:621)
at
com.comsol.clientserver.impl.ClientserverFactoryImpl.createThrowableFromString(Unknown
Source)
at
com.comsol.clientserver.impl.ClientserverFactoryImpl.createFromString(Unknown
Source)
at
org.eclipse.emf.ecore.util.EcoreUtil.createFromString(EcoreUtil.java:3257)
at
org.eclipse.emf.cdo.internal.common.model.CDOTypeImpl$25.convertToEMF(CDOTypeImpl.java:601)
at
org.eclipse.emf.internal.cdo.CDOStore.convertToEMF(CDOStore.java:396)
at org.eclipse.emf.internal.cdo.CDOStore.get(CDOStore.java:171)
at
org.eclipse.emf.internal.cdo.CDOObjectImpl.dynamicGet(CDOObjectImpl.java:485)
at
org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSingleData.dynamicGet(EStructuralFeatureImpl.java:1959)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1029)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1013)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1005)
at com.comsol.clientserver.impl.JobImpl.getException(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.ExportFeatureImpl$a.a(Unknown Source)
at com.comsol.model.impl.ExportFeatureImpl$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: java.io.InvalidClassException: com.comsol.util.classes.FlStringList;
local class incompatible: stream classdesc serialVersionUID = -7563983620598702692,
local class serialVersionUID = 3136439966478934778
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at
org.eclipse.emf.ecore.impl.EFactoryImpl.createFromString(EFactoryImpl.java:617)
... 22 more