Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026927Openbravo ERP09. Financial managementpublic2014-06-24 10:532018-06-26 11:38
shuehner 
markmm82 
urgentmajorhave not tried
closedfixed 
5
 
3.0PR18Q1 
aferraz
Core
No
0026927: NPE's + other warnigns shown in Acctserver log now when running ci: int-initial-pgsql
The following new errors and warnings as present in the server log when running int-initial-pgsql job.


https://ci.openbravo.com/job/int-initial-pgsql/331/artifact/SANDBOX/tomcat- [^]
logs/int-initial-pgsql.log

Note that the lat line if repeat many times.
Build 331 is apparently first to have those errrors.
Note Build 332 does not show that error but may be because AcctServer fails with 26926

b3e0edee 2014-06-22 02:07:00,274 [DefaultQuartzScheduler_Worker-2] WARN org.openbravo.erpCommon.ad_forms.AcctServer - java.lang.NullPointerException
b3e0edee 2014-06-22 02:07:01,270 [DefaultQuartzScheduler_Worker-2] WARN org.openbravo.erpCommon.ad_forms.AcctServer - java.lang.NullPointerException
b3e0edee 2014-06-22 02:07:02,062 [DefaultQuartzScheduler_Worker-2] WARN org.openbravo.erpCommon.ad_forms.AcctServer - createFact - unable to calculate line with difference to InvoicePriceVariant account.

-
No tags attached.
related to defect 0026926 closed markmm82 Openbravo ERP 2 New error messages (related to AcctServer) in openbravo.log when running ci: int-initial-pgsql job 
related to defect 0027229 closed mtaal Retail Modules Errors in openbravo.log in ci jobs: ret-test-pgsql 
related to defect 0030149 closed markmm82 Openbravo ERP Tomcat ERROR org.openbravo.erpCommon.ad_forms.AcctServer - An error ocurred posting RecordId 
blocks defect 0027337 acknowledged Retail Retail Modules Stabilization: No tomcat errors while running the WebPOS 
Issue History
2014-06-24 10:53shuehnerNew Issue
2014-06-24 10:53shuehnerAssigned To => dmiguelez
2014-06-24 10:53shuehnerModules => Core
2014-06-24 10:53shuehnerTriggers an Emergency Pack => No
2014-06-25 12:03eduardo_ArgalTarget VersionPR14Q3 => PR14Q4
2014-07-24 17:42eduardo_ArgalAssigned Todmiguelez => plujan
2014-07-24 17:45eduardo_ArgalNote Added: 0068874
2014-07-25 10:59eduardo_ArgalNote Added: 0068887
2014-07-29 13:10OrekariaNote Added: 0068958
2014-07-29 13:15OrekariaNote Edited: 0068958bug_revision_view_page.php?bugnote_id=0068958#r6205
2014-07-29 13:16OrekariaIssue Monitored: eduardo_Argal
2014-07-29 18:41gorka_gilRelationship addedrelated to 0027229
2014-08-14 13:19OrekariaRelationship addedblocks 0027337
2014-10-02 11:14plujanTarget Version3.0PR14Q4 => 3.0PR15Q1
2014-12-04 23:32hgbotCheckin
2014-12-04 23:32hgbotNote Added: 0072294
2014-12-23 15:49plujanAssigned Toplujan => eduardo_Argal
2014-12-23 15:49plujanTarget Version3.0PR15Q1 => 3.0PR15Q2
2015-03-30 18:21eduardo_ArgalTarget Version3.0PR15Q2 => 3.0PR15Q3
2015-04-14 12:48Triage FinanceAssigned Toeduardo_Argal => Triage Finance
2015-06-10 17:11vmromanosTarget Version3.0PR15Q3 => 3.0PR15Q4
2015-06-10 21:00OrekariaRelationship addedrelated to 0030149
2015-09-28 11:20vmromanosTarget Version3.0PR15Q4 =>
2015-12-11 11:37aferrazAssigned ToTriage Finance => aferraz
2015-12-11 11:37aferrazStatusnew => scheduled
2015-12-15 11:12aferrazNote Added: 0082757
2015-12-15 11:15aferrazReview Assigned To => aferraz
2015-12-15 11:15aferrazNote Added: 0082759
2015-12-15 11:15aferrazStatusscheduled => closed
2015-12-15 11:15aferrazResolutionopen => fixed
2015-12-15 11:15aferrazFixed in Version => 3.0PR16Q1
2015-12-21 15:13shuehnerNote Added: 0082898
2015-12-21 15:13shuehnerStatusclosed => new
2015-12-21 15:13shuehnerResolutionfixed => open
2015-12-21 15:13shuehnerFixed in Version3.0PR16Q1 =>
2017-08-09 12:55aferrazRelationship addedrelated to 0026926
2017-10-03 17:45markmm82Assigned Toaferraz => markmm82
2017-10-03 17:46markmm82Statusnew => scheduled
2017-10-03 18:04markmm82Note Added: 0099742
2017-10-03 18:14aferrazStatusscheduled => resolved
2017-10-03 18:14aferrazFixed in SCM revision => f8182b504a55
2017-10-03 18:14aferrazResolutionopen => fixed
2017-10-03 18:20aferrazFixed in SCM revisionf8182b504a55 => http://code.openbravo.com/erp/devel/pi/rev/f8182b504a55cfb0d8691707ea82a3170bba162a [^]
2017-10-03 18:21aferrazStatusresolved => closed
2017-10-04 08:44aferrazFixed in Version => 3.0PR18Q1
2018-06-26 11:30hgbotCheckin
2018-06-26 11:30hgbotNote Added: 0105380
2018-06-26 11:38hgbotCheckin
2018-06-26 11:38hgbotNote Added: 0105401
2018-06-26 14:01gorka_gilNote Deleted: 0105380
2018-06-26 14:01gorka_gilNote Deleted: 0105401

Notes
(0068874)
eduardo_Argal   
2014-07-24 17:45   
This issue is related to some missing accounts for some products within QA Test dataset. Some matched invoices can not be posted due to those missing acounts. Configuring the accounts should solve the problem.
(0068887)
eduardo_Argal   
2014-07-25 10:59   
Another problem is not to have the costing background process enabled in QA. Some documents (in this case inventories) are not yet posted and the related cost is not yet calculated.
(0068958)
Orekaria   
2014-07-29 13:10   
(edited on: 2014-07-29 13:15)
In https://ci.openbravo.com/view/retail/job/ret-test-pgsql/392/consoleText [^] these warns show up.

2014-07-29 10:46:54,972 [DefaultQuartzScheduler_Worker-5] WARN org.openbravo.erpCommon.ad_forms.AcctServer - RecordID: 3BA715C0C8A14C38929B835B7D15DDCB - TableId: D1A97202E832470285C9B1EB026D54E2
2014-07-29 10:46:55,518 [DefaultQuartzScheduler_Worker-5] WARN org.openbravo.erpCommon.ad_forms.AcctServer - RecordID: 5E4AC0213217472580E59139F9E47A07 - TableId: D1A97202E832470285C9B1EB026D54E2
2014-07-29 10:51:59,978 [DefaultQuartzScheduler_Worker-2] WARN org.openbravo.erpCommon.ad_forms.AcctServer - RecordID: BFDC7357B04942E58DAE6E9C785CC7E9 - TableId: D1A97202E832470285C9B1EB026D54E2
2014-07-29 10:57:06,770 [DefaultQuartzScheduler_Worker-9] WARN org.openbravo.erpCommon.ad_forms.AcctServer - RecordID: CD068196DC40445693A3A441BD157DCB - TableId: D1A97202E832470285C9B1EB026D54E2

May it help

(0072294)
hgbot   
2014-12-04 23:32   
Repository: erp/pmods/org.openbravo.retail.testsampledata
Changeset: ce9be2364ac3e5769fc0c9d1e56994472d3004da
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Dec 04 23:31:59 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.testsampledata/rev/ce9be2364ac3e5769fc0c9d1e56994472d3004da [^]

Related to issue 26927: NPE's + other warnigns shown in Acctserver log now when running ci: int-initial-pgsql
Solve warning: AcctSchameElement.getAcctSchemaElementList - No default value for Account

---
M referencedata/sampledata/Retail_Test/C_ACCTSCHEMA_ELEMENT.xml
---
(0082757)
aferraz   
2015-12-15 11:12   
Following error message:
WARN org.openbravo.erpCommon.ad_forms.AcctServer - Accounting process failed. RecordID: A6C4774E7A384712B628EB6F6DA9616D - TableId: 4D8C3B3C31D1410DA046140C9F024D17
fixed by this commit:
https://code.openbravo.com/erp/devel/pi/rev/f8182b504a55cfb0d8691707ea82a3170bba162a [^]
(0082759)
aferraz   
2015-12-15 11:15   
Reviewed int-initial-pgsql job and no AcctServer errors are shown in the log.
(0082898)
shuehner   
2015-12-21 15:13   
Reopening.
I just checked just latest build of that job
https://ci.openbravo.com/job/int-initial-pgsql/1272/artifact/SANDBOX/tomcat-logs/int-initial-pgsql.log [^]

And i still see that same warning (some 20-30 times) which was one of the 2 reported in this issue here.

b3e0edee 2015-12-20 02:07:14,235 [DefaultQuartzScheduler_Worker-2] WARN org.openbravo.erpCommon.ad_forms.AcctServer - createFact - unable to calculate line with difference to InvoicePriceVariant account.
(0099742)
markmm82   
2017-10-03 18:04   
Reviewed last build of int-initial-pgsql job and no AcctServer errors/warnings are shown in the log.

https://ci.openbravo.com/job/int-initial-pgsql/2205/artifact/SANDBOX/tomcat-logs/int-initial-pgsql.log [^]