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.
Summary: | StorageException when instantiating a package with attributeIndexes | ||
---|---|---|---|
Product: | java | Reporter: | Svata Dedic <sdedic> |
Component: | Unsupported | Assignee: | Martin Matula <mmatula> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Patch for MDR (trunk) |
Description
Svata Dedic
2002-02-11 08:34:51 UTC
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. |