<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Book Antiqua","serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Book Antiqua","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;;color:#1F497D">Also PFA the exception details for reference<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;;color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;;color:#1F497D">Nivedita<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Nivedita Prabhakar Dixit
<br>
<b>Sent:</b> Tuesday, January 29, 2013 12:42 PM<br>
<b>To:</b> 'cdi-dev@lists.jboss.org'<br>
<b>Subject:</b> NullPointer Exception using @Inject <o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;">Hi All,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;">I am getting Null pointer exception when I use @Inject annotation to inject a service class defined in jar into my &nbsp;façade defined war .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;">I am using glassfish-4.0-b72 , primefaces 3.4 and JSF 2.2 defined in&nbsp; glassfish. Mojarra loads without any issues and so does primefaces.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;">When I use @Inject the injected bean does not get instantiated . Please let me know if I am missing something<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;">I have beans.xml included in my .war and .jar as well.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Book Antiqua&quot;,&quot;serif&quot;">Nivedita<o:p></o:p></span></p>
</div>
</body>
</html>

<table><tr><td bgcolor=#ffffff><font color=#000000><pre>**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***</pre></font></td></tr></table>