org.eclipse.ocl.uml.impl.BagTypeImpl not contained in the resource [message #624615] |
Mon, 03 September 2007 07:04 |
Krzysztof Kaczmarski Messages: 88 Registered: July 2009 |
Member |
|
|
Hi All,
(Forgive me sending a copy to OCL news since I don't know who could
help here.)
I continue to discover problems with OCL types and their integration
with UML models. Perhaps someone could help me with this:
when I change "UML getting started" example to use OCL collection type
I cannot serialize the model correctly to a file. I receive IOException:
The object 'org.eclipse.ocl.uml.impl.BagTypeImpl@88e2dd (name:
<unset>, visibility: <unset>) (isLeaf: false, visibility: public,
isAbstract: false) (startPosition: -1, endPosition: -1,
typeStartPosition: -1, typeEndPosition: -1)' is not contained in a
resource.
An example use in the code looks like this:
sequence.createVariable( "TEST_VAR",
org.eclipse.ocl.uml.UMLFactory.eINSTANCE.createBagType());
What could be the possible problem here?
ocl, ocl.ecore and ocl.uml are included in the classpath.
Maybe this is somehow connected to the previous problem I asked about
concerning reading OCL primitive tyeps from oclstdlib.uml.
Regards,
Krzysztof Kaczmarski
|
|
|
Powered by
FUDForum. Page generated in 0.04308 seconds