[acceleo] eContainer() always return an invalid object [message #730974] |
Thu, 29 September 2011 12:06  |
Eclipse User |
|
|
|
I know, I should not be using nightly version of acceleo. But maybe I have not understood exactly how to use .eContainer([filter]) operation.
Until now (before moving to 3.2-dev), I was using X.eContainer() to get the object containing X, possibly casting it in the process (X.eContainer(Y)). And it was working great.
But since the move to 3.2-dev, the eContainer() always returns an invalid object:
org.eclipse.emf.ecore.impl.DynamicEObjectImpl@128635 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@292cb2 (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false))
I can check in Eclipse using the debugger that my object does have the eContainer field correctly set.
If this is just me using unstable software, then I'll do my best to rollback.
If I can help debugging, I'm available!
|
|
|
|
|
|
Re: [acceleo] eContainer() always return an invalid object [message #734325 is a reply to message #730974] |
Fri, 07 October 2011 09:24   |
Eclipse User |
|
|
|
My setup maybe a bit strange as I'm developing a standalone compiler. I'm developing in eclipse using the plugin, but when executing, I'm using a bunch of jar files extracted from the 'plugins' directory. Until this 3.2.0 try , it was working nicely. Then, I was having a huge number of runtime exceptions (can't resolve URL, bad types, ...), so I decided to go back to my old 3.1.
Today, I updated again to 3.2.0.v20111007-0105, and my software is running fine (after having checked again that it was not working with the same set of 3.2 jars)
I guess there was something in the nightly version I was using that was not ok with my setup...
|
|
|
|
Powered by
FUDForum. Page generated in 0.20987 seconds