Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0039732 | Retail Modules | StoreServer | public | 2018-12-03 11:13 | 2018-12-11 13:53 |
| Reporter | mtaal | ||||
| Assigned To | mtaal | ||||
| Priority | normal | Severity | major | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | AugustoMauch | ||||
| OBNetwork customer | No | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0039732: NPE When routing BP | ||||
| Description | See stacktrace [1] [1] Caused by: org.openbravo.base.exception.OBException: Error while routing a c_bpartner null at org.openbravo.retail.storeserver.synchronization.router.BusinessPartnerRouter.doRouteToNodes(BusinessPartnerRouter.java:62) ~[BusinessPartnerRouter.class:?] at org.openbravo.replication.symmetricds.extensions.AbstractClientFilteredRouter.routeToNodes(AbstractClientFilteredRouter.java:60) ~[AbstractClientFilteredRouter.class:?] at org.openbravo.retail.storeserver.synchronization.router.BusinessPartnerRouter$Proxy$_$$_WeldClientProxy.routeToNodes(BusinessPartnerRouter$Proxy$_$$_WeldClientProxy.java) ~[BusinessPartnerRouter.class:?] at org.jumpmind.symmetric.service.impl.RouterService.routeData(RouterService.java:940) ~[symmetric-core-3.8.24.jar:?] ... 15 more Caused by: java.lang.NullPointerException at org.openbravo.retail.storeserver.synchronization.utils.BusinessPartnerSegmentationUtils.getNodesForBusinessPartner(BusinessPartnerSegmentationUtils.java:299) ~[BusinessPartnerSegmentationUtils.class:?] at org.openbravo.retail.storeserver.synchronization.router.BusinessPartnerRouter.doRouteToNodes(BusinessPartnerRouter.java:58) ~[BusinessPartnerRouter.class:?] at org.openbravo.replication.symmetricds.extensions.AbstractClientFilteredRouter.routeToNodes(AbstractClientFilteredRouter.java:60) ~[AbstractClientFilteredRouter.class:?] at org.openbravo.retail.storeserver.synchronization.router.BusinessPartnerRouter$Proxy$_$$_WeldClientProxy.routeToNodes(BusinessPartnerRouter$Proxy$_$$_WeldClientProxy.java) ~[BusinessPartnerRouter.class:?] at org.jumpmind.symmetric.service.impl.RouterService.routeData(RouterService.java:940) ~[symmetric-core-3.8.24.jar:?] | ||||
| Steps To Reproduce | handle the case that the BP was deleted set null value in BP record standard customer column | ||||
| Proposed Solution | handle case that BP was deleted use Boolean instead of boolean and assume null value = false | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2018-12-03 11:13 | mtaal | New Issue | |||
| 2018-12-03 11:13 | mtaal | Assigned To | => mtaal | ||
| 2018-12-03 11:13 | mtaal | OBNetwork customer | => No | ||
| 2018-12-03 11:13 | mtaal | Triggers an Emergency Pack | => No | ||
| 2018-12-03 18:30 | mtaal | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17996#r17996 | ||
| 2018-12-03 18:30 | mtaal | Proposed Solution updated | |||
| 2018-12-03 18:31 | hgbot | Checkin | |||
| 2018-12-03 18:31 | hgbot | Note Added: 0108232 | |||
| 2018-12-03 18:31 | hgbot | Status | new => resolved | ||
| 2018-12-03 18:31 | hgbot | Resolution | open => fixed | ||
| 2018-12-03 18:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/22b7915550a411ff8a41953cb4cdf6dcd77931d1 [^] | ||
| 2018-12-09 22:06 | mtaal | Review Assigned To | => AugustoMauch | ||
| 2018-12-10 16:11 | AugustoMauch | Note Added: 0108364 | |||
| 2018-12-10 16:11 | AugustoMauch | Status | resolved => new | ||
| 2018-12-10 16:11 | AugustoMauch | Resolution | fixed => open | ||
| 2018-12-10 22:37 | hgbot | Checkin | |||
| 2018-12-10 22:37 | hgbot | Note Added: 0108376 | |||
| 2018-12-11 07:57 | hgbot | Checkin | |||
| 2018-12-11 07:57 | hgbot | Note Added: 0108378 | |||
| 2018-12-11 07:57 | hgbot | Status | new => resolved | ||
| 2018-12-11 07:57 | hgbot | Resolution | open => fixed | ||
| 2018-12-11 07:57 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/22b7915550a411ff8a41953cb4cdf6dcd77931d1 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/d145e0803b9252da89c2fb6984ff941988c3d142 [^] | ||
| 2018-12-11 13:53 | AugustoMauch | Note Added: 0108388 | |||
| 2018-12-11 13:53 | AugustoMauch | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||