3 Replies Latest reply on Dec 7, 2011 5:59 PM by Jason Porter

    Seam Catch and JSF

    Markus Dahm Novice

      Hi,


      I'm not sure about this: Does Seam catch interact with JSF to catch all JSF exceptions, i.e ist ther something like an implicit



      <factory>
         <exception-handler-factory>de.jsfforum.training.ui.error.MyExceptionHandlerFactory</exception-handler-factory>
      </factory>
      



      It seems to me from the stack trace that JSF has its own exception handling and swallows all exceptions but the root cause...


      Cheers
         Markus



        • 1. Re: Seam Catch and JSF
          Markus Dahm Novice

          Example stack trace to get what I mean:


          14:47:36,802 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (http--127.0.0.1-8080-1) ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
          14:47:36,803 ERROR [org.jboss.as.ejb3.tx.CMTTxInterceptor] (http--127.0.0.1-8080-1) javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
          14:47:36,803 ERROR [org.jboss.as.ejb3.tx.CMTTxInterceptor] (http--127.0.0.1-8080-1) javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
          14:47:36,803 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http--127.0.0.1-8080-1) javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".: javax.faces.el.EvaluationException: javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
                  at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  at javax.faces.component.UICommand.broadcast(UICommand.java:315) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at org.richfaces.component.RowKeyContextEventWrapper.broadcast(RowKeyContextEventWrapper.java:109) [richfaces-components-ui-4.0.0.Final.jar:]
                  at org.richfaces.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:451) [richfaces-components-ui-4.0.0.Final.jar:]
          ...
                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
          Caused by: javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
                  at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:133) [jboss-as-ejb3-7.0.2.Final.jar:7.0.2.Final]
                  at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:196) [jboss-as-ejb3-7.0.2.Final.jar:7.0.2.Final]
                  at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:286) [jboss-as-ejb3-7.0.2.Final.jar:7.0.2.Final]
                  at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:182) [jboss-as-ejb3-7.0.2.Final.jar:7.0.2.Final]
                  at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287) [jboss-invocation-1.1.0.Final.jar:1.1.0.Final]
                  at org.jboss.as.ejb3.component.session.SessionInvocationContextInterceptor.processInvocation(SessionInvocationContextInterceptor.java:71) [jboss-as-ejb3-7.0.2.Final.jar:7.0.2.Final]
           -core-1.1.2.Final.jar:2011-07-26 15:02]
                  at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
                  at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  ... 31 more
          Caused by: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
                  at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1347) [hibernate-entitymanager-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1280) [hibernate-entitymanager-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1286) [hibernate-entitymanager-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:969) [hibernate-entitymanager-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.jboss.as.jpa.container.AbstractEntityManager.flush(AbstractEntityManager.java:451) [jboss-as-jpa-7.0.2.Final.jar:7.0.2.Final]
                  at com.meyle.deva.dao.common.JpaGenericDao.delete(JpaGenericDao.java:70) [devA-dao-1.0-SNAPSHOT.jar:]
          ...
          .Final]
                  at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:194) [jboss-as-ejb3-7.0.2.Final.jar:7.0.2.Final]
                  ... 108 more
          Caused by: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
                  at org.hibernate.exception.internal.SQLStateConverter.convert(SQLStateConverter.java:104) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
           CR2.jar:4.0.0.CR2]
                  at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:91) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:966) [hibernate-entitymanager-4.0.0.CR2.jar:4.0.0.CR2]
                  ... 137 more
          Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
                  at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
                  at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
                  at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
                  at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
                  at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
                  at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
                  at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:493)
                  at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source) [:1.6.0_26]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_26]
                  at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_26]
                  at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:124) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  ... 149 more
          
          14:47:36,811 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http--127.0.0.1-8080-1) #{benutzerController.deleteFromList(benutzer.id)}: javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".: javax.faces.FacesException: #{benutzerController.deleteFromList(benutzer.id)}: javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
                  at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  at javax.faces.component.UICommand.broadcast(UICommand.java:315) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at org.richfaces.component.RowKeyContextEventWrapper.broadcast(RowKeyContextEventWrapper.java:109) [richfaces-components-ui-4.0.0.Final.jar:]
                  at org.richfaces.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:451) [richfaces-components-ui-4.0.0.Final.jar:]
                  at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:115) [prettyfaces-jsf2-3.2.0.jar:]
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at 
          Caused by: javax.faces.el.EvaluationException: javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
                  at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  ... 30 more
          Caused by: javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
              
                  ... 31 more
          Caused by: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
                  at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1347) [hibernate-entitymanager-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1280) [hibernate-entitymanager-4.0.0.CR2.jar:4.0.0.CR2]
                 
                  ... 137 more
          Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
                  at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
                  at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
             
          
          14:47:36,827 ERROR [com.meyle.deva.web.exceptions.DevaExceptionHandler] (http--127.0.0.1-8080-1) Bug-Id:1323092856823: Error occured handled by throwableHandler: org.postgresql.util.PSQLException: ERROR: update or delete on table "deva_benutzer" violates foreign key constraint "fk21484eb7d52de102" on table "deva_firma_ansprechpartner"
            Detail: Key (id)=(8) is still referenced from table "deva_firma_ansprechpartner".
                  at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
                  at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
                  at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
                  at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
                  at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
                  at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
                  at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:493)
                  at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source) [:1.6.0_26]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_26]
                  at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_26]
                  at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:124) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:80) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at $Proxy204.executeUpdate(Unknown Source)      at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3113) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3313) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:91) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:273) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:265) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:191) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:336) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1084) [hibernate-core-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:966) [hibernate-entitymanager-4.0.0.CR2.jar:4.0.0.CR2]
                  at org.jboss.as.jpa.container.AbstractEntityManager.flush(AbstractEntityManager.java:451) [jboss-as-jpa-7.0.2.Final.jar:7.0.2.Final]
                  at com.meyle.deva.dao.common.JpaGenericDao.delete(JpaGenericDao.java:70) [devA-dao-1.0-SNAPSHOT.jar:]
                 
                  at com.meyle.deva.security.BenutzerService$LookupEntityService$-278340577$Proxy$_$$_Weld$Proxy$.deleteBenutzer(BenutzerService$LookupEntityService$-278340577$Proxy$_$$_Weld$Proxy$.java) [weld-core-1.1.2.Final.jar:]
                  at com.meyle.deva.web.controller.administration.BenutzerController.deleteFromList(BenutzerController.java:94) [devA-webcontroller-1.0-SNAPSHOT.jar:]
                  at com.meyle.deva.web.controller.administration.BenutzerController$Proxy$_$$_WeldClientProxy.deleteFromList(BenutzerController$Proxy$_$$_WeldClientProxy.java) [devA-webcontroller-1.0-SNAPSHOT.jar:]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_26]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_26]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_26]
                  at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_26]
                  at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:735) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]
                  at javax.el.BeanELResolver.invoke(BeanELResolver.java:467) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]
                  at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:246) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]
                  at org.apache.el.parser.AstValue.invoke(AstValue.java:192) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
                  at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
                  at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  at javax.faces.component.UICommand.broadcast(UICommand.java:315) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at org.richfaces.component.RowKeyContextEventWrapper.broadcast(RowKeyContextEventWrapper.java:109) [richfaces-components-ui-4.0.0.Final.jar:]
                  at org.richfaces.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:451) [richfaces-components-ui-4.0.0.Final.jar:]
                  at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.0.6.jar:2.0.6-FCS]
                  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:115) [prettyfaces-jsf2-3.2.0.jar:]
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
                  at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
                  at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49) [jboss-as-jpa-7.0.2.Final.jar:7.0.2.Final]
                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
                  at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
          
          


          Cheers
             Markus

          • 2. Re: Seam Catch and JSF
            zeeman Novice

            Seam Catch is now in Solder. Look at Solder documentation for exception handling, it has good examples. http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/part5.html

            • 3. Re: Seam Catch and JSF
              Jason Porter Master

              Seam Faces has integration with Solder Exception Handling (aka Seam Catch). I actually just finished a little of the docs in the Seam Faces docs, you can check them out in HEAD.