[jboss-user] [JBoss Seam] - problem with 1.2.1 / tomcat upgrade

jcruise do-not-reply at jboss.com
Wed May 16 03:24:40 EDT 2007


Hola!

I upgraded my 1.2.0PATCH1 tomcat installation with 1.2.1 GA. I basically upgraded the seam libs and any other libs  that were newer in the lib directory, including the jsf-facelets and el implementations. 

I initially had a problem with the switch from cglib to javassist in that one of my classes derived from HibernateEntityHome had overrided the getPersistentContext method in the generic base clase, which gave me a duplicate method error. I switched to overriding the non-generic getSession method and that problem disappeared. 

Now I am stuck with another tricky problem that might be related to Javassist ... 

Basically, I have a selectOneMenu on my login page which includes a custom converter. The converter gets called correctly but the model does not seem to update. It fails with the following error:


  | 08:12:30,895 ERROR [[/XStreamline]] Cannot convert Streamline of type class com.volantice.site.model.Zone to class com.volantice.site.model.Zone_$$_javassist_1
  | java.lang.IllegalArgumentException: Cannot convert Streamline of type class com.volantice.site.model.Zone to class com.volantice.site.model.Zone_$$_javassist_1
  | 	at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:368)
  | 	at com.sun.el.parser.AstIdentifier.setValue(AstIdentifier.java:109)
  | 	at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:258)
  | 	at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:93)
  | 	at com.sun.facelets.el.LegacyValueBinding.setValue(LegacyValueBinding.java:68)
  | 	at javax.faces.component.UIInput.updateModel(UIInput.java:269)
  | 	at javax.faces.component.UIInput.processUpdates(UIInput.java:206)
  | 	at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:645)
  | 	at javax.faces.component.UIForm.processUpdates(UIForm.java:87)
  | 	at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:645)
  | 	at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:157)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot.access$101(AjaxViewRoot.java:53)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot$2.invokeRoot(AjaxViewRoot.java:278)
  | 	at org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:54)
  | 	at org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxContext.java:176)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot.processUpdates(AjaxViewRoot.java:291)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.updateModelValues(LifecycleImpl.java:302)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:81)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
  | 	at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:53)
  | 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | 	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
  | 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  | 	at java.lang.Thread.run(Unknown Source)
  | 

Any ideas?

Cheers
J

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

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



More information about the jboss-user mailing list