Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019875Openbravo ERPA. Platformpublic2012-02-25 22:172012-03-14 10:25
mtaal 
AugustoMauch 
normalmajorhave not tried
closedduplicate 
5
 
3.0MP103.0MP9 
Core
No
0019875: Error shown in console when opening product drop down in sales order line
I see this stacktrace in the console when opening a product drop down in sales order line:

ff9cdf33 459350 [http-8080-3] ERROR org.openbravo.userinterface.selector.SelectorDataSourceFilter - Error evaluating filter expression: sun.org.mozilla.javascript.EcmaError: ReferenceError: "e" is not defined. (<Unknown source>#1) in <Unknown source> at line number 1
javax.script.ScriptException: sun.org.mozilla.javascript.EcmaError: ReferenceError: "e" is not defined. (<Unknown source>#1) in <Unknown source> at line number 1
    at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:179)
    at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:195)
    at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
    at org.openbravo.client.application.ParameterUtils.getJSExpressionResult(ParameterUtils.java:161)
    at org.openbravo.userinterface.selector.SelectorDataSourceFilter.applyFilterExpression(SelectorDataSourceFilter.java:210)
    at org.openbravo.userinterface.selector.SelectorDataSourceFilter.doFilter(SelectorDataSourceFilter.java:93)
    at org.openbravo.service.datasource.DataSourceServlet.doFetch(DataSourceServlet.java:187)
    at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:571)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:422)
    at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87)
    at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:63)
    at org.openbravo.service.datasource.DataSourceServlet.service(DataSourceServlet.java:119)
    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.openbravo.activiti.OBActivitiRequestFilter$1.doAction(OBActivitiRequestFilter.java:68)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.activiti.OBActivitiRequestFilter.doFilter(OBActivitiRequestFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    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:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:679)
Caused by: sun.org.mozilla.javascript.EcmaError: ReferenceError: "e" is not defined. (<Unknown source>#1)
    at sun.org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3785)
    at sun.org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3763)
    at sun.org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3848)
    at sun.org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1781)
    at sun.org.mozilla.javascript.gen._Unknown_source__12._c_script_0(<Unknown source>:1)
    at sun.org.mozilla.javascript.gen._Unknown_source__12.call(<Unknown source>)
    at sun.org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
    at com.sun.script.javascript.RhinoScriptEngine$1.superDoTopCall(RhinoScriptEngine.java:112)
    at com.sun.script.javascript.RhinoScriptEngine$1.doTopCall(RhinoScriptEngine.java:105)
    at sun.org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)
    at sun.org.mozilla.javascript.gen._Unknown_source__12.call(<Unknown source>)
    at sun.org.mozilla.javascript.gen._Unknown_source__12.exec(<Unknown source>)
    at sun.org.mozilla.javascript.Context.evaluateReader(Context.java:1142)
    at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:169)
    ... 47 more
Go to sales order and then lines
Open a line in edit mode
Put the focus on the product field
click the drop down icon
The product list is shown but in the console I see a stack trace
No tags attached.
duplicate of defect 0019913 closed VictorVillar Revert changes in product selector 
Issue History
2012-02-25 22:17mtaalNew Issue
2012-02-25 22:17mtaalAssigned To => AugustoMauch
2012-02-25 22:17mtaalModules => Core
2012-03-01 10:25alostaleTarget Version3.0MP9 => 3.0MP10
2012-03-02 13:48AugustoMauchRelationship addeddepends on 0019844
2012-03-02 13:48AugustoMauchRelationship deleteddepends on 0019844
2012-03-02 13:48AugustoMauchRelationship addedduplicate of 0019844
2012-03-02 13:49AugustoMauchNote Added: 0045704
2012-03-02 13:49AugustoMauchStatusnew => closed
2012-03-02 13:49AugustoMauchResolutionopen => duplicate
2012-03-02 16:01AugustoMauchNote Added: 0046015
2012-03-02 16:01AugustoMauchStatusclosed => new
2012-03-02 16:01AugustoMauchResolutionduplicate => open
2012-03-02 16:02AugustoMauchRelationship deleted0019844
2012-03-14 10:25AugustoMauchRelationship addedduplicate of 0019913
2012-03-14 10:25AugustoMauchNote Added: 0046375
2012-03-14 10:25AugustoMauchStatusnew => closed
2012-03-14 10:25AugustoMauchResolutionopen => duplicate
2012-03-14 10:25AugustoMauchFixed in Version => 3.0MP9

Notes
(0045704)
AugustoMauch   
2012-03-02 13:49   
This issue is a duplicate of issue 19844
(0046015)
AugustoMauch   
2012-03-02 16:01   
This issue is not resolved not a duplicate. It was closed by mistake.
(0046375)
AugustoMauch   
2012-03-14 10:25   
The fix of issue 19913 resolved issue 19875 too. There was an invalid filter expression in the selector of the Product reference, which caused an exception when the user opened the selector. This filter expression has been removed in the fix of issue 19917, so the exception is no longer happening.