Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027407Openbravo ERP01. General setuppublic2014-08-21 13:302014-08-22 10:03
jonalegriaesarte 
AugustoMauch 
immediatemajorhave not tried
closedfixed 
5
 
3.0PR14Q33.0PR14Q4 
shankarb
Core
Production - QA Approved
2014-07-30
3.0PR14Q3
https://code.openbravo.com/erp/devel/pi/rev/a496e0ae760c8270868810311fa9df01794fec98 [^]
No
0027407: System info window can not be edited
System info window can not be edited. If the user changes something, the system shows an error:
Error
Saving failed. One or more fields contain illegal values, check the errors for each field.
- System info window
- Change one field, example: Customization allowed
- Save it
No tags attached.
caused by defect 0027233 closed alostale Country combo does not show all available options 
Issue History
2014-08-21 13:30jonalegriaesarteNew Issue
2014-08-21 13:30jonalegriaesarteAssigned To => AugustoMauch
2014-08-21 13:30jonalegriaesarteModules => Core
2014-08-21 13:30jonalegriaesarteResolution time => 1411423200
2014-08-21 13:30jonalegriaesarteRegression level => Production - QA Approved
2014-08-21 13:30jonalegriaesarteTriggers an Emergency Pack => No
2014-08-21 13:55AugustoMauchNote Added: 0069574
2014-08-21 14:05AugustoMauchRegression date => 2014-07-30
2014-08-21 14:05AugustoMauchRegression introduced in release => 3.0PR14Q3
2014-08-21 14:05AugustoMauchRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/a496e0ae760c8270868810311fa9df01794fec98 [^]
2014-08-21 14:05AugustoMauchRelationship addedcaused by 0027233
2014-08-21 14:12AugustoMauchIssue Monitored: shankarb
2014-08-21 14:12AugustoMauchReview Assigned To => shankarb
2014-08-21 14:13hgbotCheckin
2014-08-21 14:13hgbotNote Added: 0069575
2014-08-21 14:13hgbotStatusnew => resolved
2014-08-21 14:13hgbotResolutionopen => fixed
2014-08-21 14:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4abfea80b24bffe21d18070c2a0064fbb3c60079 [^]
2014-08-22 04:18hudsonbotCheckin
2014-08-22 04:18hudsonbotNote Added: 0069596
2014-08-22 10:03shankarbNote Added: 0069599
2014-08-22 10:03shankarbStatusresolved => closed
2014-08-22 10:03shankarbFixed in Version => 3.0PR14Q4

Notes
(0069574)
AugustoMauch   
2014-08-21 13:55   
This exception is thrown when opening the System Info window in form view:

3555345 [http-8081-9] ERROR org.openbravo.base.exception.OBException - Error while computing combo data
java.lang.NullPointerException
    at org.openbravo.erpCommon.utility.ComboTableData.select(ComboTableData.java:1192)
    at org.openbravo.erpCommon.utility.ComboTableData.select(ComboTableData.java:1093)
    at org.openbravo.client.kernel.reference.UIDefinition.getValueInComboReference(UIDefinition.java:570)
    at org.openbravo.client.kernel.reference.UIDefinition.getValueInComboReference(UIDefinition.java:508)
    at org.openbravo.client.kernel.reference.EnumUIDefinition.getFieldProperties(EnumUIDefinition.java:78)
    at org.openbravo.client.application.window.FormInitializationComponent.computeColumnValues(FormInitializationComponent.java:709)
    at org.openbravo.client.application.window.FormInitializationComponent.execute(FormInitializationComponent.java:258)
    at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:71)
    at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:272)
    at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:168)
    at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:245)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:446)
    at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:92)
    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.Http11Processor.process(Http11Processor.java:861)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:701)
3555346 [http-8081-9] ERROR org.openbravo.client.application.window.FormInitializationComponent - Couldn't get data for column System_Status
org.openbravo.base.exception.OBException: Error while computing combo data
    at org.openbravo.client.kernel.reference.UIDefinition.getValueInComboReference(UIDefinition.java:655)
    at org.openbravo.client.kernel.reference.UIDefinition.getValueInComboReference(UIDefinition.java:508)
    at org.openbravo.client.kernel.reference.EnumUIDefinition.getFieldProperties(EnumUIDefinition.java:78)
    at org.openbravo.client.application.window.FormInitializationComponent.computeColumnValues(FormInitializationComponent.java:709)
    at org.openbravo.client.application.window.FormInitializationComponent.execute(FormInitializationComponent.java:258)
    at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:71)
    at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:272)
    at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:168)
    at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:245)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:446)
    at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:92)
    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.Http11Processor.process(Http11Processor.java:861)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.NullPointerException
    at org.openbravo.erpCommon.utility.ComboTableData.select(ComboTableData.java:1192)
    at org.openbravo.erpCommon.utility.ComboTableData.select(ComboTableData.java:1093)
    at org.openbravo.client.kernel.reference.UIDefinition.getValueInComboReference(UIDefinition.java:570)
    ... 43 more
(0069575)
hgbot   
2014-08-21 14:13   
Repository: erp/devel/pi
Changeset: 4abfea80b24bffe21d18070c2a0064fbb3c60079
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Aug 21 14:11:31 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4abfea80b24bffe21d18070c2a0064fbb3c60079 [^]

Fixes issue 27407: System info window can not be edited

The problem was that a code introduced here [1] assumed that the startRow and endRow parameters were not null. When the ComboTableData.select method is invoked for lists, both parameters are null.

[1] https://code.openbravo.com/erp/devel/pi/rev/a496e0ae760c8270868810311fa9df01794fec98 [^]

---
M src/org/openbravo/erpCommon/utility/ComboTableData.java
---
(0069596)
hudsonbot   
2014-08-22 04:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/077608c0d57c [^]
Maturity status: Test
(0069599)
shankarb   
2014-08-22 10:03   
Code reviewed and verified in pi changeset 8df7bdd96f21.