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.

Thank you,
Andy


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

Reply via email to