Affects Version/s: 1.1
Fix Version/s: 2.0
Operating System: other
There are many instance methods in the Registry class that still refer to the
static singleton registry instance (registerComponent, findManagedBean, etc).
This will end up causing a Null Pointer exception in applications that never
instantiate the singleton instance (through getRegistry). In containers that
mix singleton and non-signleton instances, the behavior would be unexpected.
I'm using the latest release, but from the looks of the HEAD in CVS this problem
still exists (line 816 for example).
It should be a pretty straight forward fix - search for the static registry
references, and if it's an instance method, replace 'registry' with 'this'
Since the Singleton Registry is deprecated (and for good reason , this should
be considered a high priority issue.