Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Multiple XMI Resources concurrently
Multiple XMI Resources concurrently [message #834768] Mon, 02 April 2012 07:18 Go to previous message
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 347
Registered: June 2011
Senior Member
Hi,

I have an Ecore resource and using that i am trying to make multiple XMI resources using multithreading. I am using delegates to evaluate the instance model. If i use one thread every thing works fine but when i try to use multithreading then on creating xmi resource i get null pointer exception and setting delegate also becomes unable to calculate derivation statements.
Even if i will try to create XMI resource in synchronized block, it will be the same situation.
I need xmi resource as i am using allInstance statements.

Any idea?

Cheers,
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:A strange result in OCL query
Next Topic:How define an ocl expression on type of an object
Goto Forum:
  


Current Time: Sun May 19 21:11:59 EDT 2013

Powered by FUDForum. Page generated in 0.01584 seconds