users@glassfish.java.net

NullPointer Exception using @Inject

From: <forums_at_java.net>
Date: Fri, 1 Feb 2013 22:16:43 -0600 (CST)

Hi All, I am getting Null pointer exception when I use @Inject annotation to
inject a service class defined in jar into my fa?ade defined war . I am using
glassfish-4.0-b72 , primefaces 3.4 and JSF 2.2 defined in glassfish. Mojarra
loads without any issues and so does primefaces. When I use @Inject the
injected bean does not get instantiated . Please let me know if I am missing
something I have beans.xml included in my .war and .jar as well. Thanks,
Nivedita

--
[Message sent by forum member 'niveditadixitp']
View Post: http://forums.java.net/node/894390