Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMFStore Hello World example
EMFStore Hello World example [message #1023546] Sun, 24 March 2013 14:17 Go to next message
Bruce Trask is currently offline Bruce TraskFriend
Messages: 58
Registered: July 2009
Member
Hello,
I am using EMFStore 0.9.3 on Juno.

I am running the helloworld example app and am seeing the following exception:
java.lang.IllegalStateException: Cannot modify resource set without a write transaction
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.assertWriting(TransactionChangeRecorder.java:348)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.appendNotification(TransactionChangeRecorder.java:302)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.processObjectNotification(TransactionChangeRecorder.java:284)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.notifyChanged(TransactionChangeRecorder.java:240)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:294)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:301)
at org.eclipse.emf.emfstore.client.model.util.EMFStoreClientUtil.giveServerInfo(EMFStoreClientUtil.java:56)
at org.eclipse.emf.emfstore.client.model.util.EMFStoreClientUtil.createUsersession(EMFStoreClientUtil.java:114)
at org.eclipse.emf.emfstore.client.model.util.EMFStoreClientUtil.createUsersession(EMFStoreClientUtil.java:89)
at org.eclipse.emf.emfstore.exampleclient.Application.runClient(Application.java:54)
at org.eclipse.emf.emfstore.exampleclient.Application.start(Application.java:34)
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)

I have followed the directions at http://eclipse.org/emfstore/documentation/howToUseExamples.php

Is there some incompatibility with EMFStore and the editing domain in the juno release or am I doing something wrong?

Thanks
Re: EMFStore Hello World example [message #1023954 is a reply to message #1023546] Mon, 25 March 2013 14:33 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Bruce,

there is problems with the transactional editing domain in this release.
We have fixed this for 1.0.0 RC1, but I know that some problems remain,
they are addressed in RC2 which is one the way, if you use the latest
build from hudson, you should not have any more problems. This is the p2
repository url of this build:
https://hudson.eclipse.org/hudson/job/emf-emfstore-integration-tycho/752/artifact/git/releng/org.eclipse.emf.emfstore.p2repository/target/repository/
It would be great if you tried.
Thanks for trying and sorry for the inconvenience!

Cheers,
Maximilian

Am 24.03.2013 10:17, schrieb Bruce Trask:
> Hello, I am using EMFStore 0.9.3 on Juno.
>
> I am running the helloworld example app and am seeing the following
> exception:
> java.lang.IllegalStateException: Cannot modify resource set without a
> write transaction
> at
> org.eclipse.emf.transaction.impl.TransactionChangeRecorder.assertWriting(TransactionChangeRecorder.java:348)
>
> at
> org.eclipse.emf.transaction.impl.TransactionChangeRecorder.appendNotification(TransactionChangeRecorder.java:302)
>
> at
> org.eclipse.emf.transaction.impl.TransactionChangeRecorder.processObjectNotification(TransactionChangeRecorder.java:284)
>
> at
> org.eclipse.emf.transaction.impl.TransactionChangeRecorder.notifyChanged(TransactionChangeRecorder.java:240)
>
> at
> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
>
> at
> org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)
>
> at
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:294)
>
> at
> org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:301)
> at
> org.eclipse.emf.emfstore.client.model.util.EMFStoreClientUtil.giveServerInfo(EMFStoreClientUtil.java:56)
>
> at
> org.eclipse.emf.emfstore.client.model.util.EMFStoreClientUtil.createUsersession(EMFStoreClientUtil.java:114)
>
> at
> org.eclipse.emf.emfstore.client.model.util.EMFStoreClientUtil.createUsersession(EMFStoreClientUtil.java:89)
>
> at
> org.eclipse.emf.emfstore.exampleclient.Application.runClient(Application.java:54)
>
> at
> org.eclipse.emf.emfstore.exampleclient.Application.start(Application.java:34)
>
> 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)
>
> I have followed the directions at
> http://eclipse.org/emfstore/documentation/howToUseExamples.php
>
> Is there some incompatibility with EMFStore and the editing domain in
> the juno release or am I doing something wrong?
>
> Thanks


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: EMFStore Hello World example [message #1024084 is a reply to message #1023954] Mon, 25 March 2013 20:09 Go to previous message
Bruce Trask is currently offline Bruce TraskFriend
Messages: 58
Registered: July 2009
Member
Hi Maximilian,

Thanks for your response. I will have a look.

Regards,
Bruce
Previous Topic:[teneo] How to specify formula with oracle || concat
Next Topic:EMFStore Branching support
Goto Forum:
  


Current Time: Fri Apr 19 18:24:12 GMT 2024

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

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

Back to the top