users@glassfish.java.net

Re: Deploying a web spplication breaks glassfish server?

From: Jason Lee <jason.d.lee_at_oracle.com>
Date: Tue, 05 Jul 2011 09:20:45 -0500

Can you paste the full stack trace and let us know what version of the
server? That would help a lot.

Thanks.

On 7/5/11 8: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
>
>