Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » java.lang.IllegalStateException: Cannot modify,resource set without a write transaction
java.lang.IllegalStateException: Cannot modify,resource set without a write transaction [message #236209] Wed, 15 July 2009 12:00 Go to next message
Bill HingeFriend
Messages: 156
Registered: July 2009
Senior Member
Hi

I'm using a joint EMF-GMF editor as described in the GMF book.
One of its features is linking my DSL to a .uml model so that UML
classes may be loaded and associated with my DSL artefacts .

I see this error occasionally on OS X. I notice that it is similar to
an old GMF Windows bug which claims to be fixed. I get similar symptoms
to this bug

https://bugs.eclipse.org/bugs/show_bug.cgi?id=189587 (Fixed)

My diag file will not open on Eclipse restart, however my EMF editor
still works, the workaround seems to be delete the last edit before the
error message is seen and saving. Then I can open the GMF diag.

Is it possibly the same bug?

regards
Steve
Re: java.lang.IllegalStateException: Cannot modify,resource set withouta write transaction [message #236498 is a reply to message #236209] Mon, 20 July 2009 12:20 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Bill,

> I see this error occasionally on OS X. I notice that it is similar to
> an old GMF Windows bug which claims to be fixed. I get similar
> symptoms to this bug
Can you please post full stack trace from this exception here (one you can
see not one from the bugzilla ;-))?

-----------------
Alex Shatalin
Re: java.lang.IllegalStateException: Cannot modify,resource set withouta write transaction [message #237277 is a reply to message #236498] Thu, 23 July 2009 09:15 Go to previous messageGo to next message
Bill HingeFriend
Messages: 156
Registered: July 2009
Senior Member
Alex Shatalin wrote:
> Hello Bill,
>
>> I see this error occasionally on OS X. I notice that it is similar to
>> an old GMF Windows bug which claims to be fixed. I get similar
>> symptoms to this bug
> Can you please post full stack trace from this exception here (one you
> can see not one from the bugzilla ;-))?
> -----------------
> Alex Shatalin
>
>
Hi Alex

I was following the process for combining EMF-GMF editors and I
made an error in not calling the newly created multi tabbed editor
so I had a diag editor and emf editor editing the same file. I was
then loading an unclean uml model and associating classes from it
to my entities. (reason the uml is unclean is that it's a fragment
of a large model that was auto-migrated from uml 1.4)

I have since spotted the mistake and am using the tabbed editor and
so far I haven't seen this error again. I'll let you know if it comes
back

I have an older instance of the plugin pre-fix that will generate this
error that I could send a stack trace from if you like?

thanks
Steve
Re: java.lang.IllegalStateException: Cannot modify,resource set withoutawrite transaction [message #237374 is a reply to message #237277] Fri, 24 July 2009 07:32 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Bill,

> I have an older instance of the plugin pre-fix that will generate this
> error that I could send a stack trace from if you like?
I suppose this error was caused by the reasons listed above.. Let's wait
till it shows up in new code base.

-----------------
Alex Shatalin
Previous Topic:Cannot delete GMF diagram element
Next Topic:Problems with opposite references.
Goto Forum:
  


Current Time: Wed Apr 24 17:42:02 GMT 2024

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

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

Back to the top