[jboss-user] [JBoss Seam] - Re: Architecture Problem (validation)

Eethyo do-not-reply at jboss.com
Mon Nov 5 11:20:00 EST 2007


I forgot the Exception

Exception during request processing:
  | Caused by javax.servlet.ServletException with message: "#{ccmsProductlineHome.persist}: java.lang.reflect.UndeclaredThrowableException"
  | 
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | com.ccms30.auth.filter.UserAuthentication.doFilter(UserAuthentication.java:37)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
  | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | java.lang.Thread.run(Thread.java:595)
  | 
  | Caused by javax.faces.FacesException with message: "#{ccmsProductlineHome.persist}: java.lang.reflect.UndeclaredThrowableException"
  | 
  | com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
  | javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:186)
  | org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:164)
  | org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:352)
  | com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | com.ccms30.auth.filter.UserAuthentication.doFilter(UserAuthentication.java:37)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
  | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | java.lang.Thread.run(Thread.java:595)
  | 
  | Caused by javax.faces.el.EvaluationException with message: "java.lang.reflect.UndeclaredThrowableException"
  | 
  | javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
  | com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:186)
  | org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:164)
  | org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:352)
  | com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | com.ccms30.auth.filter.UserAuthentication.doFilter(UserAuthentication.java:37)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
  | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | java.lang.Thread.run(Thread.java:595)
  | 
  | Caused by java.lang.reflect.UndeclaredThrowableException with message: ""
  | 
  | org.apache.commons.logging.impl.Log4jProxy.log(Log4jProxy.java:309)
  | org.apache.commons.logging.impl.Log4jProxy.debug(Log4jProxy.java:253)
  | org.apache.commons.logging.impl.Log4JLogger.debug(Log4JLogger.java:128)
  | org.hibernate.engine.Collections.processReachableCollection(Collections.java:176)
  | org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:37)
  | org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:101)
  | org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:61)
  | org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:55)
  | org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:138)
  | org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196)
  | org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
  | org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:35)
  | org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969)
  | org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
  | org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
  | com.ccm30.validators.MyProductlineListValidator.isValid(MyProductlineListValidator.java:48)
  | org.hibernate.validator.ClassValidator.getInvalidValues(ClassValidator.java:341)
  | org.hibernate.validator.ClassValidator.getInvalidValues(ClassValidator.java:307)
  | org.hibernate.validator.event.ValidateEventListener.validate(ValidateEventListener.java:134)
  | org.hibernate.validator.event.ValidateEventListener.onPreInsert(ValidateEventListener.java:167)
  | org.hibernate.action.EntityInsertAction.preInsert(EntityInsertAction.java:156)
  | org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:49)
  | org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
  | org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
  | org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
  | org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41)
  | org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969)
  | org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
  | org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
  | com.ccm30.validators.MyProductlineListValidator.isValid(MyProductlineListValidator.java:48)
  | org.hibernate.validator.ClassValidator.getInvalidValues(ClassValidator.java:341)
  | org.hibernate.validator.ClassValidator.getInvalidValues(ClassValidator.java:307)
  | org.hibernate.validator.event.ValidateEventListener.validate(ValidateEventListener.java:134)
  | org.hibernate.validator.event.ValidateEventListener.onPreInsert(ValidateEventListener.java:167)
  | org.hibernate.action.EntityInsertAction.preInsert(EntityInsertAction.java:156)
  | org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:49)
  | org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
  | org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
  | org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
  | org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41)
  | org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969)
  | org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
  | org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
  | com.ccm30.validators.MyProductlineListValidator.isValid(MyProductlineListValidator.java:48)
  | ...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101871#4101871

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101871



More information about the jboss-user mailing list