Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0026895 | Openbravo ERP | A. Platform | public | 2014-06-18 13:44 | 2022-02-01 08:09 |
Reporter | zhiqiang | ||||
Assigned To | Triage Platform Base | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Platform | OS | 20 | OS Version | Community Appliance | |
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0026895: The parameter of standard process doesn't support tree reference | ||||
Description | As we know, Standard UI pattern of Process Definition allows to create Parameter Windows defined in Application Dictionary. I want to create a standard process definiton to pass some parameters to my customized action handler for a specific logic. In the process defintion, one parameter's reference is "Tree Reference", it means that user can use tree selector to input the parameter. According to the guide of Openbravo wiki, it doesn't work, the version of Openbravo community is openbravo-3.0PR14Q2 Below is the steps what I followed, please point out the problem if I missed something. | ||||
Steps To Reproduce | 1. In Application dictionary, created a table A which has "Table Tree Category", and the tree structure is "AD Tree Node". 2. In Application dictionary, created a reference. The parent reference is "Tree Reference", so in the sub tab, a tree refence was created, and the corresponding Table and Column were set based on the information of step 1, the column is the primary key of the table A of step 1. I also created a tree field for this tree referece. To my supprise, there is no any Tree reference in the current Openbravo ERP module, most of selectors are OBUISEL_Selector reference, it doesn't support the tree structure representation. 3. To very if the tree reference works or not, I created another a table B, in that table, a column has foreign key with the primary key of table A. In the application dictionary, I specify the reference of this column to "Tree Refernce" and the reference search key is the reference I created in setp 2. next, I created the window, I can use this selector to choose the tree node correctly in that window, see the attached screenshot 1. 4. So I cretead a process defintion in the application dictionary, I specified the parameter's reference as "Tree Reference" and the the reference search key is the same with the key in the Table B of step 3. But when I click the menu to try to launch this process defintion window, a exceptional dialog popup to indicate the error "freemarker.template.TemplateModelException...", please see the detailed error in the attached screenshot 2. Below the error log in Tomcat: 2014-06-18 15:59:03,482 [http-8080-3] ERROR freemarker.runtime - get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter The problematic instruction: ---------- ==> ${param.parameterProperties} [on line 56, column 5 in template] in user-directive createParameter [on line 114, column 7 in template] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter at freemarker.ext.beans.BeanModel.get(BeanModel.java:223) at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Macro$Context.runMacro(Macro.java:172) at freemarker.core.Environment.visit(Environment.java:603) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179) at freemarker.core.Environment.visit(Environment.java:417) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Environment.process(Environment.java:190) at freemarker.template.Template.process(Template.java:237) at org.openbravo.client.kernel.freemarker.FreemarkerTemplateProcessor.processTemplate(FreemarkerTemplateProcessor.java:64) at org.openbravo.client.kernel.freemarker.FreemarkerTemplateProcessor.processTemplate(FreemarkerTemplateProcessor.java:48) at org.openbravo.client.kernel.BaseTemplateProcessor.process(BaseTemplateProcessor.java:61) at org.openbravo.client.kernel.freemarker.org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$kernel$freemarker$FreemarkerTemplateProcessor_$$_WeldClientProxy.process(org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$kernel$freemarker$FreemarkerTemplateProcessor_$$_WeldClientProxy.java) at org.openbravo.client.kernel.BaseTemplateComponent.generate(BaseTemplateComponent.java:55) at org.openbravo.client.application.window.ParameterWindowComponent.generate(ParameterWindowComponent.java:94) at org.openbravo.client.application.ViewComponent.generateProcess(ViewComponent.java:137) at org.openbravo.client.application.ViewComponent.generate(ViewComponent.java:90) at org.openbravo.client.application.org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$application$ViewComponent_$$_WeldClientProxy.generate(org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$application$ViewComponent_$$_WeldClientProxy.java) at org.openbravo.client.kernel.ComponentGenerator.generate(ComponentGenerator.java:65) at org.openbravo.client.kernel.KernelServlet.processComponentRequest(KernelServlet.java:220) at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:170) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:445) at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87) at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:63) at org.openbravo.client.kernel.KernelServlet.service(KernelServlet.java:140) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1760) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:276) at freemarker.ext.beans.BeanModel.get(BeanModel.java:183) ... 74 more Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at org.hibernate.collection.PersistentBag.get(PersistentBag.java:446) at org.openbravo.client.kernel.reference.FKTreeUIDefinition.getParameterProperties(FKTreeUIDefinition.java:193) at org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter.getParameterProperties(OBViewParameterHandler.java:245) ... 81 more 2014-06-18 15:59:03,489 [http-8080-3] ERROR org.openbravo.client.kernel.KernelServlet - freemarker.template.TemplateModelException: get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter java.lang.IllegalStateException: freemarker.template.TemplateModelException: get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter at org.openbravo.client.kernel.freemarker.FreemarkerTemplateProcessor.processTemplate(FreemarkerTemplateProcessor.java:69) at org.openbravo.client.kernel.freemarker.FreemarkerTemplateProcessor.processTemplate(FreemarkerTemplateProcessor.java:48) at org.openbravo.client.kernel.BaseTemplateProcessor.process(BaseTemplateProcessor.java:61) at org.openbravo.client.kernel.freemarker.org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$kernel$freemarker$FreemarkerTemplateProcessor_$$_WeldClientProxy.process(org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$kernel$freemarker$FreemarkerTemplateProcessor_$$_WeldClientProxy.java) at org.openbravo.client.kernel.BaseTemplateComponent.generate(BaseTemplateComponent.java:55) at org.openbravo.client.application.window.ParameterWindowComponent.generate(ParameterWindowComponent.java:94) at org.openbravo.client.application.ViewComponent.generateProcess(ViewComponent.java:137) at org.openbravo.client.application.ViewComponent.generate(ViewComponent.java:90) at org.openbravo.client.application.org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$application$ViewComponent_$$_WeldClientProxy.generate(org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$application$ViewComponent_$$_WeldClientProxy.java) at org.openbravo.client.kernel.ComponentGenerator.generate(ComponentGenerator.java:65) at org.openbravo.client.kernel.KernelServlet.processComponentRequest(KernelServlet.java:220) at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:170) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:445) at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87) at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:63) at org.openbravo.client.kernel.KernelServlet.service(KernelServlet.java:140) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1760) at java.lang.Thread.run(Thread.java:744) Caused by: freemarker.template.TemplateModelException: get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter at freemarker.ext.beans.BeanModel.get(BeanModel.java:223) at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Macro$Context.runMacro(Macro.java:172) at freemarker.core.Environment.visit(Environment.java:603) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179) at freemarker.core.Environment.visit(Environment.java:417) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Environment.process(Environment.java:190) at freemarker.template.Template.process(Template.java:237) at org.openbravo.client.kernel.freemarker.FreemarkerTemplateProcessor.processTemplate(FreemarkerTemplateProcessor.java:64) ... 46 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:276) at freemarker.ext.beans.BeanModel.get(BeanModel.java:183) ... 74 more Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at org.hibernate.collection.PersistentBag.get(PersistentBag.java:446) at org.openbravo.client.kernel.reference.FKTreeUIDefinition.getParameterProperties(FKTreeUIDefinition.java:193) at org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter.getParameterProperties(OBViewParameterHandler.java:245) ... 81 more 2014-06-18 15:59:03,489 [http-8080-3] ERROR org.openbravo.client.kernel.KernelUtils - freemarker.template.TemplateModelException: get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter java.lang.IllegalStateException: freemarker.template.TemplateModelException: get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter at org.openbravo.client.kernel.freemarker.FreemarkerTemplateProcessor.processTemplate(FreemarkerTemplateProcessor.java:69) at org.openbravo.client.kernel.freemarker.FreemarkerTemplateProcessor.processTemplate(FreemarkerTemplateProcessor.java:48) at org.openbravo.client.kernel.BaseTemplateProcessor.process(BaseTemplateProcessor.java:61) at org.openbravo.client.kernel.freemarker.org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$kernel$freemarker$FreemarkerTemplateProcessor_$$_WeldClientProxy.process(org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$kernel$freemarker$FreemarkerTemplateProcessor_$$_WeldClientProxy.java) at org.openbravo.client.kernel.BaseTemplateComponent.generate(BaseTemplateComponent.java:55) at org.openbravo.client.application.window.ParameterWindowComponent.generate(ParameterWindowComponent.java:94) at org.openbravo.client.application.ViewComponent.generateProcess(ViewComponent.java:137) at org.openbravo.client.application.ViewComponent.generate(ViewComponent.java:90) at org.openbravo.client.application.org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$application$ViewComponent_$$_WeldClientProxy.generate(org$jboss$weld$bean-flat-ManagedBean-class_org$openbravo$client$application$ViewComponent_$$_WeldClientProxy.java) at org.openbravo.client.kernel.ComponentGenerator.generate(ComponentGenerator.java:65) at org.openbravo.client.kernel.KernelServlet.processComponentRequest(KernelServlet.java:220) at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:170) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:445) at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87) at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:63) at org.openbravo.client.kernel.KernelServlet.service(KernelServlet.java:140) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1760) at java.lang.Thread.run(Thread.java:744) Caused by: freemarker.template.TemplateModelException: get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter at freemarker.ext.beans.BeanModel.get(BeanModel.java:223) at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Macro$Context.runMacro(Macro.java:172) at freemarker.core.Environment.visit(Environment.java:603) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179) at freemarker.core.Environment.visit(Environment.java:417) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Environment.process(Environment.java:190) at freemarker.template.Template.process(Template.java:237) at org.openbravo.client.kernel.freemarker.FreemarkerTemplateProcessor.processTemplate(FreemarkerTemplateProcessor.java:64) ... 46 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:276) at freemarker.ext.beans.BeanModel.get(BeanModel.java:183) ... 74 more Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at org.hibernate.collection.PersistentBag.get(PersistentBag.java:446) at org.openbravo.client.kernel.reference.FKTreeUIDefinition.getParameterProperties(FKTreeUIDefinition.java:193) at org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter.getParameterProperties(OBViewParameterHandler.java:245) ... 81 more | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | Tree reference | ||||
Relationships | |||||
Attached Files | 2.PNG (22,321) 2014-06-18 13:44 https://issues.openbravo.com/file_download.php?file_id=7010&type=bug 1.PNG (49,566) 2014-06-18 13:50 https://issues.openbravo.com/file_download.php?file_id=7011&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-06-18 13:44 | zhiqiang | New Issue | |||
2014-06-18 13:44 | zhiqiang | Assigned To | => mtaal | ||
2014-06-18 13:44 | zhiqiang | File Added: 2.PNG | |||
2014-06-18 13:49 | zhiqiang | Tag Attached: Tree reference | |||
2014-06-18 13:50 | zhiqiang | File Added: 1.PNG | |||
2014-06-18 14:13 | mtaal | Assigned To | mtaal => AugustoMauch | ||
2015-03-31 12:50 | alostale | Project | Modules => Openbravo ERP | ||
2015-03-31 12:51 | alostale | Modules | => Core | ||
2015-03-31 12:51 | alostale | Triggers an Emergency Pack | => No | ||
2015-03-31 12:51 | alostale | Assigned To | AugustoMauch => platform | ||
2015-03-31 12:51 | alostale | Status | new => acknowledged | ||
2015-03-31 12:51 | alostale | Category | Freemarker template engine => A. Platform | ||
2015-03-31 12:51 | alostale | Type | defect => design defect | ||
2022-02-01 08:09 | alostale | Assigned To | platform => Triage Platform Base |
There are no notes attached to this issue. |