users@glassfish.java.net

Re: NullPointerException from inside proxy: logging of proxy operations?

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Fri, 30 Aug 2013 12:14:13 -0400

On Fri, Aug 30, 2013 at 11:23 AM, Laird Nelson <ljnelson_at_gmail.com> wrote:

> this.fooProcessor.someMethod();
>
> A NullPointerException is raised from that line. The stack originates
> from that line. No GlassFish internals show up in the stack. The EJB that
> implements this interface (a @Local bean) is never entered. All I can
> conclude is that the proxy code somewhere is throwing a
> NullPointerException and the stack is being lost. I cannot reproduce this
> in a unit test.
>

Should mention as well that other methods in fooProcessor() execute fine,
indicating that there is no problem with FooProcessorBean (the implementing
class) construction or location.

Best,
Laird

-- 
http://about.me/lairdnelson