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

    EntityManager is Null inside Constructor

    Saeed Iqbal Novice

      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?