myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simon <simon.kitch...@chello.at>
Subject Re: myfaces random binding issue
Date Sun, 23 Sep 2007 21:04:18 GMT
Hmm..sounds like an inter-thread race condition to me. I would guess
there is a static variable somewhere that isn't being synchronized.
However that wouldn't be very easy to track down...

On Fri, 2007-09-21 at 14:07 -0700, Jeff OTN wrote:
> Hi,
>  
> I get a random error like 1 out of every 1000 calls to a jsf buttons
> action.  The jsf button code:
>  
> <h:commandButton id="certify_button" tabindex="3" disabled="true"
> action="#{plateForm.delegate.certify}"
> value="#{messages['verify_button_certify']}" styleClass="defaultButton
> certifyRejectButton" />
> 
> I have logged numerous debug statements trying to trace the following
> error, yet I can not explain why it happens so randomly.  Our user
> report that when it first happens other users will get the error and
> then it will stop occuring for hours:
> 
> 11:17:07,094 ERROR [[Faces Servlet]] Servlet.service() for servlet
> Faces Servlet threw exception
> javax.faces.el.EvaluationException: Expression:
> #{plateForm.delegate.certify}
>  at org.apache.myfaces.el.MethodBindingImpl.invoke
> (MethodBindingImpl.java:164)
>  at
> org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:62)
>  at javax.faces.component.UICommand.broadcast(UICommand.java:106)
>  at javax.faces.component.UIViewRoot._broadcastForPhase
> (UIViewRoot.java:110)
>  at
> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:184)
>  at
> org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271)
>  at org.apache.myfaces.lifecycle.LifecycleImpl.execute
> (LifecycleImpl.java:102)
>  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>  at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
>  at
> com.transcore.lattice.measure.profiler.ProfilingFilter.doFilter(ProfilingFilter.java:60)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
:202)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>  at
> com.transcore.lattice.measure.logger.LoggingFilter.doFilter(LoggingFilter.java:57)
>  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:202)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>  at
> com.transcore.lattice.security.LoginFilter.doFilter(LoginFilter.java:97)
>  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:202)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>  at
> com.transcore.lattice.security.ExternalLoginFilter.doFilter(ExternalLoginFilter.java
:76)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
> (ReplyHeaderFilter.java:81)
>  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:39)
>  at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
>  at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) 
>  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:856)
>  at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.processConnection (Http11Protocol.java:744)
>  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: java.lang.NullPointerException
> 
>  
> 
>  
> 
> 


Mime
View raw message