Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0037763 | Openbravo ERP | 09. Financial management | public | 2018-01-30 10:24 | 2018-02-22 18:19 |
Reporter | samuel_nicuesa | ||||
Assigned To | collazoandy4 | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | 3.0PR17Q2 | ||||
Target Version | Fixed in Version | 3.0PR18Q2 | |||
Merge Request Status | |||||
Review Assigned To | dmiguelez | ||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | 50688 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0037763: Trial Balance Report sometimes returns null pointer exception when include zero figures is checked. | ||||
Description | Trial Balance Report sometimes returns null pointer exception when include zero figures is checked. We are not able to reproduce it in PI Version, we have used the client environment. If you need to have access talk with support. | ||||
Steps To Reproduce | -Login into ERP -Go to Trial Balance report -Fill Date from , Date To and include zero figures -Click search button and you will see a null pointer exception error. | ||||
Proposed Solution | In ReprorTrialBalance.java there are 2 arrays (vec and dataAccountCombinations). Here is the problem : dataZeroFigures = new ReportTrialBalanceData[dataAccountCombinations.length + extra]; vec.copyInto(dataZeroFigures); If (vec.size() < dataAccountCombinations.length) when you copy vec to dataZeroFigures will be null values in the new array. Is necessary that vec.size() = dataAccountCombinations.length so we think the solution is use: dataZeroFigures = new ReportTrialBalanceData[vec.size()]; instead of dataZeroFigures = new ReportTrialBalanceData[dataAccountCombinations.length + extra]; | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-01-30 10:24 | samuel_nicuesa | New Issue | |||
2018-01-30 10:24 | samuel_nicuesa | Assigned To | => Triage Finance | ||
2018-01-30 10:24 | samuel_nicuesa | OBNetwork customer | => Yes | ||
2018-01-30 10:24 | samuel_nicuesa | Modules | => Core | ||
2018-01-30 10:24 | samuel_nicuesa | Support ticket | => 50688 | ||
2018-01-30 10:24 | samuel_nicuesa | Resolution time | => 1519081200 | ||
2018-01-30 10:24 | samuel_nicuesa | Triggers an Emergency Pack | => No | ||
2018-01-30 16:22 | dmiguelez | Assigned To | Triage Finance => collazoandy4 | ||
2018-01-31 21:10 | collazoandy4 | Status | new => scheduled | ||
2018-02-02 20:19 | collazoandy4 | Note Added: 0102163 | |||
2018-02-08 09:56 | hgbot | Checkin | |||
2018-02-08 09:56 | hgbot | Note Added: 0102270 | |||
2018-02-08 09:56 | hgbot | Status | scheduled => resolved | ||
2018-02-08 09:56 | hgbot | Resolution | open => fixed | ||
2018-02-08 09:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fcb60f9bbde5cf20bdff4f7a2d583f5cd8696ac8 [^] | ||
2018-02-08 09:57 | dmiguelez | Review Assigned To | => dmiguelez | ||
2018-02-08 09:57 | dmiguelez | Note Added: 0102271 | |||
2018-02-08 09:57 | dmiguelez | Status | resolved => closed | ||
2018-02-08 09:57 | dmiguelez | Fixed in Version | => 3.0PR18Q2 | ||
2018-02-22 18:19 | hudsonbot | Checkin | |||
2018-02-22 18:19 | hudsonbot | Note Added: 0102734 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|