users@glassfish.java.net

Java EE 5 "HelloWorld" example broken?

From: Joerg Delker <joerg_at_delker.de>
Date: Sun, 20 Nov 2005 23:22:51 +0100

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