if i look at ValueExpression.getExpressionString it says
#{cc.attrs.billTemplateSection.breakdown} which is a Boolean attribute
of BillTemplateSection. but it is saying it is not equivalent to
BillTemplateSection. is it possible to get a line number?
On 15/12/2018 11:48, Thomas Andraschko wrote:
Try to debug the getExpressionString in the ValueExpression classes
So you should be able to find the causing el
Am Sa., 15. Dez. 2018, 11:07 hat Matthew Broadhead
<matthew.broadh...@nbmlaw.co.uk.invalid> geschrieben:
occasionally i get error messages that are very hard to debug because
they don't give enough detail about where the problem occurred. for
instance i have pasted below one which i am currently struggling with.
i have stepped through the myfaces code but it doesn't seem to help me
understand where the error is occurring.
javax.el.ELException: Cannot convert [false] of type [class
java.lang.Boolean] to [class
uk.me.kissy.database.entities.jpa.accounts.BillTemplateSection]
at org.apache.el.lang.ELSupport.coerceToType(ELSupport.java:576)
at org.apache.el.parser.AstValue.setValue(AstValue.java:202)
at
org.apache.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:263)
at
org.apache.webbeans.el22.WrappedValueExpression.setValue(WrappedValueExpression.java:95)
at
org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.setValue(ContextAwareTagValueExpression.java:153)
at
org.apache.myfaces.view.facelets.el.LocationValueExpression.setValue(LocationValueExpression.java:157)
at javax.faces.component.UIInput.updateModel(UIInput.java:418)
at javax.faces.component.UIInput.processUpdates(UIInput.java:336)
at
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1506)
at
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1506)
at
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1499)
at
org.apache.myfaces.view.facelets.component.UIRepeat.process(UIRepeat.java:939)
at
org.apache.myfaces.view.facelets.component.UIRepeat.processUpdates(UIRepeat.java:1245)
at
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1506)
at
javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1499)
at
org.apache.myfaces.view.facelets.component.UIRepeat.process(UIRepeat.java:939)
at
org.apache.myfaces.view.facelets.component.UIRepeat.processUpdates(UIRepeat.java:1245)
at javax.faces.component.UIForm.processUpdates(UIForm.java:264)
at
org.apache.myfaces.context.servlet.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:792)
at
org.apache.myfaces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:213)
at javax.faces.component.UIForm.visitTree(UIForm.java:314)
at
javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
at
javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1192)
at
javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
at
javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1192)
at
javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
at
javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1192)
at
javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
at
javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1192)
at
javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
at
javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1192)
at
org.apache.myfaces.context.servlet.PartialViewContextImpl.processPartialExecute(PartialViewContextImpl.java:430)
at
org.apache.myfaces.context.servlet.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:411)
at
org.primefaces.context.PrimePartialViewContext.processPartial(PrimePartialViewContext.java:57)
at
javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:85)
at
org.omnifaces.context.OmniPartialViewContext.processPartial(OmniPartialViewContext.java:144)
at
javax.faces.component.UIViewRoot$UpdateModelPhaseProcessor.process(UIViewRoot.java:1825)
at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1657)
at
javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:918)
at
org.apache.myfaces.lifecycle.UpdateModelValuesExecutor.execute(UpdateModelValuesExecutor.java:38)
at
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:196)
at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:143)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:65)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at
org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
at
org.keycloak.adapters.tomcat.AbstractAuthenticatedActionsValve.invoke(AbstractAuthenticatedActionsValve.java:67)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
at
org.keycloak.adapters.tomcat.AbstractKeycloakAuthenticatorValve.invoke(AbstractKeycloakAuthenticatorValve.java:181)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at
org.apache.tomee.catalina.OpenEJBSecurityListener$RequestCapturer.invoke(OpenEJBSecurityListener.java:97)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:800)
at
org.apache.tomcat.util.net
.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1471)
at
org.apache.tomcat.util.net
.SocketProcessorBase.run(SocketProcessorBase.java:49)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)