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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027407
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajorhave not tried2014-08-21 13:302014-08-22 10:03
ReporterjonalegriaesarteView Statuspublic 
Assigned ToAugustoMauch 
PriorityimmediateResolutionfixedFixed in Version3.0PR14Q4
StatusclosedFix in branchFixed in SCM revision4abfea80b24b
ProjectionnoneETAnoneTarget Version3.0PR14Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression levelProduction - QA Approved
Regression date2014-07-30
Regression introduced in release3.0PR14Q3
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/a496e0ae760c8270868810311fa9df01794fec98 [^]
Triggers an Emergency PackNo
Summary

0027407: System info window can not be edited

DescriptionSystem 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.
Steps To Reproduce- System info window
- Change one field, example: Customization allowed
- Save it
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0027233 closedalostale Country combo does not show all available options 

-  Notes
(0069574)
AugustoMauch (administrator)
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 (developer)
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 (developer)
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 (reporter)
2014-08-22 10:03

Code reviewed and verified in pi changeset 8df7bdd96f21.

- Issue History
Date Modified Username Field Change
2014-08-21 13:30 jonalegriaesarte New Issue
2014-08-21 13:30 jonalegriaesarte Assigned To => AugustoMauch
2014-08-21 13:30 jonalegriaesarte Modules => Core
2014-08-21 13:30 jonalegriaesarte Resolution time => 1411423200
2014-08-21 13:30 jonalegriaesarte Regression level => Production - QA Approved
2014-08-21 13:30 jonalegriaesarte Triggers an Emergency Pack => No
2014-08-21 13:55 AugustoMauch Note Added: 0069574
2014-08-21 14:05 AugustoMauch Regression date => 2014-07-30
2014-08-21 14:05 AugustoMauch Regression introduced in release => 3.0PR14Q3
2014-08-21 14:05 AugustoMauch Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/a496e0ae760c8270868810311fa9df01794fec98 [^]
2014-08-21 14:05 AugustoMauch Relationship added caused by 0027233
2014-08-21 14:12 AugustoMauch Issue Monitored: shankarb
2014-08-21 14:12 AugustoMauch Review Assigned To => shankarb
2014-08-21 14:13 hgbot Checkin
2014-08-21 14:13 hgbot Note Added: 0069575
2014-08-21 14:13 hgbot Status new => resolved
2014-08-21 14:13 hgbot Resolution open => fixed
2014-08-21 14:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4abfea80b24bffe21d18070c2a0064fbb3c60079 [^]
2014-08-22 04:18 hudsonbot Checkin
2014-08-22 04:18 hudsonbot Note Added: 0069596
2014-08-22 10:03 shankarb Note Added: 0069599
2014-08-22 10:03 shankarb Status resolved => closed
2014-08-22 10:03 shankarb Fixed in Version => 3.0PR14Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker