Is this registered in a bug tracker somewhere where I can get a mail update when it is fixed?

-Gus

Armin Waibel wrote:

Hi Andy,

Andy Malakov wrote:

Hello All,

It looks like a bug:

Class o.a.ojb.broker.metadata.MetadataManager.copyOfGlobalRepository() uses SerializationUtils.clone() to return a copy of OJB
repository. At the same time some objects in repository graph have transient fields which become un-initialized (null) after the
clone.


For example, o.a.ojb.broker.metadata.fieldaccess.AnonymousPersistentField has fkCache map that will become null in clone, and will
cause NullPointerException when get()/set() will be executed.


Method copyOfGlobalRepository() is required for per-thread handling of metadata.

you are right, it's a bug. Put this on my todo list.

regards,
Armin


Thank you,
Andy


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to