tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Jaekel <fkjae...@gmail.com>
Subject Re: EL not working with multiple parameters
Date Thu, 09 Aug 2012 13:53:46 GMT
Weld 1.1.8
Seam Faces 3.1.0

public void atender(StAtendimento atendimento, int
indiceAtendimentoSelecionado)
{
 try
{
stAtendimentoService.atender(atendimento, atendente,
status, indiceAtendimentoSelecionado);

conversasBean.abrirAba(atendimento);

filasBean.atualizaFilas();

//exibirDadosCliente(atendimento);
}
catch(InicioAtendimentoException ex)
 {
addErrorMessage(ex.getMessage());
}
 }



2012/8/9 Martin Gainty <mgainty@hotmail.com>

>
> WHICH VERSION of Jboss are you implementing?
>
> where is the code for atendimentosBean?
>
> Martin
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
> > From: fkjaekel@gmail.com
> > Date: Thu, 9 Aug 2012 10:06:15 -0300
> > Subject: EL not working with multiple parameters
> > To: users@tomcat.apache.org
> >
> > When I try to call a method with two parametes in a XHTML page on Tomcat
> > 7.0.29 it doesn't works. I'll attach the stacktrace below.
> >
> > It's strange because the same code runs fine on Glassfish 3.1.
> >
> > Is this a bug in Tomcat EL?
> >
> > Thanks,
> > Phillip
> >
> > Stacktrace:
> > Advertência: #{atendimentosBean.atender(atendimento, rowKey)}:
> > java.lang.NullPointerException
> > javax.faces.FacesException: #{atendimentosBean.atender(atendimento,
> > rowKey)}: java.lang.NullPointerException
> >     at
> >
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:110)
> >     at javax.faces.component.UICommand.broadcast(UICommand.java:315)
> >     at javax.faces.component.UIData.broadcast(UIData.java:1093)
> >     at
> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
> >     at
> > javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
> >     at
> >
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
> >     at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> >     at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> >     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >     at
> >
> org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >     at
> br.com.spdata.persistence.MySqlFilter.doFilter(MySqlFilter.java:57)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >     at
> > br.com.spdata.persistence.FirebirdFilter.doFilter(FirebirdFilter.java:50)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >     at
> >
> org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >     at
> >
> org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >     at
> > br.com.spdata.tecnico.filter.LoginFilter.doFilter(LoginFilter.java:115)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >     at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> >     at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> >     at
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> >     at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> >     at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> >     at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> >     at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> >     at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> >     at
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
> >     at
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
> >     at
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> >     at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> >     at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> >     at java.lang.Thread.run(Thread.java:722)
> > Caused by: javax.faces.el.MethodNotFoundException:
> > java.lang.NullPointerException
> >     at
> >
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:104)
> >     at
> >
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
> >     ... 42 more
> > Caused by: java.lang.NullPointerException
> >     at java.lang.Class.isAssignableFrom(Native Method)
> >     at
> >
> org.apache.el.util.ReflectionUtil.isAssignableFrom(ReflectionUtil.java:319)
> >     at
> org.apache.el.util.ReflectionUtil.getMethod(ReflectionUtil.java:185)
> >     at org.apache.el.parser.AstValue.invoke(AstValue.java:257)
> >     at
> > org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
> >     at
> >
> org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39)
> >     at
> >
> org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
> >     at
> >
> com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
> >     at
> >
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
> >     ... 43 more
> >
> > Ago 09, 2012 9:59:11 AM
> > org.jboss.solder.exception.control.ExceptionHandlerDispatch
> executeHandlers
> > WARN: No handlers found for exception javax.faces.FacesException:
> > #{atendimentosBean.atender(atendimento, rowKey)}:
> > java.lang.NullPointerException
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message