Citation:
10:45:21,789 DEBUG [Identity] Login successful for: etutest
10:45:21,790 DEBUG [ResourceLoader] resource bundle missing: login
10:45:21,796 DEBUG [Component] trying to inject with hierarchical context search: identity
10:45:21,796 DEBUG [Component] trying to inject with hierarchical context search: credentials
10:45:21,797 DEBUG [Component] trying to inject with hierarchical context search: entityManager
10:45:21,797 DEBUG [Navigator] redirecting to: /accueilEtudiant.xhtml
10:45:21,798 DEBUG [FacesManager] redirecting to: /stamas/accueilEtudiant.seam?cid=2
10:45:21,798 DEBUG [SeamPhaseListener] committing transaction after phase: INVOKE_APPLICATION 5
10:45:21,799 DEBUG [EntityTransaction] committing JPA resource-local transaction
10:45:21,812 WARN [SeamPhaseListener] uncaught exception, passing to exception handler
java.lang.IllegalStateException: Could not commit transaction
...
Caused by: javax.persistence.RollbackException: Error while commiting the transaction
...
Caused by: org.hibernate.validator.InvalidStateException: validation failed for: org.domain.stamas.entity.ThEtudiantEtu
...
10:45:21,815 DEBUG [Exceptions] reading exception mappings from /WEB-INF/pages.xml
10:45:21,821 ERROR [SeamPhaseListener] swallowing exception
java.lang.IllegalStateException: Could not commit transaction
...
Caused by: javax.persistence.RollbackException: Error while commiting the transaction
...
Caused by: org.hibernate.validator.InvalidStateException: validation failed for: org.domain.stamas.entity.ThEtudiantEtu
...
Juste après ce qui précède, ça passe à la page accueilEtudiant et ça plante l'appli :
Citation:
10:45:21,827 DEBUG [FacesLifecycle] >>> Begin JSF request for /stamas/accueilEtudiant.seam
10:45:21,828 DEBUG [Manager] Restoring conversation with id: 2
10:45:21,829 DEBUG [SeamPhaseListener] beginning transaction prior to phase: RENDER_RESPONSE 6
10:45:21,829 DEBUG [EntityTransaction] beginning JPA resource-local transaction
10:45:21,829 DEBUG [ManagedPersistenceContext] created seam managed persistence context from EntityManagerFactory
10:45:21,925 DEBUG [Component] trying to inject with hierarchical context search: statusMessages
10:45:21,926 DEBUG [Component] trying to inject with hierarchical context search: Nom
10:45:21,927 DEBUG [SeamPhaseListener] committing transaction after phase: RENDER_RESPONSE 6
10:45:21,927 DEBUG [EntityTransaction] committing JPA resource-local transaction
10:45:21,929 DEBUG [Manager] Discarding conversation state: 2
10:45:21,929 DEBUG [FacesLifecycle] After render response, destroying contexts
10:45:21,929 DEBUG [Contexts] destroying business process context
10:45:21,930 DEBUG [Contexts] destroying conversation context
10:45:21,930 DEBUG [Contexts] destroying: org.jboss.seam.persistence.persistenceContexts
10:45:21,930 DEBUG [Contexts] destroying: org.jboss.seam.core.conversation
10:45:21,930 DEBUG [Contexts] destroying: org.jboss.seam.international.statusMessages
10:45:21,930 DEBUG [Contexts] destroying: entityManager
10:45:21,930 DEBUG [ManagedPersistenceContext] destroying seam managed persistence context for persistence unit: java:/entityManager
10:45:21,930 DEBUG [Contexts] flushing server-side conversation context
10:45:21,930 DEBUG [Contexts] flushing session context
10:45:21,931 DEBUG [Contexts] destroying event context
10:45:21,931 DEBUG [Contexts] destroying: com.sun.faces.util.RequestStateManager
10:45:21,931 DEBUG [Contexts] destroying: org.jboss.seam.core.manager
10:45:21,931 DEBUG [Contexts] destroying: facelets.ContentType
10:45:21,931 DEBUG [Contexts] destroying: org.jboss.seam.transaction.synchronizations
10:45:21,931 DEBUG [Contexts] destroying: org.jboss.seam.web.requestContextPath
10:45:21,931 DEBUG [Contexts] destroying: com.exade.vcp.Filter.ResponseWrapper
10:45:21,931 DEBUG [Contexts] destroying: org.jboss.seam.core.conversationPropagation
10:45:21,931 DEBUG [Contexts] destroying: accueilEtudiant
10:45:21,931 DEBUG [Contexts] destroying: facelets.Encoding
10:45:21,931 DEBUG [Contexts] destroying: com.exade.vcp.Filter.done
10:45:21,931 DEBUG [Contexts] destroying: org.jboss.seam.transaction.transaction
10:45:21,932 DEBUG [Contexts] destroying: org.jboss.seam.web.servletContexts
10:45:21,932 DEBUG [Contexts] destroying: org.jboss.seam.core.events
10:45:21,932 DEBUG [Contexts] destroying: org.jboss.seam.web.requestServletPath
10:45:21,932 DEBUG [Contexts] destroying: ajaxContext
10:45:21,932 DEBUG [FacesLifecycle] <<< End JSF request for /stamas/accueilEtudiant.seam
10:45:21,932 DEBUG [ExceptionFilter] handling uncaught exception
javax.servlet.ServletException: @In attribute requires non-null value: accueilEtudiant.Nom
...
Caused by: org.jboss.seam.RequiredException: @In attribute requires non-null value: accueilEtudiant.Nom
...
10:45:21,933 DEBUG [ExceptionFilter] exception root cause
org.jboss.seam.RequiredException: @In attribute requires non-null value: accueilEtudiant.Nom
...
10:45:21,934 DEBUG [ExceptionFilter] running exception handlers
10:45:21,934 DEBUG [Lifecycle] After request, destroying contexts
10:45:21,934 DEBUG [Lifecycle] <<< End web request
10:45:21,943 DEBUG [FacesLifecycle] >>> Begin exception recovery
10:45:21,945 DEBUG [Manager] No stored conversation
10:45:21,946 DEBUG [FacesLifecycle] After render response, destroying contexts
10:45:21,946 DEBUG [Contexts] destroying conversation context
10:45:21,947 DEBUG [Contexts] destroying: org.jboss.seam.caughtException
10:45:21,947 DEBUG [Contexts] flushing server-side conversation context
10:45:21,947 DEBUG [Contexts] flushing session context
10:45:21,948 DEBUG [Contexts] destroying event context
10:45:21,948 DEBUG [Contexts] destroying: org.jboss.seam.core.conversationPropagation
10:45:21,948 DEBUG [Contexts] destroying: org.jboss.seam.transaction.transaction
10:45:21,948 DEBUG [Contexts] destroying: org.jboss.seam.core.manager
10:45:21,948 DEBUG [Contexts] destroying: org.jboss.seam.core.events
10:45:21,948 DEBUG [FacesLifecycle] <<< End JSF request for /stamas/accueilEtudiant.seam
10:45:21,948 DEBUG [ExceptionFilter] done running exception handlers
10:45:21,948 ERROR [BaseXMLFilter] Exception in the filter chain
javax.servlet.ServletException: @In attribute requires non-null value: accueilEtudiant.Nom
...
Caused by: org.jboss.seam.RequiredException: @In attribute requires non-null value: accueilEtudiant.Nom
...
Je ne sais pas si le premier paquet d'erreurs entraîne le second ou s'il y a un truc essentiel qui manque dans mon code mais j'avoue que je n'ai pas encore compris les subtilités des @Scope, @In et @Out.