[seam-dev] seam-faces 3.0.0.Final java.lang.NoClassDefFoundError: org/jboss/seam/exception/control/ExceptionToCatch

Brian Leathem bleathem at gmail.com
Thu Mar 31 13:39:02 EDT 2011


This is currently tracked with SEAMFACES-81:
https://issues.jboss.org/browse/SEAMFACES-81

I observed it when I had a custom JSF exception handler that I had 
created in my project.  Removing that custom handler (and instead using 
catch) was the workaround I had found.

This issue does need to be addressed further and is currently schedule 
for 3.0.1

Brian

On 03/31/2011 10:09 AM, Sebastian E. Ovide wrote:
> after migrating to seam-faces 3.0.0.Final and to Glassfish 3.1 I can 
> read this exception from the glassfish console:
>
> WARNING: StandardWrapperValve[FacesServlet]: PWC1406: 
> Servlet.service() for servlet FacesServlet threw exception
> java.lang.NoClassDefFoundError: 
> org/jboss/seam/exception/control/ExceptionToCatch
>         at 
> org.jboss.seam.faces.exception.CatchExceptionHandler.handle(CatchExceptionHandler.java:53)
>         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
>         at 
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)
>         at 
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
>         at 
> org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
>         at 
> org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
>         at 
> org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
>         at 
> org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
>         at 
> org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
>         at 
> org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359)
>         at 
> org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275)
>         at 
> org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
>         at 
> org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
>         at 
> org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344)
>         at 
> org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272)
>         at 
> org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at 
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
>         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
>         at 
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
>         at 
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
>         at 
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
>         at 
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
>         at 
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
>         at 
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>         at 
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>         at 
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>         at 
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>         at 
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>         at 
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>         at 
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>         at 
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>         at 
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>         at java.lang.Thread.run(Thread.java:662)
>
> any ideas ?
> -- 
> Sebastian E. Ovide
>
>
>
>
>
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20110331/5ad4ce00/attachment.html 


More information about the seam-dev mailing list