Solved
how to use EventHandler

I need those not null;
what should i do?
thanks.

I need those not null;
what should i do?
thanks.
Hi,
You are mixing osgi and Felix annotation.
Please use only osgi annotaions
remove org.apache.felix.scr.annotations.Reference and use import org.osgi.service.component.annotations.Reference;
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.