JCERTIFLab / jcertif-webapp-2012

Web Application : http://www.jcertif.com
1 stars 0 forks source link

[MODEL] Implements Serializable pour les objets métiers #10

Closed roddet closed 12 years ago

roddet commented 12 years ago

Test de la correction de l'erreur reproduit que sur CloudBees : Caused by: java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute connectedUser at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1351) at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1312) at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:130) at org.apache.myfaces.context.servlet.SessionMap.setAttribute(SessionMap.java:56) at org.apache.myfaces.util.AbstractThreadSafeAttributeMap.put(AbstractThreadSafeAttributeMap.java:109) at org.apache.myfaces.util.AbstractThreadSafeAttributeMap.put(AbstractThreadSafeAttributeMap.java:38) at com.jcertif.web.ihm.connect.LoginBean.connect(LoginBean.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.webbeans.intercept.InterceptorHandler.invoke(InterceptorHandler.java:294) at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:98) at com.jcertif.web.ihm.connect.LoginBean_$$_javassist6.connect(LoginBean$$_javassist_6.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.el.parser.AstValue.invoke(AstValue.java:191) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at org.apache.myfaces.view.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:83) at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:83)