Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0032818 | Openbravo ERP | 02. Master data management | public | 2016-05-01 15:16 | 2016-06-17 19:37 |
Reporter | mtaal | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 3.0PR16Q3 | Fixed in Version | 3.0PR16Q3 | ||
Merge Request Status | |||||
Review Assigned To | AugustoMauch | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0032818: Stack trace in log when a preference is not defined | ||||
Description | When opening product tab in backoffice I see the following stack trace in the console: 540995 [http-9080-6] ERROR org.openbravo.client.kernel.reference.CharacteristicsUIDefinition - Error finding ShowProductCharacteristicsParents preference org.openbravo.erpCommon.utility.PropertyNotFoundException at org.openbravo.erpCommon.businessUtility.Preferences.getPreferenceValue(Preferences.java:219) at org.openbravo.client.kernel.reference.CharacteristicsUIDefinition.getValue(CharacteristicsUIDefinition.java:126) at org.openbravo.client.kernel.reference.CharacteristicsUIDefinition.getFieldProperties(CharacteristicsUIDefinition.java:97) at org.openbravo.client.application.window.FormInitializationComponent.computeColumnValues(FormInitializationComponent.java:751) at org.openbravo.client.application.window.FormInitializationComponent.execute(FormInitializationComponent.java:265) at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:73) at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:314) at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:206) at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:287) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:228) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:431) at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:88) at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:59) at org.openbravo.client.kernel.KernelServlet.service(KernelServlet.java:168) 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.replication.symmetricds.ServletDisablerDuringTableReloadFilter.doFilter(ServletDisablerDuringTableReloadFilter.java:64) 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:745) | ||||
Steps To Reproduce | login to backoffice and go to product window | ||||
Proposed Solution | change the catch block to not show an exception trace or log warn when a PropertyNotFoundException is thrown | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=9343&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-05-01 15:16 | mtaal | New Issue | |||
2016-05-01 15:16 | mtaal | Assigned To | => mtaal | ||
2016-05-01 15:16 | mtaal | File Added: prevent-stack-trace.diff | |||
2016-05-01 15:16 | mtaal | OBNetwork customer | => No | ||
2016-05-01 15:16 | mtaal | Modules | => Core | ||
2016-05-01 15:16 | mtaal | Triggers an Emergency Pack | => No | ||
2016-05-02 16:30 | mtaal | Review Assigned To | => AugustoMauch | ||
2016-05-02 18:54 | mtaal | Note Added: 0086136 | |||
2016-05-03 22:09 | hgbot | Checkin | |||
2016-05-03 22:09 | hgbot | Note Added: 0086168 | |||
2016-05-03 22:09 | hgbot | Status | new => resolved | ||
2016-05-03 22:09 | hgbot | Resolution | open => fixed | ||
2016-05-03 22:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/23c0239a0516a2bae6d4901098fd1de04223110f [^] | ||
2016-05-11 10:16 | AugustoMauch | Note Added: 0086366 | |||
2016-05-11 10:16 | AugustoMauch | Status | resolved => closed | ||
2016-05-11 10:16 | AugustoMauch | Fixed in Version | => 3.0PR16Q3 | ||
2016-06-17 19:37 | hudsonbot | Checkin | |||
2016-06-17 19:37 | hudsonbot | Note Added: 0087514 |