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 case of toArray(), Storable* delegates are loaded from the database/populated eagerly, during Handler construction. Since a Handler keeps only a (soft)reference to the storable, it's not unusual that the Storable is dropped in the meantime, which introduces another deserialization process. I suggest to change the implementation to either of the following: 1. allow construction of Handler without loading the storable - to avoid eager loading 2. keep the Storable in memory for Handler's lifetime - to avoid multiple loads of the Storable referencable from MDR clients.
I have changed the implementation of handlers to keep a "hard" reference on the storable.