I've noticed this before, the JSF API implementation should make all
attempts to validate that the Factories return actual instances. If
not, to produce an error message other than NPE. I can't be positive
that this is the reason for the exception below, but it seems very
likely to be the problem where faces-configs aren't being loaded.
-- Jacob
Joerg Delker wrote:
>Hi Folks,
>
>did anyone manage to get the suggested HelloWorld example for the new EE
>5 running?
>
>I'm using glassfish build27 together with netbeans IDE javaee5
>dailybuild 200511152300.
>
>Even when using the supplied source zip
>(http://www.netbeans.org/files/documents/4/619/HelloWorld.zip)
>I get the following error when browsing the welcomeJSF.jsp
>
>javax.servlet.ServletException: java.lang.NullPointerException
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ...
>
>Debugging with netbeans shows, that at
> hello.sayHi();
>the bean "hello" is null :-(
>
>Is there something broken, or is it me? ;)
>
>Joerg
>
>
--
Jacob Hookom - Minneapolis
--------------------------
http://hookom.blogspot.com