[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[emfstore-dev] EMFStore Bug Report


My question:

   1, I have two model (1.ecore and 2.ecore) file, and one model(2.ecore) depends on the other(1.ecore);

   2, The first commit is ok, but when the server and client were restart, modify one model(2.ecore)'s attribute which is inherited from the other model(1.ecore);

   3, After modified, can not commit the current modify to server, with error is:

  Feature 'name' not found. (emfstore://serverspaces/default/projects/_hv4JANtCEeifYZVNVZN0Tw/projectstates/1, 5, 98)

org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'name' not found. (emfstore://serverspaces/default/projects/_hv4JANtCEeifYZVNVZN0Tw/projectstates/1, 5, 98)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:77)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:185)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:261)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1297)
at org.eclipse.emf.emfstore.internal.server.model.versioning.impl.VersionImpl.loadResourceForURI(VersionImpl.java:1060)
at org.eclipse.emf.emfstore.internal.server.model.versioning.impl.VersionImpl.getProjectStateResource(VersionImpl.java:972)
at org.eclipse.emf.emfstore.internal.server.model.versioning.impl.VersionImpl.getProjectState(VersionImpl.java:940)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.getProjectFromVersion(ProjectSubInterfaceImpl.java:166)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.getProject(ProjectSubInterfaceImpl.java:149)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.VersionSubInterfaceImpl.internalCreateVersion(VersionSubInterfaceImpl.java:430)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.VersionSubInterfaceImpl.createVersion(VersionSubInterfaceImpl.java:397)
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 org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface.execute(AbstractSubEmfstoreInterface.java:138)
at org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl.invoke(EMFStoreImpl.java:181)
at com.sun.proxy.$Proxy2.createVersion(Unknown Source)
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.createVersion(XmlRpcEmfStoreImpl.java:139)
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 org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:115)
at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:106)
at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:46)
at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86)
at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200)
at org.apache.xmlrpc.webserver.Connection.run(Connection.java:208)
at org.apache.xmlrpc.util.ThreadPool$Poolable$1.run(ThreadPool.java:68)
Caused by: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'name' not found. (emfstore://serverspaces/default/projects/_hv4JANtCEeifYZVNVZN0Tw/projectstates/1, 5, 98)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.reportUnknownFeature(XMLHandler.java:2027)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleUnknownFeature(XMLHandler.java:1991)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.handleUnknownFeature(XMIHandler.java:172)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setAttribValue(XMLHandler.java:2743)
at org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler.handleObjectAttribs(SAXXMIHandler.java:79)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFactory(XMLHandler.java:2229)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromTypeName(XMLHandler.java:2132)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:2067)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.createObject(XMIHandler.java:151)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1876)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1030)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:82)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1008)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:719)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHandler.java:190)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:175)
... 29 more

   

  Details in the attachments.


Please help me to solve this bug, thanks!



 Karelun Huang       2018-10-29
 Chengdu China
 Phone: +86 13618658302
 E-Mail:hzl@xxxxxxxxxxx
 

Attachment: attachments.zip
Description: Binary data