users@glassfish.java.net

Re: how to use the ManagedBean ?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 23 Oct 2009 21:00:04 +0200

On Oct 23, 2009, at 8:38 PM, Felipe Gaścho wrote:

> I copied the project of Paul and it worked.. even inside an EAR..
>
> but somehow my other project never works..
>
> it throws:
> com.sun.enterprise.container.common.spi.util.InjectionException:
> Error creating managed object for class
> com.kenai.puj.arena.http.PujCompetitionResource
> a NullPointerException..
>
> how exactly I should declare and use the new ManagedBean ?

I recommend you log an issue on GF and attach a simple test case.

Paul.