users@jersey.java.net

Re: [Jersey] Re: NPE thrown by ContainerRequest

From: NBW <emailnbw_at_gmail.com>
Date: Tue, 5 Oct 2010 16:02:56 -0400

Hi Paul,

I only see the NPE when the a ReST request comes in. The logs during my
app's WAR deployment are clean. This was with 3.1 nightly (10-5-10).

-Noah

On Tue, Oct 5, 2010 at 11:50 AM, Paul Sandoz <Paul.Sandoz_at_oracle.com> wrote:

> Hi,
>
> There is a known issue with the current version of Weld (the CDI
> implementation) that we attempted to work around with a hack but alas causes
> an NPE in some cases. We need to wait for a new version of Weld to be
> integrated to see if this issue is resolved.
>
> Given the stack trace in your previous email i do not know if they are
> related but the only way i can explain the former is if somehow an exception
> on servlet initialization (like the NPE below) does not result in deployment
> failure, so the servlet is in an indeterminate state and is able to receive
> requests.
>
> Can you re-verify if such NPE occurs at deployment that the servlet is
> still active?
>
> Paul.
>
>