If you are running GlassFish 3.1, I believe you are seeing these issues
http://java.net/jira/browse/GLASSFISH-16223
and
http://java.net/jira/browse/GLASSFISH-16112
This has been fixed in 3.1.1 (to be released soon). Can you try the
latest promoted build and see if you can still reproduce this ?
http://dlc.sun.com.edgesuite.net/glassfish/3.1.1/promoted/
thanks
Anissa
On 7/5/11 6:18 AM, forums_at_java.net wrote:
> I have an incredibly frustrating problem: Every time (almost) I deploy an
> application, the admin console dies, apparently. All I see in the log
> (server.log) is:
>
> [#|2011-07-05T15:49:41.797+0100|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=83;_ThreadName=Thread-1;|StandardWrapperValve[FacesServlet]:
>
> PWC1406: Servlet.service() for servlet FacesServlet threw exception
> java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException while
> attempting to process a 'beforeCreate' event for 'treeForm'.
> at
> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:422)
>
> at
> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
>
> at
> com.sun.jsftemplating.layout.descriptors.LayoutComponent.beforeCreate(LayoutComponent.java:348)
>
> ...
>
> Caused by: java.lang.reflect.InvocationTargetException
> ...
>
> Caused by: java.lang.NullPointerException
> ...
>
> So what is all that about? It seems I can get things up and running
> again by
> restarting the server, but that shouldn't be necessary. What can I do
> to even
> start troubleshooting this problem?
>
>
> --
>
> [Message sent by forum member 'janpla']
>
> View Post: http://forums.java.net/node/818718
>
>