Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Visitor
Posts: 1
Registered: ‎04-15-2013
My Device: 9900
My Carrier: AT&T

Registry.getRegistry returning null

I'm working on a problem that occurs for a customer, but not for me - even though we are using the same type of device (a 9900, BB7 OS).

 

I have a line of code that tries to get a Registry object:

 

Registry registry = Registry.getRegistry(Application.getApplication().getClass().getName());

 I then have some code that checks whether the registry variable is null and logs the result.  For me the registry variable is not null; for the customer it is.  Is the return value of Registry.getRegistry affected by other things, such as BES policies, or anything along those lines?

 

Thanks in advance for any assistance!