Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EmfStore] Commit observe on server
[EmfStore] Commit observe on server [message #988785] Mon, 03 December 2012 08:10 Go to next message
Dmitriy Shishkin is currently offline Dmitriy ShishkinFriend
Messages: 20
Registered: May 2012
Junior Member
Hi,
Maybe it's a simple question..
How observe commit on server side? I find solution only on client side by extension org.eclipse.emf.emfstore.client.commitObserver

Thanks.
Dmitriy.
Re: [EmfStore] Commit observe on server [message #989038 is a reply to message #988785] Tue, 04 December 2012 11:39 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 225
Registered: July 2009
Senior Member
Hi Dmitriy,

Unfortunately we do not provide a server based callback interface
anymore. We did in the past and you may find these plugins in the
emfstore.other repository (they are called backchannel plugins),
but the API these plugins depend on has been marked as deprecated.

As an alternative solution to your problem you can register adapters on
the EMF server model, e.g. by adding
EAdapters to the ProjectHistory instances. Please find attached some
example code that gets called for all existing projects when a commit
has been registered via the versions property of the ProjectHistory
class (this goes into the EMFStoreController's run(boolean) method)
after initServerSpace() has completed:

for (final ProjectHistory history : serverSpace.getProjects()) {
history.eAdapters().add(new AdapterImpl() {
@Override
public void notifyChanged(Notification msg) {
if
(msg.getFeature().equals(ModelPackage.eINSTANCE.getProjectHistory_Versions()))
{
Version newVersion = (Version) msg.getNewValue();
System.out.println("New version " +
newVersion.getPrimarySpec().getIdentifier()
+ " for project " + history.getProjectName() + " committed.");
}
}
});
}

If the proposed solution above does not fit your needs, we are happy to
provide a dedicated API with one of the next nightly builds. In this
case it would be helpful if you could explain your requirements in more
detail.

Cheers,
Maximilian

Am 03.12.2012 09:10, schrieb Dmitriy Shishkin:
> Hi,
> Maybe it's a simple question..
> How observe commit on server side? I find solution only on client side
> by extension org.eclipse.emf.emfstore.client.commitObserver
>
> Thanks.
> Dmitriy.


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: [EmfStore] Commit observe on server [message #989256 is a reply to message #989038] Wed, 05 December 2012 11:26 Go to previous messageGo to next message
Dmitriy Shishkin is currently offline Dmitriy ShishkinFriend
Messages: 20
Registered: May 2012
Junior Member
Hi Maximilian,
Thanks for detailed answer.

I think it is suitable solution for my task. The point is that we need some codegeneration for our domain model. As model live in EmfStore then codegenration should occur on server side at the same time with commit

Thanks,
Dmitriy
Re: [EmfStore] Commit observe on server [message #989268 is a reply to message #989256] Wed, 05 December 2012 12:31 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 225
Registered: July 2009
Senior Member
Hi Dmitriy,

OK, let me know if it works out for you!

Best regards,
Maximilian

Am 05.12.2012 12:26, schrieb Dmitriy Shishkin:
> Hi Maximilian,
> Thanks for detailed answer.
>
> I think it is suitable solution for my task. The point is that we need
> some codegeneration for our domain model. As model live in EmfStore then
> codegenration should occur on server side at the same time with commit
>
> Thanks,
> Dmitriy


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: [EmfStore] Commit observe on server [message #1371618 is a reply to message #989268] Wed, 21 May 2014 13:06 Go to previous messageGo to next message
Kristof Zalecki is currently offline Kristof ZaleckiFriend
Messages: 19
Registered: October 2013
Junior Member
Hi,

I tried the solution for the commit notifications and I am getting
Nullpointer Exceptions when I try to delete projects on the server.
It seems to be connected to the Adapters which are created for the
notifications.
Is there a way to get this working properly? I already tried deleting
the Adapter before the project itself is being deleted in the
deleteProject method in class
org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl
but without any luck.

Regards,
Kristof
Re: [EmfStore] Commit observe on server [message #1376406 is a reply to message #1371618] Fri, 23 May 2014 11:54 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 225
Registered: July 2009
Senior Member
Hi,

could you post the stacktrace, please.

Cheers,
Maximilian

Am 21.05.2014 15:06, schrieb Zalecki, Kristof:
> Hi,
>
> I tried the solution for the commit notifications and I am getting
> Nullpointer Exceptions when I try to delete projects on the server.
> It seems to be connected to the Adapters which are created for the
> notifications.
> Is there a way to get this working properly? I already tried deleting
> the Adapter before the project itself is being deleted in the
> deleteProject method in class
> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl
>
> but without any luck.
>
> Regards,
> Kristof


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: [EmfStore] Commit observe on server [message #1385417 is a reply to message #1376406] Fri, 06 June 2014 09:59 Go to previous messageGo to next message
Kristof Zalecki is currently offline Kristof ZaleckiFriend
Messages: 19
Registered: October 2013
Junior Member
Hi,

sorry for the late answer. I already found the solution. At deletion of
a project the notification needs to be disabled first. I added a few
lines to the method deleteProject() in class
org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl
which now looks like this:

public void deleteProject(SessionId sessionId, ProjectId projectId,
boolean deleteFiles) throws ESException {
for (final ProjectHistory history :
eMFStoreControllerInstance.getServerSpace().getProjects())
{
if (history.getProjectId().getId().equals(projectId.getId()))
{
// the notifier needs to be disabled for the deletion of the
// project to avoid NullPointerExceptions
history.eAdapters().get(0).getTarget().eSetDeliver(false);
}
}
getEmfStore().deleteProject(sessionId, projectId, deleteFiles);
}

Regards,
Kristof



Am 23.05.2014 13:54, schrieb Maximilian Koegel:
> Hi,
>
> could you post the stacktrace, please.
>
> Cheers,
> Maximilian
>
> Am 21.05.2014 15:06, schrieb Zalecki, Kristof:
>> Hi,
>>
>> I tried the solution for the commit notifications and I am getting
>> Nullpointer Exceptions when I try to delete projects on the server.
>> It seems to be connected to the Adapters which are created for the
>> notifications.
>> Is there a way to get this working properly? I already tried deleting
>> the Adapter before the project itself is being deleted in the
>> deleteProject method in class
>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl
>>
>> but without any luck.
>>
>> Regards,
>> Kristof
>
>
Re: [EmfStore] Commit observe on server [message #1385866 is a reply to message #1385417] Wed, 11 June 2014 18:32 Go to previous messageGo to next message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 65
Registered: March 2011
Member
Hi Kristof,

I tested this myself and I didn't have any issues so far.
Do you have any customizations of your own registered at the server?
If so, would you mind sharing a stacktrace or a minimal test case with
us, such that we can reproduce the issue?
Also, can you tell us which adapter is returned for
history.eAdapters().get(0) and which target it is pointing to?

Cheers,
Edgar

Am 06.06.2014 11:59, schrieb Zalecki, Kristof:
> Hi,
>
> sorry for the late answer. I already found the solution. At deletion of
> a project the notification needs to be disabled first. I added a few
> lines to the method deleteProject() in class
> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl
>
> which now looks like this:
>
> public void deleteProject(SessionId sessionId, ProjectId projectId,
> boolean deleteFiles) throws ESException {
> for (final ProjectHistory history :
> eMFStoreControllerInstance.getServerSpace().getProjects())
> {
> if (history.getProjectId().getId().equals(projectId.getId()))
> {
> // the notifier needs to be disabled for the deletion of
> the
> // project to avoid NullPointerExceptions
> history.eAdapters().get(0).getTarget().eSetDeliver(false);
> }
> }
> getEmfStore().deleteProject(sessionId, projectId, deleteFiles);
> }
>
> Regards,
> Kristof
>
>
>
> Am 23.05.2014 13:54, schrieb Maximilian Koegel:
>> Hi,
>>
>> could you post the stacktrace, please.
>>
>> Cheers,
>> Maximilian
>>
>> Am 21.05.2014 15:06, schrieb Zalecki, Kristof:
>>> Hi,
>>>
>>> I tried the solution for the commit notifications and I am getting
>>> Nullpointer Exceptions when I try to delete projects on the server.
>>> It seems to be connected to the Adapters which are created for the
>>> notifications.
>>> Is there a way to get this working properly? I already tried deleting
>>> the Adapter before the project itself is being deleted in the
>>> deleteProject method in class
>>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl
>>>
>>>
>>> but without any luck.
>>>
>>> Regards,
>>> Kristof
>>
>>
>


--
Edgar Mueller

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: [EmfStore] Commit observe on server [message #1386438 is a reply to message #1385866] Tue, 17 June 2014 14:28 Go to previous message
Kristof Zalecki is currently offline Kristof ZaleckiFriend
Messages: 19
Registered: October 2013
Junior Member
Hi Edgar,

In the attachement there are two text files containing the stack traces
from my client and from my server. The only changes I have made on
server side are the mentioned Adapters, which i added to the server
start as your example showed and also to the createProject() and
createEmptyProject() in class
org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl
in order to create them at creation of projects.

The problem occurs after committing a project containing changes, which
then of course invokes the notification mechanism. After that I try to
delete the project on the server and I get the NullPointerException.
When trying to delete the project a second time it works.

I am also using Version 1.1 of EMFStore so maybe this problem fixed
itself on the way.

Regards,
Kristof

Am 11.06.2014 20:32, schrieb Edgar Mueller:
> Hi Kristof,
>
> I tested this myself and I didn't have any issues so far.
> Do you have any customizations of your own registered at the server?
> If so, would you mind sharing a stacktrace or a minimal test case with
> us, such that we can reproduce the issue?
> Also, can you tell us which adapter is returned for
> history.eAdapters().get(0) and which target it is pointing to?
>
> Cheers,
> Edgar
>
> Am 06.06.2014 11:59, schrieb Zalecki, Kristof:
>> Hi,
>>
>> sorry for the late answer. I already found the solution. At deletion of
>> a project the notification needs to be disabled first. I added a few
>> lines to the method deleteProject() in class
>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl
>>
>> which now looks like this:
>>
>> public void deleteProject(SessionId sessionId, ProjectId projectId,
>> boolean deleteFiles) throws ESException {
>> for (final ProjectHistory history :
>> eMFStoreControllerInstance.getServerSpace().getProjects())
>> {
>> if (history.getProjectId().getId().equals(projectId.getId()))
>> {
>> // the notifier needs to be disabled for the deletion of
>> the
>> // project to avoid NullPointerExceptions
>> history.eAdapters().get(0).getTarget().eSetDeliver(false);
>> }
>> }
>> getEmfStore().deleteProject(sessionId, projectId, deleteFiles);
>> }
>>
>> Regards,
>> Kristof
>>
>>
>>
>> Am 23.05.2014 13:54, schrieb Maximilian Koegel:
>>> Hi,
>>>
>>> could you post the stacktrace, please.
>>>
>>> Cheers,
>>> Maximilian
>>>
>>> Am 21.05.2014 15:06, schrieb Zalecki, Kristof:
>>>> Hi,
>>>>
>>>> I tried the solution for the commit notifications and I am getting
>>>> Nullpointer Exceptions when I try to delete projects on the server.
>>>> It seems to be connected to the Adapters which are created for the
>>>> notifications.
>>>> Is there a way to get this working properly? I already tried deleting
>>>> the Adapter before the project itself is being deleted in the
>>>> deleteProject method in class
>>>> org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl
>>>>
>>>>
>>>> but without any luck.
>>>>
>>>> Regards,
>>>> Kristof
>>>
>>>
>>
>
>


!ENTRY org.eclipse.emf.emfstore.client 4 4 2014-06-17 16:11:50.268
!MESSAGE org.eclipse.emf.emfstore.server.exceptions.ESException: java.lang.NullPointerException
!STACK 0
java.util.concurrent.ExecutionException: org.eclipse.emf.emfstore.server.exceptions.ESException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)
at java.util.concurrent.FutureTask.get(FutureTask.java:91)
at org.eclipse.emf.emfstore.internal.client.common.UnknownEMFStoreWorkloadCommand.execute(UnknownEMFStoreWorkloadCommand.java:83)
at org.eclipse.emf.emfstore.internal.client.model.impl.api.ESRemoteProjectImpl$14.run(ESRemoteProjectImpl.java:518)
at org.eclipse.emf.emfstore.internal.client.model.impl.api.ESRemoteProjectImpl$14.run(ESRemoteProjectImpl.java:1)
at org.eclipse.emf.emfstore.internal.client.model.connectionmanager.ServerCall.run(ServerCall.java:249)
at org.eclipse.emf.emfstore.internal.client.model.connectionmanager.SessionManager.executeCall(SessionManager.java:120)
at org.eclipse.emf.emfstore.internal.client.model.connectionmanager.SessionManager.execute(SessionManager.java:61)
at org.eclipse.emf.emfstore.internal.client.model.connectionmanager.ServerCall.execute(ServerCall.java:269)
at org.eclipse.emf.emfstore.internal.client.model.impl.api.ESRemoteProjectImpl$13.call(ESRemoteProjectImpl.java:482)
at org.eclipse.emf.emfstore.internal.client.model.impl.api.ESRemoteProjectImpl$13.call(ESRemoteProjectImpl.java:1)
at org.eclipse.emf.emfstore.client.util.RunESCommand$WithException$2.doRun(RunESCommand.java:102)
at org.eclipse.emf.emfstore.internal.client.model.util.EMFStoreCommand.commandBody(EMFStoreCommand.java:51)
at org.eclipse.emf.emfstore.internal.client.model.util.AbstractEMFStoreCommand.execute(AbstractEMFStoreCommand.java:64)
at org.eclipse.emf.emfstore.internal.client.transaction.EMFStoreTransactionalCommandStack$1.doExecute(EMFStoreTransactionalCommandStack.java:61)
at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
at org.eclipse.emf.common.command.BasicCommandStack.execute(BasicCommandStack.java:78)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.basicExecute(AbstractTransactionalCommandStack.java:241)
at org.eclipse.emf.emfstore.internal.client.transaction.EMFStoreTransactionalCommandStack.basicExecute(EMFStoreTransactionalCommandStack.java:163)
at org.eclipse.emf.transaction.impl.TransactionalCommandStackImpl.doExecute(TransactionalCommandStackImpl.java:63)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
at org.eclipse.emf.emfstore.internal.client.transaction.EMFStoreTransactionalCommandStack.runEMFStoreCommand(EMFStoreTransactionalCommandStack.java:64)
at org.eclipse.emf.emfstore.internal.client.transaction.EMFStoreTransactionalCommandStack.execute(EMFStoreTransactionalCommandStack.java:49)
at org.eclipse.emf.emfstore.internal.client.model.util.AbstractEMFStoreCommand.aRun(AbstractEMFStoreCommand.java:108)
at org.eclipse.emf.emfstore.internal.client.model.util.EMFStoreCommand.run(EMFStoreCommand.java:60)
at org.eclipse.emf.emfstore.client.util.RunESCommand$WithException.run(RunESCommand.java:117)
at org.eclipse.emf.emfstore.internal.client.model.impl.api.ESRemoteProjectImpl.delete(ESRemoteProjectImpl.java:477)
at org.eclipse.emf.emfstore.internal.client.ui.controller.UIDeleteRemoteProjectController.deleteRemoteProject(UIDeleteRemoteProjectController.java:149)
at org.eclipse.emf.emfstore.internal.client.ui.controller.UIDeleteRemoteProjectController.doRun(UIDeleteRemoteProjectController.java:110)
at org.eclipse.emf.emfstore.internal.client.ui.controller.UIDeleteRemoteProjectController.doRun(UIDeleteRemoteProjectController.java:1)
at org.eclipse.emf.emfstore.internal.client.ui.common.MonitoredEMFStoreAction$1.run(MonitoredEMFStoreAction.java:70)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)
at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1162)
at org.eclipse.emf.emfstore.internal.client.ui.common.MonitoredEMFStoreAction.execute(MonitoredEMFStoreAction.java:67)
at org.eclipse.emf.ecp.emfstore.internal.ui.handler.DeleteOnServerHandler.execute(DeleteOnServerHandler.java:50)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:229)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:210)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:814)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:707)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:691)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:630)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.emf.ecp.application3x.Application.start(Application.java:30)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: org.eclipse.emf.emfstore.server.exceptions.ESException: java.lang.NullPointerException
at org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface.execute(AbstractSubEmfstoreInterface.java:152)
at org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl.invoke(EMFStoreImpl.java:158)
at $Proxy4.deleteProject(Unknown Source)
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.deleteProject(XmlRpcEmfStoreImpl.java:193)
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)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl$1.notifyChanged(XmlRpcEmfStoreImpl.java:122)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl$EAdapterList.didRemove(BasicNotifierImpl.java:146)
at org.eclipse.emf.common.util.AbstractEList.didClear(AbstractEList.java:166)
at org.eclipse.emf.common.util.BasicEList.clear(BasicEList.java:640)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl$EAdapterList.clear(BasicNotifierImpl.java:235)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.unloaded(ResourceImpl.java:1576)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.doUnload(ResourceImpl.java:1635)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doUnload(XMLResourceImpl.java:631)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.unload(ResourceImpl.java:1650)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.delete(ResourceImpl.java:1667)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.deleteProject(ProjectSubInterfaceImpl.java:302)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.deleteProject(ProjectSubInterfaceImpl.java:263)
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:140)
... 14 more!ENTRY org.eclipse.emf.emfstore.common.model 1 1 2014-06-17 16:11:50.249
!MESSAGE Exception on execution: java.lang.reflect.InvocationTargetException
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:140)
at org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl.invoke(EMFStoreImpl.java:158)
at $Proxy4.deleteProject(Unknown Source)
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.deleteProject(XmlRpcEmfStoreImpl.java:193)
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)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl$1.notifyChanged(XmlRpcEmfStoreImpl.java:122)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl$EAdapterList.didRemove(BasicNotifierImpl.java:146)
at org.eclipse.emf.common.util.AbstractEList.didClear(AbstractEList.java:166)
at org.eclipse.emf.common.util.BasicEList.clear(BasicEList.java:640)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl$EAdapterList.clear(BasicNotifierImpl.java:235)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.unloaded(ResourceImpl.java:1576)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.doUnload(ResourceImpl.java:1635)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doUnload(XMLResourceImpl.java:631)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.unload(ResourceImpl.java:1650)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.delete(ResourceImpl.java:1667)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.deleteProject(ProjectSubInterfaceImpl.java:302)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.deleteProject(ProjectSubInterfaceImpl.java:263)
... 19 more

Exception on execution: java.lang.reflect.InvocationTargetException
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:140)
at org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl.invoke(EMFStoreImpl.java:158)
at $Proxy4.deleteProject(Unknown Source)
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.deleteProject(XmlRpcEmfStoreImpl.java:193)
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)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl$1.notifyChanged(XmlRpcEmfStoreImpl.java:122)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl$EAdapterList.didRemove(BasicNotifierImpl.java:146)
at org.eclipse.emf.common.util.AbstractEList.didClear(AbstractEList.java:166)
at org.eclipse.emf.common.util.BasicEList.clear(BasicEList.java:640)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl$EAdapterList.clear(BasicNotifierImpl.java:235)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.unloaded(ResourceImpl.java:1576)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.doUnload(ResourceImpl.java:1635)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doUnload(XMLResourceImpl.java:631)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.unload(ResourceImpl.java:1650)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.delete(ResourceImpl.java:1667)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.deleteProject(ProjectSubInterfaceImpl.java:302)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.deleteProject(ProjectSubInterfaceImpl.java:263)
... 19 more

17.06.2014 16:11:50 org.apache.xmlrpc.server.XmlRpcErrorLogger log
SCHWERWIEGEND: Failed to invoke method deleteProject in class org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl: java.lang.NullPointerException
org.apache.xmlrpc.common.XmlRpcInvocationException: Failed to invoke method deleteProject in class org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl: java.lang.NullPointerException
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.server.exceptions.ESException: java.lang.NullPointerException
at org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface.execute(AbstractSubEmfstoreInterface.java:152)
at org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl.invoke(EMFStoreImpl.java:158)
at $Proxy4.deleteProject(Unknown Source)
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.deleteProject(XmlRpcEmfStoreImpl.java:193)
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: java.lang.NullPointerException
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl$1.notifyChanged(XmlRpcEmfStoreImpl.java:122)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl$EAdapterList.didRemove(BasicNotifierImpl.java:146)
at org.eclipse.emf.common.util.AbstractEList.didClear(AbstractEList.java:166)
at org.eclipse.emf.common.util.BasicEList.clear(BasicEList.java:640)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl$EAdapterList.clear(BasicNotifierImpl.java:235)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.unloaded(ResourceImpl.java:1576)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.doUnload(ResourceImpl.java:1635)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doUnload(XMLResourceImpl.java:631)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.unload(ResourceImpl.java:1650)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.delete(ResourceImpl.java:1667)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.deleteProject(ProjectSubInterfaceImpl.java:302)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.deleteProject(ProjectSubInterfaceImpl.java:263)
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:140)
... 14 more
Caused by:
org.eclipse.emf.emfstore.server.exceptions.ESException: java.lang.NullPointerException
at org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface.execute(AbstractSubEmfstoreInterface.java:152)
at org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl.invoke(EMFStoreImpl.java:158)
at $Proxy4.deleteProject(Unknown Source)
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl.deleteProject(XmlRpcEmfStoreImpl.java:193)
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)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcEmfStoreImpl$1.notifyChanged(XmlRpcEmfStoreImpl.java:122)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl$EAdapterList.didRemove(BasicNotifierImpl.java:146)
at org.eclipse.emf.common.util.AbstractEList.didClear(AbstractEList.java:166)
at org.eclipse.emf.common.util.BasicEList.clear(BasicEList.java:640)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl$EAdapterList.clear(BasicNotifierImpl.java:235)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.unloaded(ResourceImpl.java:1576)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.doUnload(ResourceImpl.java:1635)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doUnload(XMLResourceImpl.java:631)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.unload(ResourceImpl.java:1650)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.delete(ResourceImpl.java:1667)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.deleteProject(ProjectSubInterfaceImpl.java:302)
at org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl.deleteProject(ProjectSubInterfaceImpl.java:263)
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:140)
... 14 more
Previous Topic:[EMFStore] Test Plan
Next Topic:[TEXO][Xcore] Generating JPA Entities from Xcore
Goto Forum:
  


Current Time: Thu Dec 18 12:40:57 GMT 2014

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

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