5 Replies Latest reply on Apr 25, 2006 9:02 AM by Bret Patterson

    NullPointerException in Class.forName help

    Bret Patterson Newbie

      I've been basically trying to rewrite the seam example registration code for practice and have a nearly 100% identical version but the example version works but not my code. I can't seem to figure this one out, it can't seem to find the registerNewUser method of my Action Session bean. Below is the exception stack:
      2006-04-16 13:16:48,828 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myl].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      javax.faces.FacesException: Error calling action method of component with id _id0:_id20
      at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
      at javax.faces.component.UICommand.broadcast(UICommand.java:106)
      at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
      at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
      at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      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.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{register.registerNewUser}
      at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
      at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
      ... 25 more
      Caused by: javax.ejb.EJBException: java.lang.NullPointerException
      at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
      at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
      at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
      at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
      at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
      at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
      at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
      at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
      at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
      at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
      at $Proxy189.registerNewUser(Unknown Source)
      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:585)
      at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
      ... 26 more
      Caused by: java.lang.NullPointerException
      at org.jboss.seam.Component.forName(Component.java:1011)
      at org.jboss.seam.ejb.SeamInterceptor.getSeamComponent(SeamInterceptor.java:61)
      at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:34)
      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:585)
      at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:120)
      at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:62)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
      at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
      at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
      at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      ... 46 more


      JSp line that executions the action is:

      mandButton value="Create" type="submit" action="#{register.registerNewUser}"/>
      


      Below is my version of the example session register classes:
      package com.myl.session;
      
      import javax.ejb.Local;
      
      @Local
      public interface RegisterUser {
       public String registerNewUser();
      }
      
      
      And:
      package com.myl.session;
      
      import java.util.ArrayList;
      import java.util.List;
      
      import javax.ejb.Interceptors;
      import javax.ejb.Stateless;
      import javax.faces.application.FacesMessage;
      import javax.faces.context.FacesContext;
      import javax.persistence.EntityManager;
      import javax.persistence.PersistenceContext;
      
      import org.hibernate.validator.Valid;
      import org.jboss.seam.annotations.IfInvalid;
      import org.jboss.seam.annotations.In;
      import org.jboss.seam.annotations.Name;
      import org.jboss.seam.annotations.Outcome;
      import org.jboss.seam.ejb.SeamInterceptor;
      
      import com.myl.Constants;
      import com.myl.TLStringConstants;
      import com.myl.entity.UserBean;
      import com.myl.entity.UserRole;
      
      @Stateless
      @Name("register")
      @Interceptors(SeamInterceptor.class)
      public class RegisterUserBean implements RegisterUser {
      
       @In ("user")
       @Valid
       private UserBean m_user;
      
       @PersistenceContext
       private EntityManager em;
      
       @In
       private FacesContext facesContext;
      
       @IfInvalid(outcome = Outcome.REDISPLAY)
       public String registerNewUser() {
       List existing = em.createQuery(
       "select emailAddress from User where emailAddress=:emailAddress")
       .setParameter("emailAddress", m_user.getEmailAddress()).getResultList();
      
       if (existing.size() == 0) {
       ArrayList<UserRole> userRoles = new ArrayList<UserRole>();
       UserRole newRole = new UserRole();
       newRole.setRoleName(Constants.DEFAULT_ROLE);
       m_user.setUserRoles(userRoles);
       em.persist(m_user);
       return "success";
       } else {
       facesContext.addMessage(null, new FacesMessage(Constants.getTranslatedString(TLStringConstants.ERROR_USER_EXISTS_TAG)+m_user.toString()));
       return null;
       }
       }
      }
      
      
      Any Ideas?


        • 1. Re: NullPointerException in Class.forName help
          Gavin King Master

          Do you have the Seam phase listener installed?

          • 2. Re: NullPointerException in Class.forName help
            Bret Patterson Newbie

            my web.xml looks like the following:

            <?xml version="1.0" encoding="UTF-8"?>
            <web-app version="2.4"
             xmlns="http://java.sun.com/xml/ns/j2ee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
             http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
            
            
             <!-- Seam -->
            
             <listener>
             <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
             </listener>
            
             <!-- Global JNDI name pattern for JBoss EJB3 (change for other servers) -->
             <context-param>
             <param-name>org.jboss.seam.core.init.jndiPattern</param-name>
             <param-value>myl/#{ejbName}/local</param-value>
             </context-param>
            
             <!-- MyFaces -->
            
             <listener>
             <listener-class>
             org.apache.myfaces.webapp.StartupServletContextListener
             </listener-class>
             </listener>
            
             <context-param>
             <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
             <param-value>client</param-value>
             </context-param>
            
             <servlet>
             <servlet-name>Faces Servlet</servlet-name>
             <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
             <load-on-startup>1</load-on-startup>
             </servlet>
            
             <!-- Faces Servlet Mapping -->
             <servlet-mapping>
             <servlet-name>Faces Servlet</servlet-name>
             <url-pattern>*.seam</url-pattern>
             </servlet-mapping>
            
            </web-app>
            


            • 3. Re: NullPointerException in Class.forName help
              Bret Patterson Newbie

              And my faces-config.xml

              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE faces-config
              PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
               "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
              <faces-config>
               <navigation-rule>
               <navigation-case>
               <from-outcome>success</from-outcome>
               <to-view-id>/registered.jsp</to-view-id>
               </navigation-case>
               </navigation-rule>
              
               <!-- A phase listener is needed by all Seam applications -->
              
               <lifecycle>
               <phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
               </lifecycle>
              
              </faces-config>
              
              


              • 4. Re: NullPointerException in Class.forName help
                Bret Patterson Newbie

                Maybe posting my entire server.log file contents from the point seam is initialized to the first reproduction of the error will help.
                I'm very much at a loss because I've been through the example code and my code line for line and there is very little relevant differences, and the only differences as far as I can tell are related to different packages and project names.

                I've even inspected the ear file generated from the example and modelled mine after it and yet still get this problem.

                006-04-19 22:37:36,875 INFO [javax.servlet.ServletContextListener] Welcome to Seam 1.0 beta 2
                2006-04-19 22:37:36,875 INFO [org.jboss.seam.init.Initialization] reading properties from: /seam.properties
                2006-04-19 22:37:36,890 DEBUG [org.jboss.seam.init.Initialization] not found: /seam-jndi.properties
                2006-04-19 22:37:36,890 INFO [org.jboss.seam.init.Initialization] initializing Seam
                2006-04-19 22:37:36,937 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
                2006-04-19 22:37:36,968 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.jndiPattern=myl/#{ejbName}/local
                2006-04-19 22:37:36,968 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
                2006-04-19 22:37:36,984 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
                2006-04-19 22:37:37,000 INFO [org.jboss.seam.Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
                2006-04-19 22:37:37,000 INFO [org.jboss.seam.Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
                2006-04-19 22:37:37,015 INFO [org.jboss.seam.Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
                2006-04-19 22:37:37,015 INFO [org.jboss.seam.Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
                2006-04-19 22:37:37,015 INFO [org.jboss.seam.Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
                2006-04-19 22:37:37,031 INFO [org.jboss.seam.Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
                2006-04-19 22:37:37,031 INFO [org.jboss.seam.Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
                2006-04-19 22:37:37,031 INFO [org.jboss.seam.Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
                2006-04-19 22:37:37,046 INFO [org.jboss.seam.Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
                2006-04-19 22:37:37,046 INFO [org.jboss.seam.Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
                2006-04-19 22:37:37,046 INFO [org.jboss.seam.Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
                2006-04-19 22:37:37,046 INFO [org.jboss.seam.Component] Component: resourceBundle, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
                2006-04-19 22:37:37,062 INFO [org.jboss.seam.Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
                2006-04-19 22:37:37,078 DEBUG [org.jboss.seam.Component] instantiating Seam component: resourceBundle
                2006-04-19 22:37:37,093 INFO [org.jboss.seam.core.ResourceBundle] resource bundle missing: messages
                2006-04-19 22:37:37,093 DEBUG [org.hibernate.validator.ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
                2006-04-19 22:37:37,109 INFO [org.jboss.seam.Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
                2006-04-19 22:37:37,109 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: resourceBundle
                2006-04-19 22:37:37,109 DEBUG [org.hibernate.validator.ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.init
                2006-04-19 22:37:37,125 INFO [org.jboss.seam.deployment.Scanner] scanning: /D:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp25707myl.ear-contents/myl.jar
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] archive: D:\jboss-4.0.4.CR2\server\default\tmp\deploy\tmp25707myl.ear-contents\myl.jar
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/MANIFEST.MF
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/persistence.xml
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: com/
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: com/myl/
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: com/myl/entity/
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: com/myl/session/
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: com/myl/entity/AddressBean.class
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: com/myl/entity/UserBean.class
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: com/myl/entity/UserRole.class
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: com/myl/session/RegisterUser.class
                2006-04-19 22:37:37,125 DEBUG [org.jboss.seam.deployment.Scanner] found: com/myl/session/RegisterUserBean.class
                2006-04-19 22:37:37,140 DEBUG [org.jboss.seam.deployment.Scanner] found: seam.properties
                2006-04-19 22:37:37,140 INFO [org.jboss.seam.Component] Component: roles, scope: SESSION, type: ENTITY_BEAN, class: com.myl.entity.UserRole
                2006-04-19 22:37:37,140 INFO [org.jboss.seam.Component] Component: user, scope: SESSION, type: ENTITY_BEAN, class: com.myl.entity.UserBean
                2006-04-19 22:37:37,140 INFO [org.jboss.seam.Component] Component: register, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: com.myl.session.RegisterUserBean, JNDI: myl/RegisterUserBean/local
                2006-04-19 22:37:37,156 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: resourceBundle
                2006-04-19 22:37:37,156 DEBUG [org.hibernate.validator.ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages
                2006-04-19 22:37:37,156 INFO [org.jboss.seam.Component] Component: address, scope: SESSION, type: ENTITY_BEAN, class: com.myl.entity.AddressBean
                2006-04-19 22:37:37,156 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: resourceBundle
                2006-04-19 22:37:37,156 DEBUG [org.jboss.seam.Component] instantiating Seam component: eventContext
                2006-04-19 22:37:37,156 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesContext
                2006-04-19 22:37:37,156 DEBUG [org.jboss.seam.Component] instantiating Seam component: sessionContext
                2006-04-19 22:37:37,156 DEBUG [org.jboss.seam.Component] instantiating Seam component: statelessContext
                2006-04-19 22:37:37,156 DEBUG [org.jboss.seam.Component] instantiating Seam component: conversationContext
                2006-04-19 22:37:37,156 DEBUG [org.jboss.seam.Component] instantiating Seam component: applicationContext
                2006-04-19 22:37:37,156 DEBUG [org.jboss.seam.Component] instantiating Seam component: businessProcessContext
                2006-04-19 22:37:37,156 INFO [org.jboss.seam.init.Initialization] done initializing Seam
                2006-04-19 22:37:37,156 INFO [org.apache.myfaces.config.FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
                2006-04-19 22:37:37,218 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config /WEB-INF/faces-config.xml
                2006-04-19 22:37:37,234 ERROR [org.apache.myfaces.util.LocaleUtils] Locale name null or empty, ignoring
                2006-04-19 22:37:37,265 INFO [org.apache.myfaces.webapp.StartupServletContextListener] ServletContext 'D:\jboss-4.0.4.CR2\server\default\.\tmp\deploy\tmp25707myl.ear-contents\myl-exp.war\' initialized.
                2006-04-19 22:37:37,265 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2 date=200603311500)/Tomcat-5.5'
                2006-04-19 22:37:37,281 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Initialized: {WebApplication: /D:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp25707myl.ear-contents/myl-exp.war/, URL: file:/D:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp25707myl.ear-contents/myl-exp.war/, classLoader: java.net.FactoryURLClassLoader@103368e:16987790} jboss.web:j2eeType=WebModule,name=//localhost/myl,J2EEApplication=none,J2EEServer=none
                2006-04-19 22:37:37,281 DEBUG [org.jboss.web.WebModule] Started jboss.web.deployment:war=myl.war,id=-506686979
                2006-04-19 22:37:37,281 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.web.deployment:war=myl.war,id=-506686979 dependent components: []
                2006-04-19 22:37:37,281 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: myl.war
                2006-04-19 22:37:37,281 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EARDeployment,url='myl.ear'
                2006-04-19 22:37:37,281 DEBUG [org.jboss.deployment.EARDeployment] Starting jboss.j2ee:service=EARDeployment,url='myl.ear'
                2006-04-19 22:37:37,281 DEBUG [org.jboss.deployment.EARDeployment] Started jboss.j2ee:service=EARDeployment,url='myl.ear'
                2006-04-19 22:37:37,281 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EARDeployment,url='myl.ear' dependent components: []
                2006-04-19 22:37:37,281 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/D:/jboss-4.0.4.CR2/server/default/deploy/myl.ear
                2006-04-19 22:37:37,281 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: myl.ear
                2006-04-19 22:37:37,281 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/D:/jboss-4.0.4.CR2/server/default/deploy/myl.ear
                2006-04-19 22:38:42,593 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
                2006-04-19 22:38:42,640 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
                2006-04-19 22:38:42,656 DEBUG [org.jboss.seam.core.Manager] No stored conversation
                2006-04-19 22:38:42,656 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init
                2006-04-19 22:38:42,656 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] After restore view, conversation context: ConversationContext(1)
                2006-04-19 22:38:42,875 DEBUG [org.jboss.web.tomcat.tc5.jasper.TagLibCache] Scanning for tlds in: file:/D:/jboss-4.0.4.CR2/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/myfaces-impl.jar
                2006-04-19 22:38:44,984 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:44,984 DEBUG [org.jboss.seam.Component] instantiating Seam component: user
                2006-04-19 22:38:44,984 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.Component] instantiating Seam component: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:45,000 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,015 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:45,015 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:45,015 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:45,031 INFO [org.apache.myfaces.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
                2006-04-19 22:38:45,031 INFO [org.apache.myfaces.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
                2006-04-19 22:38:45,031 INFO [org.apache.myfaces.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
                2006-04-19 22:38:45,031 INFO [org.apache.myfaces.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false
                2006-04-19 22:38:45,031 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] Before saving state
                2006-04-19 22:38:45,031 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 1
                2006-04-19 22:38:45,093 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying contexts
                2006-04-19 22:38:45,093 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing business process context
                2006-04-19 22:38:45,093 DEBUG [org.jboss.seam.contexts.BusinessProcessContext] no process instance to persist business process state
                2006-04-19 22:38:45,093 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context
                2006-04-19 22:38:45,093 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager
                2006-04-19 22:38:45,093 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context
                2006-04-19 22:38:45,093 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context
                2006-04-19 22:38:45,093 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request
                2006-04-19 22:38:50,171 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.core.Manager] No stored conversation
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] After restore view, conversation context: ConversationContext(2)
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: address
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: register
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.Component] instantiating Seam component: register
                2006-04-19 22:38:50,218 DEBUG [org.jboss.seam.util.NamingHelper] JNDI InitialContext properties:{}
                2006-04-19 22:38:50,375 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
                2006-04-19 22:38:50,453 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myl].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
                javax.faces.FacesException: Error calling action method of component with id _id0:_id20
                 at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
                 at javax.faces.component.UICommand.broadcast(UICommand.java:106)
                 at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
                 at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
                 at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
                 at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
                 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                 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.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
                 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                 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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                 at java.lang.Thread.run(Thread.java:595)
                Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{register.registerNewUser}
                 at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
                 at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
                 ... 25 more
                Caused by: javax.ejb.EJBException: java.lang.NullPointerException
                 at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
                 at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
                 at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
                 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
                 at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
                 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
                 at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
                 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
                 at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
                 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
                 at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
                 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
                 at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
                 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
                 at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
                 at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
                 at $Proxy125.registerNewUser(Unknown Source)
                 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:585)
                 at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
                 ... 26 more
                Caused by: java.lang.NullPointerException
                 at org.jboss.seam.Component.forName(Component.java:1011)
                 at org.jboss.seam.ejb.SeamInterceptor.getSeamComponent(SeamInterceptor.java:61)
                 at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:34)
                 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:585)
                 at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:120)
                 at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:62)
                 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
                 at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
                 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
                 at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
                 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
                 at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                 ... 46 more
                2


                • 5. Re: NullPointerException in Class.forName help
                  Bret Patterson Newbie

                  I found the problem, I was packaging another copy of the classes in my WAR file which seam didn't know about and apparently were the ones being resolved.