0

Exception error running the zk6 bind examples

asked 2011-11-22 08:43:47 +0800

cyiannoulis gravatar image cyiannoulis
1191 10

Hi all,

I am receiving the following error while trying to run the zk 6 bind examples downloaded from Denis's small talk:

org.zkoss.zel.ELException: Cannot convert [org.zkoss.bind.examples.order.Order@6cffbb, org.zkoss.bind.examples.order.Order@95b8a, org.zkoss.bind.examples.order.Order@58f769, org.zkoss.bind.examples.order.Order@db14d4, org.zkoss.bind.examples.order.Order@1347d33] of type class org.zkoss.zul.ListModelList to interface org.zkoss.zul.ListModel
	at org.zkoss.zel.impl.lang.ELSupport.coerceToType(ELSupport.java:432)
	at org.zkoss.zel.impl.parser.AstValue.setValue(AstValue.java:215)
	at org.zkoss.zel.impl.ValueExpressionImpl.setValue(ValueExpressionImpl.java:256)
	at org.zkoss.xel.zel.ELXelExpression.setValue(ELXelExpression.java:50)
	at org.zkoss.bind.impl.BindEvaluatorXImpl.setValue(BindEvaluatorXImpl.java:48)
	at org.zkoss.bind.impl.LoadPropertyBindingImpl.load(LoadPropertyBindingImpl.java:61)
	at org.zkoss.bind.impl.BinderImpl.loadComponentProperties(BinderImpl.java:1448)
	at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1418)
	at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1420)
	at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1420)
	at org.zkoss.bind.BindComposer.doAfterCompose(BindComposer.java:117)
	at org.zkoss.zk.ui.impl.UiEngineImpl.doAfterCompose(UiEngineImpl.java:524)
	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:824)
	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770)
	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:687)
	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:741)
	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:709)
	at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:651)
	at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:389)
	at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:311)
	at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:220)
	at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:140)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:295)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

any idea?

thank you
/costas

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-02-07 12:20:03 +0800

nbb gravatar image nbb
24

Have the same Problem with 6.0.0RC2

link publish delete flag offensive edit

answered 2012-02-07 12:40:08 +0800

nbb gravatar image nbb
24

And I solve it with Version 6.0.0.FL.20120206

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-11-22 08:43:47 +0800

Seen: 320 times

Last updated: Feb 07 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More