users@jersey.java.net

[Jersey] Re: Null Pointer Exception in CDIComponentProviderFactory

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Wed, 01 Jun 2011 16:05:58 +0200

Hi Eric,

Could you please provide full stack trace?

A complete reproducible test case, ideally in maven
would be even more helpful.

Thanks,

~Jakub

On 05/31/2011 05:31 PM, Eric Reagan wrote:
> Hello,
> I am having an issue with packaging my war file inside of my ear.
> Right now I have an EJB war service which I need to package inside of
> my ear. I build the ear and I am getting a NullPointerException
> CDIComponentProviderFactory.<init>(CDIComponentProviderFactory.java:94).
> I have put inside of my Glassfish 3.1 instance the
> lookupExtensionInBeanManager to true. I don't get any problems when my
> war is separate loading the remote interface but we want to bundle our
> war and use the Local Implementation. Has anyone seen this error
> before? Is there something I am doing wrong?
>
> Thank you,
>
> --
> Eric Reagan