Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #19942 All Revisions ] Back to Issue ]
Summary 0019942: JavaScript errors on Add Details button for Payment Out window
Revision 2012-03-05 13:36 by gorkaion
Description When creating a new Payment Out for a Purchase Order the Selectors are not populated.

If the JavaScript console is open there are several "isc is not defined" and "OB is not defined" errors. And no dropdown is available in the popup.

Notice that to reproduce this error the cpu must be on high load. It's easier to reproduce it on Firefox.
Revision 2012-03-05 13:30 by gorkaion
Description When creating a new Payment Out for a Purchase Order, an error is popped out. This error does not happen always manually but the smoke tests found it in every run. See steps.


The openbravo log shows the following exception:

2012-02-28 13:48:14,815 [ajp-8009-2] ERROR org.openbravo.advpaymentmngt.ad_actionbutton.AddOrderOrInvoice - Error parsing received GLItems JSON A
org.codehaus.jettison.json.JSONException: A JSONArray text must start with '[' at character 0 of
        at org.codehaus.jettison.json.JSONTokener.syntaxError(JSONTokener.java:439)
        at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:98)
        at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:137)
        at org.openbravo.advpaymentmngt.ad_actionbutton.AddOrderOrInvoice.doPost(AddOrderOrInvoice.java:120)
        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 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.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
        at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
        at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:7
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
        at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.j
        at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
        at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.jav
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
        at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:42
        at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(Ajp
        at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:15
        at java.lang.Thread.run(Thread.java:619)


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker