users@glassfish.java.net

Re: CDI inside OSGI (glassfish v3.1)

From: Sivakumar Thyagarajan <Sivakumar.Thyagarajan_at_Sun.COM>
Date: Tue, 27 Jul 2010 16:44:38 +0530

On Monday 26 July 2010 09:24 PM, CasMeiron wrote:
> Hi Roger,
>
> I've attached the test.
>
> If you run it on glassfish v3.1 you gonna get NullPointerException at
> line 25:
>
> Pojo pojo = pojoInstance.get();

The archive is missing a beans.xml. Does adding a beans.xml help?

Thanks
--Siva.
>
>
> Thanks in advance.
>
> -------------------------------
> Paulo Reis
>
>
> On Mon, Jul 26, 2010 at 12:16 PM, Roger Kitain <roger.kitain_at_oracle.com
> <mailto:roger.kitain_at_oracle.com>> wrote:
>
> the