7 Replies Latest reply on Feb 3, 2008 10:27 AM by ericjava

    EntityManager is Null inside Constructor

    saeediqbal1

      Please refer to http://jira.jboss.org/jira/browse/EJBTHREE-665

      We are facing the same issue.

      When we call a method inside the constructor, and that method has a entitymanager.createQuery or anything with entitymanager, it returns nullpointerexception. It never gets initialized.

      Is there any fix for this?

      Thanks,
      -si