Expand my Community achievements bar.

SOLVED

Getting "null" of configuration admin service in my local environment!

Avatar

Level 3

Can any one help me Getting null of configuration admin service while trying to read osgi configuration.

 

configuration = configurationAdmin.getConfiguration("pid");

 

Getting null in logs.

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Community Advisor

Hi,

 

Can you please add more code snippet to get the context and idea on the type of service annotations used?

Avatar

Correct answer by
Community Advisor