Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Errors in VE
Errors in VE [message #616413] Thu, 30 August 2007 03:17
James Carroll is currently offline James Carroll
Messages: 14
Registered: July 2009
Junior Member
I'm using Eclipse 3.3 with JRE 1.6 and Eric magnifgant VE port. I am
getting the following error though:

java.lang.RuntimeException: java.io.NotSerializableException:
org.eclipse.ve.internal.cdm.model.Rectangle
at
org.eclipse.emf.ecore.impl.EFactoryImpl.convertToString(EFac toryImpl.java:65
0)
at
org.eclipse.ve.internal.cdm.impl.CDMFactoryImpl.convertViewR ectangleToString
(CDMFactoryImpl.java:377)
at
org.eclipse.ve.internal.cdm.impl.CDMFactoryImpl.convertToStr ing(CDMFactoryIm
pl.java:136)
at
org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.convertToString (XMLHelperImpl.j
ava:1570)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.getDatatypeValue( XMLSaveImpl.java
:2887)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveDataTypeSingl e(XMLSaveImpl.ja
va:1609)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:119
6)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:25
90)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSa veImpl.java:1105
)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSa veImpl.java:986)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany (XMLSaveImpl.jav
a:2291)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:146
4)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:25
90)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSa veImpl.java:1105
)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSa veImpl.java:986)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany (XMLSaveImpl.jav
a:2291)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:146
4)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:25
90)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSa veImpl.java:1105
)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSa veImpl.java:986)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany (XMLSaveImpl.jav
a:2291)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:146
4)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:25
90)
at
org.eclipse.emf.ecore.xmi.impl.XMISaveImpl.writeTopObjects(X MISaveImpl.java:
90)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveI mpl.java:585)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl. java:253)
at
org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLRes ourceImpl.java:2
05)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:1253
)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:964)
at
org.eclipse.ve.internal.java.codegen.util.VEModelCacheUtilit y.doSaveCache(VE
ModelCacheUtility.java:158)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.primDoSave(Ja
vaSourceTranslator.java:1397)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.doSave(JavaSo
urceTranslator.java:1411)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or$3.doRun(JavaS
ourceTranslator.java:956)
at
org.eclipse.ve.internal.java.codegen.util.ReverseParserJob.r un(ReverseParser
Job.java:56)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.NotSerializableException:
org.eclipse.ve.internal.cdm.model.Rectangle
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
org.eclipse.emf.ecore.impl.EFactoryImpl.convertToString(EFac toryImpl.java:64
5)
.... 34 more


Any ideas?
Previous Topic:Re: Setting cellEditor to a property not working
Next Topic:Configure the Palette by removing some Drawers
Goto Forum:
  


Current Time: Sun Oct 26 07:05:45 GMT 2014

Powered by FUDForum. Page generated in 0.01955 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software