Skip to main content



      Home
Home » Modeling » EMF » [CDO] "Not a top level package" exception
[CDO] "Not a top level package" exception [message #423516] Wed, 01 October 2008 12:55 Go to next message
Eclipse UserFriend
When I use the DemandPopulating package registry, it has a problem with
the fact that I have a model which is in a subpackage of another model.
CDOPackageRegistry.putEPackage() throws an illegal argument exception. Why
is this not supported?
Re: [CDO] "Not a top level package" exception [message #423522 is a reply to message #423516] Wed, 01 October 2008 14:44 Go to previous messageGo to next message
Eclipse UserFriend
Tom Crockett schrieb:
> When I use the DemandPopulating package registry, it has a problem
> with the fact that I have a model which is in a subpackage of another
> model. CDOPackageRegistry.putEPackage() throws an illegal argument
> exception. Why is this not supported?
It's mainly not supported because the serialization of a subpackage is
bound to (i.e. contained in) the serialization of the containing package.

Cheers
/Eike
Re: [CDO] "Not a top level package" exception [message #423529 is a reply to message #423522] Wed, 01 October 2008 15:29 Go to previous messageGo to next message
Eclipse UserFriend
Eike Stepper wrote:

> Tom Crockett schrieb:
>> When I use the DemandPopulating package registry, it has a problem
>> with the fact that I have a model which is in a subpackage of another
>> model. CDOPackageRegistry.putEPackage() throws an illegal argument
>> exception. Why is this not supported?
> It's mainly not supported because the serialization of a subpackage is
> bound to (i.e. contained in) the serialization of the containing package.

In that case I think there may be a bug with the lazy loading package
registry, because it's attempting to register these subpackages and then
this exception gets thrown.
Re: [CDO] "Not a top level package" exception [message #423535 is a reply to message #423529] Wed, 01 October 2008 16:43 Go to previous messageGo to next message
Eclipse UserFriend
Are you using cdo 1.0.0 ? (Like you said for NOOP problem)
Simon

"Tom Crockett" <Thomas.M.Crockett@jpl.nasa.gov> a
Re: [CDO] "Not a top level package" exception [message #423537 is a reply to message #423535] Wed, 01 October 2008 16:53 Go to previous message
Eclipse UserFriend
Simon McDuff wrote:

> Are you using cdo 1.0.0 ? (Like you said for NOOP problem)
> Simon

Yes.
Previous Topic:[CDO] NOOP store problems
Next Topic:[CDO] legacy model support
Goto Forum:
  


Current Time: Mon Jul 07 10:29:10 EDT 2025

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

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

Back to the top