• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Exception thrown during phase execution

 
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having issue while logging in to my application intermittently.Sometimes when I click on the login but, it goes to a blank page.
Here is the error stack. I have also attached the Happy path at the bottom. Any suggestions will be very helpful. Thank you.


Login
10:03:52,037 INFO [NewSessionFilter] session invalidated on /csa/login.seam
10:03:52,058 INFO [LoginAction] Bypass Aspect: true
10:03:52,058 INFO [LoginAction] Logging in user kermit into application
10:03:52,373 SEVERE [lifecycle] JSF1054: (Phase ID: RESTORE_VIEW 1, View ID: ) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@6733eb]
10:03:52,374 INFO [TimingLogger] start[1285855432367] time[7] tag[HTTP.Failure] message[/csa/login.seam]
10:03:52,374 ERROR [CachedConnectionValve] Application error: Faces Servlet did not complete its transaction


Submit the URL and relogin
10:03:52,496 INFO [PostAuthenticationHandler] doPostAuthenticate() started
10:03:52,810 INFO [PostAuthenticationHandler] Added user com.billmelater.csa.security.CsaIdentity@eb7d83 to SessionContext.
10:03:52,848 INFO [WscClientBase] SOAP request from user [1][kermit] at ip [127.0.0.1] has been assigned trackingNumber [00000gepp4hw00]
10:03:52,898 INFO [TimingLogger] start[1285855432037] time[861] tag[HTTP.Success] message[/csa/login.seam]
10:07:43,947 ERROR [[/csa]] Session event listener threw exception
java.lang.NullPointerException
at org.apache.catalina.connector.Request.removeAttribute(Request.java:1373)
at org.apache.catalina.connector.RequestFacade.removeAttribute(RequestFacade.java:514)
at javax.servlet.ServletRequestWrapper.removeAttribute(ServletRequestWrapper.java:295)
at com.sun.faces.context.RequestMap.remove(ExternalContextImpl.java:1096)
at org.jboss.seam.contexts.BasicContext.remove(BasicContext.java:73)
at org.jboss.seam.Component.newInstance(Component.java:2141)
at org.jboss.seam.Component.getInstance(Component.java:2021)
at org.jboss.seam.Component.getInstance(Component.java:2000)
at org.jboss.seam.Component.getInstance(Component.java:1994)
at org.jboss.seam.Component.getInstance(Component.java:1967)
at org.jboss.seam.Component.getInstance(Component.java:1962)
at org.jboss.seam.core.Events.instance(Events.java:157)
at org.jboss.seam.core.Events.exists(Events.java:152)
at org.jboss.seam.contexts.BasicContext.remove(BasicContext.java:72)
at org.jboss.seam.Component.newInstance(Component.java:2141)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:233)
at org.jboss.seam.contexts.ServletLifecycle.beginSession(ServletLifecycle.java:155)
at org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:46)
at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)
at org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)
at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:829)
at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:291)
at org.apache.catalina.connector.Request.doGetSession(Request.java:2367)
at org.apache.catalina.connector.Request.getSession(Request.java:2094)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844)
at org.jboss.seam.web.IdentityRequestWrapper.<init>(IdentityRequestWrapper.java:23)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:613)



HAPPY LOGIN/LOGOUT
Login:

10:08:16,737 INFO [NewSessionFilter] session invalidated on /csa/login.seam
10:08:16,762 INFO [LoginAction] Bypass Aspect: true
10:08:16,762 INFO [LoginAction] Logging in user kermit into application
10:08:16,883 INFO [PostAuthenticationHandler] doPostAuthenticate() started
10:08:17,201 INFO [PostAuthenticationHandler] Added user com.billmelater.csa.security.CsaIdentity@ae3881 to SessionContext.
10:08:17,220 INFO [WscClientBase] SOAP request from user [1][kermit] at ip [127.0.0.1] has been assigned trackingNumber [00000geppa5vo0]
10:08:17,267 INFO [TimingLogger] start[1285855696737] time[530] tag[HTTP.Success] message[/csa/login.seam]
10:08:17,439 INFO [[/csa]] placeCallModalTabs: tab panel has no enabled or rendered tabs!
10:08:17,504 INFO [TimingLogger] start[1285855697334] time[170] tag[HTTP.Success] message[/csa/home.seam]

Logout
10:08:26,374 INFO [WscClientBase] SOAP request from user [1][kermit] at ip [127.0.0.1] has been assigned trackingNumber [00000geppacxy0]
10:08:26,409 INFO [WscClientBase] SOAP request from user [1][null] at ip [127.0.0.1] has been assigned trackingNumber [00000geppacyx0]
10:08:26,431 INFO [SupportSessionManager] Destroying SupportSessionManager
10:08:26,431 INFO [AspectContext] Stopping telephony background thread for agent null
10:08:26,431 WARN [AspectContext] Illegal attempt to stop stop telephony background thread when thread not active for agent null
10:08:26,432 INFO [TimingLogger] start[1285855706362] time[70] tag[HTTP.Success] message[/csa/home.seam]
10:08:26,547 INFO [TimingLogger] start[1285855706499] time[48] tag[HTTP.Success] message[/csa/login.seam]
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ERROR [CachedConnectionValve] Application error: Faces Servlet did not complete its transaction

Is because you are hitting another conversation @Begin without ending the old one. @Begin(join=true) will let you join an existing conversaion,
but that is not the default.

"If join is false (the default), invocation of the begin method in the scope
of an existing conversation will cause an exception to be thrown."

Source: "http://docs.jboss.org/seam/2.0.0.GA/api/"
 
reply
    Bookmark Topic Watch Topic
  • New Topic