Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048230 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2021-12-13 11:14 | 2021-12-16 16:11 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | PR22Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
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 | 0048230: NPE when recomputing AD Tree node sequence number | |||||||
Description | A NPE may be fired when recomputing the sequence number of an AD Tree node in some cases. See the stack trace: java.lang.NullPointerException: null at org.openbravo.service.datasource.ADTreeDatasourceService.calculateSequenceNumberAndRecompute(ADTreeDatasourceService.java:403) ~[classes/:?] at org.openbravo.service.datasource.ADTreeDatasourceService.moveNode(ADTreeDatasourceService.java:609) ~[classes/:?] at org.openbravo.service.datasource.TreeDatasourceService.processNodeMovement(TreeDatasourceService.java:950) ~[classes/:?] at org.openbravo.service.datasource.TreeDatasourceService.update(TreeDatasourceService.java:865) [classes/:?] at org.openbravo.service.datasource.DataSourceServlet.doPut(DataSourceServlet.java:922) [classes/:?] | |||||||
Steps To Reproduce | 1) Go to the Menu window 2) Create a new summary level entry named "aaa" 3) Create a new non summary level entry named "bbb" 4) Toggle to the tree view 5) Drag and drop "aaa" menu to the latest position of the tree 6) Try to move "bbb" inside "aaa" root. An error appears. See attached | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0133639) hgbot (developer) 2021-12-13 11:21 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/470 [^] |
(0133771) hgbot (developer) 2021-12-16 16:11 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/470 [^] |
(0133772) hgbot (developer) 2021-12-16 16:11 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: a4034a94cd43f397369e8808fe708fda53f41d49 Author: Carlos Aristu <carlos.aristu@openbravo.com> Date: 16-12-2021 14:34:07 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/a4034a94cd43f397369e8808fe708fda53f41d49 [^] fixes ISSUE-48230: Avoid NPE when recomputing AD Tree node seqno --- M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2021-12-13 11:14 | caristu | New Issue | |
2021-12-13 11:14 | caristu | Assigned To | => Triage Platform Base |
2021-12-13 11:14 | caristu | File Added: error.png | |
2021-12-13 11:14 | caristu | OBNetwork customer | => No |
2021-12-13 11:14 | caristu | Modules | => Core |
2021-12-13 11:14 | caristu | Triggers an Emergency Pack | => No |
2021-12-13 11:14 | caristu | Assigned To | Triage Platform Base => caristu |
2021-12-13 11:21 | hgbot | Merge Request Status | => open |
2021-12-13 11:21 | hgbot | Note Added: 0133639 | |
2021-12-16 15:28 | hgbot | Merge Request Status | open => approved |
2021-12-16 16:11 | hgbot | Note Added: 0133771 | |
2021-12-16 16:11 | hgbot | Resolution | open => fixed |
2021-12-16 16:11 | hgbot | Status | new => closed |
2021-12-16 16:11 | hgbot | Fixed in Version | => PR22Q1 |
2021-12-16 16:11 | hgbot | Note Added: 0133772 |
Copyright © 2000 - 2009 MantisBT Group |