org.zkoss.zel.PropertyNotFoundException: Property 'data' not found on type org.zkoss.bind.impl.ReferenceBindingImpl

ZK-Tracker | dennis | 4 years ago
  1. 0

    Error when mixing ZK creation EL with zkbind on reference or element of collection {code} <?xml version="1.0" encoding="UTF-8"?> <?page title="Auto Generated index.zul"?> <zk> <zscript><![CDATA[ ListModelList lm0= new ListModelList(); class A { public A(String s, Long v) { s_= s; v_= v; } public String getData() { return s_; } String s_= null; Long v_= null; } // Make first entry in ListModel ListModelList list= new ListModelList(); list.add(new A("RE: Bandbox Autocomplete Problem", 0L)); list.add(new A("RE: It's not possible to navigate a listbox' ite", 1L)); list.add(new A("RE: FileUpload", 2L)); lm0.add(new Object[] {"Today", list }); // Make second entry in ListModel list= new ListModelList(); list.add(new A("RE: Opening more than one new browser window", 10L)); list.add(new A("RE: SelectedItemConverter Question", 11L)); lm0.add(new Object[] { "Yesterday", list }); // Make third entry in ListModel list= new ListModelList(); list.add(new A("RE: Times_Series Chart help", 30L)); list.add(new A("RE: SelectedItemConverter Question", 31L)); lm0.add(new Object[] { "Last week", list }); class VM { public ListModel getLm0() { return lm0; } } ]]></zscript> <window title="Hello World!!" border="normal" width="800px" apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('VM')" > <label value="You are using: ${desktop.webApp.version}"/> <listbox id="lb" model="@load(vm.lm0)" > <listhead> <listheader hflex="3"/> <listheader hflex="6"/> </listhead> <template name="model"> <listitem> <custom-attributes inner_list="${each[1]}" scope="component"/> <listcell> <label value="@load(each[0])"/> </listcell> <listcell> <listbox model= "@load(inner_list)"> <template name="model"> <listitem> <listcell label="${each.data}"> </listcell> </listitem> </template> </listbox> </listcell> </listitem> </template> </listbox> </window> </zk> {code} {code} >>org.zkoss.zel.PropertyNotFoundException: Property 'data' not found on type org.zkoss.bind.impl.ReferenceBindingImpl >> at org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:260) >> at org.zkoss.zel.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:211) >> at org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:384) >> at org.zkoss.zel.BeanELResolver.getValue(BeanELResolver.java:87) >> at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) >> at org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:72) >> at org.zkoss.zel.impl.parser.AstValue.getValue(AstValue.java:179) >> at org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) >> at org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:40) >> at org.zkoss.zk.xel.impl.SimpleEvaluator.evaluate(SimpleEvaluator.java:72) >> at org.zkoss.zk.ui.metainfo.AbstractEvalRef.evaluate(AbstractEvalRef.java:48) >> at org.zkoss.zk.xel.ExValue.getValue(ExValue.java:109) >> at org.zkoss.zk.ui.metainfo.Property.getValue(Property.java:134) >> at org.zkoss.zk.ui.metainfo.Property.assign0(Property.java:227) >> at org.zkoss.zk.ui.metainfo.Property.assign(Property.java:169) >> at org.zkoss.zk.ui.metainfo.ComponentInfo.applyProperties(ComponentInfo.java:729) >> at org.zkoss.zk.ui.impl.AbstractUiFactory.newComponent(AbstractUiFactory.java:106) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:801) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:643) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:816) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) >> at org.zkoss.zk.ui.impl.UiEngineImpl.access$800(UiEngineImpl.java:86) >> at org.zkoss.zk.ui.impl.UiEngineImpl$TemplateImpl.create(UiEngineImpl.java:2156) >> at org.zkoss.bind.impl.BindListitemRenderer.render(BindListitemRenderer.java:70) >> at org.zkoss.zul.Listbox$Renderer.render(Listbox.java:2638) >> at org.zkoss.zul.Listbox.renderItems(Listbox.java:2756) >> at org.zkoss.zul.Listbox.service(Listbox.java:3479) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:699) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1193) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:558) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:456) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:464) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565) >> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) >> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) >> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) >> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031) >> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) >> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) >> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965) >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) >> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) >> at org.eclipse.jetty.server.Server.handle(Server.java:349) >> at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452) >> at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894) >> at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948) >> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857) >> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) >> at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) >> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609) >> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45) >> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599) >> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) >> at java.lang.Thread.run(Thread.java:662) {code}

    ZK-Tracker | 4 years ago | dennis
    org.zkoss.zel.PropertyNotFoundException: Property 'data' not found on type org.zkoss.bind.impl.ReferenceBindingImpl
  2. 0

    Error when mixing ZK creation EL with zkbind on reference or element of collection {code} <?xml version="1.0" encoding="UTF-8"?> <?page title="Auto Generated index.zul"?> <zk> <zscript><![CDATA[ ListModelList lm0= new ListModelList(); class A { public A(String s, Long v) { s_= s; v_= v; } public String getData() { return s_; } String s_= null; Long v_= null; } // Make first entry in ListModel ListModelList list= new ListModelList(); list.add(new A("RE: Bandbox Autocomplete Problem", 0L)); list.add(new A("RE: It's not possible to navigate a listbox' ite", 1L)); list.add(new A("RE: FileUpload", 2L)); lm0.add(new Object[] {"Today", list }); // Make second entry in ListModel list= new ListModelList(); list.add(new A("RE: Opening more than one new browser window", 10L)); list.add(new A("RE: SelectedItemConverter Question", 11L)); lm0.add(new Object[] { "Yesterday", list }); // Make third entry in ListModel list= new ListModelList(); list.add(new A("RE: Times_Series Chart help", 30L)); list.add(new A("RE: SelectedItemConverter Question", 31L)); lm0.add(new Object[] { "Last week", list }); class VM { public ListModel getLm0() { return lm0; } } ]]></zscript> <window title="Hello World!!" border="normal" width="800px" apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('VM')" > <label value="You are using: ${desktop.webApp.version}"/> <listbox id="lb" model="@load(vm.lm0)" > <listhead> <listheader hflex="3"/> <listheader hflex="6"/> </listhead> <template name="model"> <listitem> <custom-attributes inner_list="${each[1]}" scope="component"/> <listcell> <label value="@load(each[0])"/> </listcell> <listcell> <listbox model= "@load(inner_list)"> <template name="model"> <listitem> <listcell label="${each.data}"> </listcell> </listitem> </template> </listbox> </listcell> </listitem> </template> </listbox> </window> </zk> {code} {code} >>org.zkoss.zel.PropertyNotFoundException: Property 'data' not found on type org.zkoss.bind.impl.ReferenceBindingImpl >> at org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:260) >> at org.zkoss.zel.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:211) >> at org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:384) >> at org.zkoss.zel.BeanELResolver.getValue(BeanELResolver.java:87) >> at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) >> at org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:72) >> at org.zkoss.zel.impl.parser.AstValue.getValue(AstValue.java:179) >> at org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) >> at org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:40) >> at org.zkoss.zk.xel.impl.SimpleEvaluator.evaluate(SimpleEvaluator.java:72) >> at org.zkoss.zk.ui.metainfo.AbstractEvalRef.evaluate(AbstractEvalRef.java:48) >> at org.zkoss.zk.xel.ExValue.getValue(ExValue.java:109) >> at org.zkoss.zk.ui.metainfo.Property.getValue(Property.java:134) >> at org.zkoss.zk.ui.metainfo.Property.assign0(Property.java:227) >> at org.zkoss.zk.ui.metainfo.Property.assign(Property.java:169) >> at org.zkoss.zk.ui.metainfo.ComponentInfo.applyProperties(ComponentInfo.java:729) >> at org.zkoss.zk.ui.impl.AbstractUiFactory.newComponent(AbstractUiFactory.java:106) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:801) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:643) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:816) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) >> at org.zkoss.zk.ui.impl.UiEngineImpl.access$800(UiEngineImpl.java:86) >> at org.zkoss.zk.ui.impl.UiEngineImpl$TemplateImpl.create(UiEngineImpl.java:2156) >> at org.zkoss.bind.impl.BindListitemRenderer.render(BindListitemRenderer.java:70) >> at org.zkoss.zul.Listbox$Renderer.render(Listbox.java:2638) >> at org.zkoss.zul.Listbox.renderItems(Listbox.java:2756) >> at org.zkoss.zul.Listbox.service(Listbox.java:3479) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:699) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1193) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:558) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:456) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:464) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565) >> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) >> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) >> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) >> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031) >> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) >> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) >> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965) >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) >> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) >> at org.eclipse.jetty.server.Server.handle(Server.java:349) >> at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452) >> at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894) >> at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948) >> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857) >> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) >> at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) >> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609) >> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45) >> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599) >> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) >> at java.lang.Thread.run(Thread.java:662) {code}

    ZK-Tracker | 4 years ago | dennis
    org.zkoss.zel.PropertyNotFoundException: Property 'data' not found on type org.zkoss.bind.impl.ReferenceBindingImpl
  3. 0

    in the collection binding, need a way to know the current index, there already a simple implementation, how ever it seems not work. <window apply="org.zkoss.zktest.zbind.basic.CollectionIndexComposer"> <custom-attributes composerName="vm"/> <label value="@bind(vm.message1)"/> <listbox width="500px" model="@bind(vm.items)"> <listhead> <listheader label="index"/> <listheader label="name"/> <listheader label="action" width="300px"/> </listhead> <template name="model" var="item"> <listitem> <listcell label="@bind(item.index)"/> <listcell label="@bind(item.name)"/> <listcell > <button label="Index" onClick="@bind('showIndex', item=item)"/> <button label="Delete" onClick="@bind('delete', item=item)"/> <button label="Add After" onClick="@bind('addAfter', item=item)"/> <button label="Add Before" onClick="@bind('addBefore', item=item)"/> </listcell> </listitem> </template> </listbox> <hbox> <button label="Dump" onClick="binder.getTracker().dump()" /> </hbox> </window> == I got. : Failed to invoke org.zkoss.bind.tracker.impl.BindUiLifeCycle@5170a650 org.zkoss.zel.PropertyNotFoundException: Property 'index' not found on type org.zkoss.zktest.zbind.basic.CollectionIndexComposer$Item at org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:258) at org.zkoss.zel.BeanELResolver$BeanProperties.access$1(BeanELResolver.java:255) at org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:368) at org.zkoss.zel.BeanELResolver.getValue(BeanELResolver.java:85) at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) at org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:71) at org.zkoss.bind.xel.zel.BindELResolver.getValue(BindELResolver.java:57) at org.zkoss.zel.impl.parser.AstValue.getValue(AstValue.java:179) at org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) at org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:40) at org.zkoss.bind.impl.BindEvaluatorXImpl.getValue(BindEvaluatorXImpl.java:42) at org.zkoss.bind.impl.LoadPropertyBindingImpl.load(LoadPropertyBindingImpl.java:47) at org.zkoss.bind.impl.BinderImpl.loadComponentProperties(BinderImpl.java:1448) at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1418) at org.zkoss.bind.tracker.impl.BindUiLifeCycle.afterComponentAttached(BindUiLifeCycle.java:41) == I think we should provide a indexStatus object when render, to provide information such as 'current' , 'size' and it should be notify changed if any order item in collection was changed. syntax should become. <listcell label="@bind(indexStatus.current)"/>

    ZK-Tracker | 5 years ago | dennis
    org.zkoss.zel.PropertyNotFoundException: Property 'index' not found on type org.zkoss.zktest.zbind.basic.CollectionIndexComposer$Item
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Usage of google guava colelction filters leads to unexpected binding problems. {code} public Collection<TabData> getSearchPopupResults() { //... return Collections2.filter(tabs, new Predicate<TabData>() { @Override public boolean apply(final TabData tab) { return tab.isVisibleInSearchPopup(); } }); } {code} {code} <popup id="searchEditPopup" children="@load(model.searchPopupResults) @template(not empty model.searchPopupResults ? 'children' : 'xxx')"> <template name="children" var="tab"> <label value="@load(tab.name)" visible="@load(tab.visibleInSearchPopup)" /> <!-- not important --> </template> <!-- xxx definition and so on --> </popup> {code} SEVERE: >>org.zkoss.zel.PropertyNotFoundException: Property 'name' not found on type com.google.common.collect.Collections2$FilteredCollection >> at org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:260) >> at org.zkoss.zel.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:211) >> at org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:384) >> at org.zkoss.zel.BeanELResolver.getValue(BeanELResolver.java:87) >> at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) >> at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) >> at org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:72) >> at org.zkoss.bind.xel.zel.BindELResolver.getValue(BindELResolver.java:75) >> at org.zkoss.zel.impl.parser.AstValue.getValue(AstValue.java:179) >> at org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) >> at org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:40) >> at org.zkoss.bind.impl.BindEvaluatorXImpl.getValue(BindEvaluatorXImpl.java:42) >> at org.zkoss.bind.impl.LoadPropertyBindingImpl.load(LoadPropertyBindingImpl.java:58) >> at org.zkoss.bind.impl.PropertyBindingHandler.doLoadBinding(PropertyBindingHandler.java:171) >> at org.zkoss.bind.impl.PropertyBindingHandler.doLoad(PropertyBindingHandler.java:372) >> at org.zkoss.bind.impl.BinderImpl.loadComponentProperties(BinderImpl.java:1865) >> at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1847) >> at org.zkoss.bind.tracker.impl.BindUiLifeCycle$1.onEvent(BindUiLifeCycle.java:63) >> at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2736) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2685) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2648) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) >> at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:308) >> at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:331) >> at org.zkoss.bind.impl.BindChildRenderer.render(BindChildRenderer.java:98) >> at org.zkoss.bind.impl.LoadChildrenBindingImpl.load(LoadChildrenBindingImpl.java:89) >> at org.zkoss.bind.impl.BinderImpl.loadOnPropertyChange(BinderImpl.java:382) >> at org.zkoss.bind.impl.BinderImpl.access$100(BinderImpl.java:94) >> at org.zkoss.bind.impl.BinderImpl$QueueListener.onEvent(BinderImpl.java:236) >> at org.zkoss.zk.ui.event.impl.DesktopEventQueue$QueueListener.onEvent(DesktopEventQueue.java:145) >> at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2736) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2707) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2648) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) >> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1702) >> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1487) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1204) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:558) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:456) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:464) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:167) >> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) >> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83) >> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    ZK-Tracker | 4 years ago | ulysses
    org.zkoss.zel.PropertyNotFoundException: Property 'name' not found on type com.google.common.collect.Collections2$FilteredCollection
  6. 0

    with this tag in .zhtml (ok with zk 7) <u:div apply="org.zkoss.angular.AngularComposer" binder="@init(value='org.zkoss.angular.AngularBinder')" viewModel="@id('vm') @init('service.HomeService')" ng:controller="MyController"> I got this with ZK 8.0.0-RC. Is it something to do with viewModel & apply attributes not working or with org.zkoss.bind.BindComposer being used by default ? SEVERE: Servlet.service() for servlet dhtmllayoutservlet threw exception org.zkoss.zel.PropertyNotFoundException: Property 'bindingAttributes' not found on type org.zkoss.bind.BindComposer at org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:429) at org.zkoss.zel.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:379) at org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:552) at org.zkoss.zel.BeanELResolver.getValue(BeanELResolver.java:100) at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:66) at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:66) at org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:84) at org.zkoss.bind.xel.zel.BindELResolver.getValue(BindELResolver.java:75) at org.zkoss.zel.impl.parser.AstValue.getTarget(AstValue.java:117) at org.zkoss.zel.impl.parser.AstValue.setValue(AstValue.java:216) at org.zkoss.zel.impl.ValueExpressionImpl.setValue(ValueExpressionImpl.java:260) at org.zkoss.xel.zel.ELXelExpression.setValue(ELXelExpression.java:51) at org.zkoss.bind.impl.BindEvaluatorXImpl.setValue(BindEvaluatorXImpl.java:58) at org.zkoss.bind.impl.LoadPropertyBindingImpl.load(LoadPropertyBindingImpl.java:88) at org.zkoss.bind.impl.PropertyBindingHandler.doLoadBinding(PropertyBindingHandler.java:133) at org.zkoss.bind.impl.PropertyBindingHandler.doLoad(PropertyBindingHandler.java:334) at org.zkoss.bind.impl.BinderImpl.loadComponentProperties0(BinderImpl.java:2307) at org.zkoss.bind.impl.BinderImpl.loadComponent0(BinderImpl.java:2276) at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:2215) at org.zkoss.bind.BindComposer$BinderKeeper$Loader.load(BindComposer.java:510) at org.zkoss.bind.BindComposer$BinderKeeper.loadComponentForAllBinders(BindComposer.java:489) at org.zkoss.bind.BindComposer.doAfterCompose(BindComposer.java:187) at org.zkoss.angular.AngularComposer.doAfterCompose(AngularComposer.java:71) at org.zkoss.zk.ui.impl.MultiComposer.doAfterCompose(MultiComposer.java:123) at org.zkoss.zk.ui.impl.UiEngineImpl.doAfterCompose(UiEngineImpl.java:588) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:924) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:870)

    ZK-Tracker | 2 years ago | DevChu
    org.zkoss.zel.PropertyNotFoundException: Property 'bindingAttributes' not found on type org.zkoss.bind.BindComposer

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.zkoss.zel.PropertyNotFoundException

      Property 'data' not found on type org.zkoss.bind.impl.ReferenceBindingImpl

      at org.zkoss.zel.BeanELResolver$BeanProperties.get()
    2. The ZK EL Library
      CompositeELResolver.getValue
      1. org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:260)
      2. org.zkoss.zel.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:211)
      3. org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:384)
      4. org.zkoss.zel.BeanELResolver.getValue(BeanELResolver.java:87)
      5. org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67)
      5 frames
    3. The ZKoss Common Library
      XelELResolver.getValue
      1. org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:72)
      1 frame
    4. The ZK EL Library
      ValueExpressionImpl.getValue
      1. org.zkoss.zel.impl.parser.AstValue.getValue(AstValue.java:179)
      2. org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189)
      2 frames
    5. The ZKoss Common Library
      ELXelExpression.evaluate
      1. org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:40)
      1 frame
    6. ZK Kernel
      UiEngineImpl$TemplateImpl.create
      1. org.zkoss.zk.xel.impl.SimpleEvaluator.evaluate(SimpleEvaluator.java:72)
      2. org.zkoss.zk.ui.metainfo.AbstractEvalRef.evaluate(AbstractEvalRef.java:48)
      3. org.zkoss.zk.xel.ExValue.getValue(ExValue.java:109)
      4. org.zkoss.zk.ui.metainfo.Property.getValue(Property.java:134)
      5. org.zkoss.zk.ui.metainfo.Property.assign0(Property.java:227)
      6. org.zkoss.zk.ui.metainfo.Property.assign(Property.java:169)
      7. org.zkoss.zk.ui.metainfo.ComponentInfo.applyProperties(ComponentInfo.java:729)
      8. org.zkoss.zk.ui.impl.AbstractUiFactory.newComponent(AbstractUiFactory.java:106)
      9. org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:801)
      10. org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770)
      11. org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679)
      12. org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:643)
      13. org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:816)
      14. org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770)
      15. org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679)
      16. org.zkoss.zk.ui.impl.UiEngineImpl.access$800(UiEngineImpl.java:86)
      17. org.zkoss.zk.ui.impl.UiEngineImpl$TemplateImpl.create(UiEngineImpl.java:2156)
      17 frames
    7. ZK Bind
      BindListitemRenderer.render
      1. org.zkoss.bind.impl.BindListitemRenderer.render(BindListitemRenderer.java:70)
      1 frame
    8. ZK XUL Components
      Listbox.service
      1. org.zkoss.zul.Listbox$Renderer.render(Listbox.java:2638)
      2. org.zkoss.zul.Listbox.renderItems(Listbox.java:2756)
      3. org.zkoss.zul.Listbox.service(Listbox.java:3479)
      3 frames
    9. ZK Kernel
      DHtmlUpdateServlet.doPost
      1. org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:699)
      2. org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1193)
      3. org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:558)
      4. org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:456)
      5. org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:464)
      5 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    11. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
      12. org.eclipse.jetty.server.Server.handle(Server.java:349)
      13. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452)
      14. org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894)
      15. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948)
      16. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857)
      17. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      18. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
      18 frames
    12. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
      2 frames
    13. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
      2 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame