Error on line 5, column 3 in categorieCentru.ftl cache.getCat(cat_id) is undefined. It cannot be assigned to ccprinc The problematic instruction: ---------- ==> assignment: ccprinc=cache.getCat(cat_id) [on line 5, column 3 in categorieCentru.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Error on line 5, column 3 in categorieCentru.ftl cache.getCat(cat_id) is undefined. It cannot be assigned to ccprinc at freemarker.core.Assignment.accept(Assignment.java:111) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at freemarker.template.Template.process(Template.java:231) at ro.ups.magazin.mall.MallMagazin.processWriter(MallMagazin.java:2189) at ro.ups.magazin.mall.MallMagazin.processWriter(MallMagazin.java:2155) at ro.ups.magazin.mall.MallMagazin.process(MallMagazin.java:2119) at org.apache.jsp.CategorieCentru_jsp._jspService(CategorieCentru_jsp.java:236) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475) at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:275) at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:161) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) at org.apache.jsp.ProduseCategorii_jsp._jspService(ProduseCategorii_jsp.java:596) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:832) at ro.ups.magazin.filter.ErrorFilter.doFilter(ErrorFilter.java:872) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at ro.ups.magazin.filter.SEOFilter3.doSEOFilter(SEOFilter3.java:315) at ro.ups.magazin.filter.SEOFilter.doFilter(SEOFilter.java:192) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at ro.ups.magazin.filter.TraceFilter.doFilter(TraceFilter.java:60) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:814) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) [EXCEPTIE:Error on line 5, column 3 in categorieCentru.ftl cache.getCat(cat_id) is undefined. It cannot be assigned to ccprinc]