org.zkoss.zel.ELException: Cannot convert [org.zkoss.jpa.examples.entity.Item@22] of type class java.util.LinkedHashSet to interface java.util.List

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ZK-Tracker by dennis, 1 year ago
Cannot convert [org.zkoss.jpa.examples.entity.Item@22] of type class java.util.LinkedHashSet to interface java.util.List
via ZK-Tracker by dennis, 1 year ago
Cannot convert [org.zkoss.jpa.examples.entity.Item@22] of type class java.util.LinkedHashSet to interface java.util.List
via GitHub by evanzeng
, 1 year ago
Cannot convert demo.getting_started.Category@7dc999c4 of type class demo.getting_started.tree.CategoryTreeNode to class demo.getting_started.Category
via ZK-Tracker by MontyPan, 1 year ago
Cannot convert BufferedImage@125c99f: type = 1 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=0 IntegerInterleavedRaster: width = 200 height = 200 #Bands = 3 xOff = 0 yOff = 0 dataOffset[0] 0 of type class java.awt.image.BufferedImage to interface org.zkoss.image.Image
via ZK-Tracker by MontyPan, 1 year ago
Cannot convert BufferedImage@125c99f: type = 1 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=0 IntegerInterleavedRaster: width = 200 height = 200 #Bands = 3 xOff = 0 yOff = 0 dataOffset[0] 0 of type class java.awt.image.BufferedImage to interface org.zkoss.image.Image
org.zkoss.zel.ELException: Cannot convert [org.zkoss.jpa.examples.entity.Item@22] of type class java.util.LinkedHashSet to interface java.util.List
at org.zkoss.zel.impl.lang.ELSupport.coerceToTypeForSetValue(ELSupport.java:468)
at org.zkoss.zel.impl.parser.AstValue.setValue(AstValue.java:246)
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:51)
at org.zkoss.bind.impl.SavePropertyBindingImpl.save(SavePropertyBindingImpl.java:128)
at org.zkoss.bind.impl.PropertyBindingHandler.doSaveBinding(PropertyBindingHandler.java:148)
at org.zkoss.bind.impl.PropertyBindingHandler.doSaveEvent(PropertyBindingHandler.java:203)
at org.zkoss.bind.impl.BinderImpl.doSaveEvent(BinderImpl.java:1402)
at org.zkoss.bind.impl.BinderImpl.access$6(BinderImpl.java:1396)
at org.zkoss.bind.impl.BinderImpl$CommandEventListener.onEvent0(BinderImpl.java:1183)
at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2750)
at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2721)
at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2662)
at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1710)
at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1495)
at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1205)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:584)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:482)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:490)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.