This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In the case, when the immediate package == the outermost package, StorableObject.getOutermostPackage() returns null instead of the immediate package MofID.
Eh, I was a little confused by the debugger output. StorableFeature is, in fact, OK (I though that it retuns null from that method). But when instantiating a package, which specifies "org.netbeans.attributeIndex" tag, a StorageException is thrown. At that time, immediatePackage.getOutermostPakcageId() returns null. Please see/apply the attached patch. There's also several dumpStack()s removed from LiveMutableList impl.
Created attachment 4645 [details] Patch for MDR (trunk)
Hi Svata, you have probably attached a wrong diff. It does not fix the bug. It just removes the dumpStacks and replaces system classloader by current classloader in MDRManagerImpl class, which I don't think is a good idea to do.
fixed in the main trunk
Oops, big apologies. I've really attached wrong diff (that one which lists my local changes) :-\ I suppose you don't need it anymore since you've already fixed the issue, sorry again. To the replacement -- it is probably wrong at deploy time, but is useful at design time. I can play with the metamodel within the IDE without restart this way and without having to turn the metamodel's impl into a module.