title: using guice injection with actor throws null pointer
body: <p>I'm getting null pointer exception on the field injection of a server which is started as an akka actor.</p>
  
  <p><strong>Schedular part:</strong></p>
  
  <pre><code>private ActorRef myActor = Akka.system().actorOf(
          new Props(Retreiver.class));
  
  @Override
  public void onStart(Application app) {
      log.info("Starting schedular.....!");
      Akka.system()
              .scheduler()
              .schedule(Duration.create(0, TimeUnit.MILLISECONDS),
                      Duration.create(30, TimeUnit.MINUTES), myActor, "tick",
                      Akka.system().dispatcher());
  
  }
  </code></pre>
  
  <p><strong>Retreiver class part:</strong></p>
  
  <pre><code>public class Retreiver extends UntypedActor {
  
  private Logger.ALogger log = Logger.of(Retreiver .class);
  
  @Inject
  private myDataService dataService;
  
  @Override
  public void onReceive(Object arg0) throws Exception {
  
      if (0 != dataService.getDataCount()) {
      ....
      ....
      ....
      }
  </code></pre>
  
  <p>}</p>
  
  <p>I'm getting null for dataService. Please advice me on this.</p>
  
  <p>Thanks.</p>