Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » [EMFStore] Commit failed
| | |
Re: [EMFStore] Commit failed [message #1170448 is a reply to message #1164454] |
Mon, 04 November 2013 16:57 |
Edgar Mueller Messages: 89 Registered: March 2011 |
Member |
|
|
Hi Scott,
sorry for the delay once again, but we had a holiday in Germany last
week, right after EclipseCon ;).
I've looked into the problem by now but couldn't reproduce it yet.
It seems to me as if this problem can only occur if the project state
for the precendent version on the server becomes corrupt.
Does this error appear right after you've shared the project or after
your first commit? Is it reproducable?
Do you mind sharing your server/client workspace with us, that contains
the project that can not be committed? By default, the workspace is
located in the .emfstore folder of your home directory.
Thanks for your valueable help so far.
Edgar
Am 31.10.2013 18:45, schrieb Scott Dybiec:
> Maximilian,
>
> Haven't used branching yet in any of my code or scenarios. Trying to get
> my application to work with the basics of EMFStore before tackling any
> of its more exotic features, like branching :-)
>
> Thanks for the cool project and quick responses.
>
> Scott
>
>
> On 10/31/2013 11:52 AM, Maximilian Koegel wrote:
>> Hi Scott,
>>
>> thank you for reporting this, I will investigate and get back to you.
>> Did you use branching when or before this problem occured?
>>
>> Cheers,
>> Maximilian
>>
>> Am 30.10.2013 04:40, schrieb scott@xxxxxxxx:
>>> Here's a screenshot and stack trace of another problem I encountered.
>>>
>>> Scott
>>>
>>>
>>> !ENTRY org.eclipse.emf.emfstore.common.model 1 1 2013-10-29 23:35:24.136
>>> !MESSAGE exception on execution
>>> exception on execution
>>> Oct 29, 2013 11:35:24 PM org.apache.xmlrpc.server.XmlRpcErrorLogger log
>>> SEVERE: Failed to invoke method createVersion in class
>>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl:
>>>
>>> Couldn't determine next version in history.
>>> org.apache.xmlrpc.common.XmlRpcInvocationException: Failed to invoke
>>> method createVersion in class
>>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl:
>>>
>>> Couldn't determine next version in history.
>>> at
>>> org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:129)
>>>
>>>
>>> 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.emfstore.internal.server.exceptions.InvalidVersionSpecException:
>>>
>>> Couldn't determine next version in history.
>>> at
>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.VersionSubInterfaceImpl.findNextVersion(VersionSubInterfaceImpl.java:652)
>>>
>>>
>>> at
>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.getProject(ProjectSubInterfaceImpl.java:129)
>>>
>>>
>>> at
>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.VersionSubInterfaceImpl.createVersion(VersionSubInterfaceImpl.java:283)
>>>
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface.execute(AbstractSubEmfstoreInterface.java:145)
>>>
>>>
>>> at
>>> org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl.invoke(EMFStoreImpl.java:129)
>>>
>>>
>>> at com.sun.proxy.$Proxy4.createVersion(Unknown Source)
>>> at
>>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.createVersion(XmlRpcEmfStoreImpl.java:106)
>>>
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:115)
>>>
>>>
>>> ... 6 more
>>> Caused by:
>>> org.eclipse.emf.emfstore.internal.server.exceptions.InvalidVersionSpecException:
>>>
>>> Couldn't determine next version in history.
>>> at
>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.VersionSubInterfaceImpl.findNextVersion(VersionSubInterfaceImpl.java:652)
>>>
>>>
>>> at
>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.getProject(ProjectSubInterfaceImpl.java:129)
>>>
>>>
>>> at
>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.VersionSubInterfaceImpl.createVersion(VersionSubInterfaceImpl.java:283)
>>>
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface.execute(AbstractSubEmfstoreInterface.java:145)
>>>
>>>
>>> at
>>> org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl.invoke(EMFStoreImpl.java:129)
>>>
>>>
>>> at com.sun.proxy.$Proxy4.createVersion(Unknown Source)
>>> at
>>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.createVersion(XmlRpcEmfStoreImpl.java:106)
>>>
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> 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)
>>
>>
>
--
Edgar Mueller
Get Professional Eclipse Support: http://eclipsesource.com/munich
|
|
|
Re: [EMFStore] Commit failed [message #1170623 is a reply to message #1170448] |
Mon, 04 November 2013 19:30 |
Scott Dybiec Messages: 148 Registered: July 2009 |
Senior Member |
|
|
Comments inline.
On 11/4/2013 11:57 AM, Edgar Mueller wrote:
> Hi Scott,
>
> sorry for the delay once again, but we had a holiday in Germany last
> week, right after EclipseCon ;).
> I've looked into the problem by now but couldn't reproduce it yet.
OK, thanks for trying. My model has only one unusual aspect that has
bitten me whenever I write generic EMF utilities. You may have noticed
that I have what I call 'uplinks' --- bi-directional references from a
contained EObject up to its parent. This allows for type-safe traversal
up the EMF containment hierarchy vs. using eContainer() with casts. I've
found that the notifications generated with such uplinks need special
handling in some cases.
> It seems to me as if this problem can only occur if the project state
> for the precendent version on the server becomes corrupt.
> Does this error appear right after you've shared the project or after
> your first commit? Is it reproducable?
I have reproduced it twice, but haven't found the specific combination
of activities that make it happen. So, no, it's not yet reproducible.
> Do you mind sharing your server/client workspace with us, that contains
> the project that can not be committed? By default, the workspace is
> located in the .emfstore folder of your home directory.
I'd be happy to share the client and server workspaces with you when the
checksums recur again. The last time the problem occurred I waited for a
few days thinking I would hear back from you asking for it, but I
couldn't wait on my testing anymore.
>
> Thanks for your valueable help so far.
>
> Edgar
>
>
> Am 31.10.2013 18:45, schrieb Scott Dybiec:
>> Maximilian,
>>
>> Haven't used branching yet in any of my code or scenarios. Trying to get
>> my application to work with the basics of EMFStore before tackling any
>> of its more exotic features, like branching :-)
>>
>> Thanks for the cool project and quick responses.
>>
>> Scott
>>
>>
>> On 10/31/2013 11:52 AM, Maximilian Koegel wrote:
>>> Hi Scott,
>>>
>>> thank you for reporting this, I will investigate and get back to you.
>>> Did you use branching when or before this problem occured?
>>>
>>> Cheers,
>>> Maximilian
>>>
>>> Am 30.10.2013 04:40, schrieb scott@xxxxxxxx:
>>>> Here's a screenshot and stack trace of another problem I encountered.
>>>>
>>>> Scott
>>>>
>>>>
>>>> !ENTRY org.eclipse.emf.emfstore.common.model 1 1 2013-10-29
>>>> 23:35:24.136
>>>> !MESSAGE exception on execution
>>>> exception on execution
>>>> Oct 29, 2013 11:35:24 PM org.apache.xmlrpc.server.XmlRpcErrorLogger log
>>>> SEVERE: Failed to invoke method createVersion in class
>>>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl:
>>>>
>>>>
>>>> Couldn't determine next version in history.
>>>> org.apache.xmlrpc.common.XmlRpcInvocationException: Failed to invoke
>>>> method createVersion in class
>>>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl:
>>>>
>>>>
>>>> Couldn't determine next version in history.
>>>> at
>>>> org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:129)
>>>>
>>>>
>>>>
>>>> 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.emfstore.internal.server.exceptions.InvalidVersionSpecException:
>>>>
>>>>
>>>> Couldn't determine next version in history.
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.VersionSubInterfaceImpl.findNextVersion(VersionSubInterfaceImpl.java:652)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.getProject(ProjectSubInterfaceImpl.java:129)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.VersionSubInterfaceImpl.createVersion(VersionSubInterfaceImpl.java:283)
>>>>
>>>>
>>>>
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>>
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>>
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface.execute(AbstractSubEmfstoreInterface.java:145)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl.invoke(EMFStoreImpl.java:129)
>>>>
>>>>
>>>>
>>>> at com.sun.proxy.$Proxy4.createVersion(Unknown Source)
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.createVersion(XmlRpcEmfStoreImpl.java:106)
>>>>
>>>>
>>>>
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>>
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>>
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:115)
>>>>
>>>>
>>>>
>>>> ... 6 more
>>>> Caused by:
>>>> org.eclipse.emf.emfstore.internal.server.exceptions.InvalidVersionSpecException:
>>>>
>>>>
>>>> Couldn't determine next version in history.
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.VersionSubInterfaceImpl.findNextVersion(VersionSubInterfaceImpl.java:652)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.getProject(ProjectSubInterfaceImpl.java:129)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.core.subinterfaces.VersionSubInterfaceImpl.createVersion(VersionSubInterfaceImpl.java:283)
>>>>
>>>>
>>>>
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>>
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>>
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface.execute(AbstractSubEmfstoreInterface.java:145)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl.invoke(EMFStoreImpl.java:129)
>>>>
>>>>
>>>>
>>>> at com.sun.proxy.$Proxy4.createVersion(Unknown Source)
>>>> at
>>>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.createVersion(XmlRpcEmfStoreImpl.java:106)
>>>>
>>>>
>>>>
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>>
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>>
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> 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)
>>>
>>>
>>
>
>
|
|
| |
Goto Forum:
Current Time: Thu Apr 25 06:35:30 GMT 2024
Powered by FUDForum. Page generated in 0.04051 seconds
|