This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Injecting osgi service reference Null Pointer

Jun 22nd, 2011, 10:48 AM

Hello,

I'm trying to use the Spring-DM service-reference to inject a service exportet by a backend bundle into a frontend bundle, but I keep getting a Null pointer, as if the service didn't exist. I checked and the backend bundle with the service is up an running with the correct interface.

Here is a look at the ServiceConnector of the frontend bundle and it's configuration: