Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035943Retail ModulesStoreServerpublic2017-05-08 13:302017-05-08 16:28
lorenzofidalgo 
AugustoMauch 
immediateminoralways
closedduplicate 
5
main 
 
AtulOpenbravo
No
0035943: [RR17Q2][Store Server][HighVol][GC & Vouchers] NPE editing BP
When editing BP with certain conditions, a NPE can be thrown.

Some errors are shown in Chrome console (attached log).
Video of the behaviour: https://drive.google.com/a/openbravo.com/file/d/0Bz1bUfkEffVIandhaXBaa2wwbDA/view?usp=sharing [^]
0-Login POS backend as Openbravo and, using The White Valley Group Admin role, go to Business Partner window.
1-Select the record which commercial name is Arturo Montoro.
2-Go to Customer tab and in "More Information" section uncheck (or check if it is unchecked) "Unique Credit Note". Try to save.
  -> ERROR in openbravo.log:
67690902 2017-05-08 13:12:11,706 [ajp-bio-127.0.0.1-8009-exec-5] ERROR org.openbravo.service.json.DefaultJsonDataService - Error updating object
java.lang.NullPointerException
    at org.openbravo.retail.storeserver.synchronization.eventhandler.BusinessPartnerEventHandlerForStandardCustomerFlag.defaultStoreHasBeenModified(BusinessPartnerEventHandlerForStandardCustomerFlag.java:93)
    at org.openbravo.retail.storeserver.synchronization.eventhandler.BusinessPartnerEventHandlerForStandardCustomerFlag.onUpdate(BusinessPartnerEventHandlerForStandardCustomerFlag.java:72)
    at sun.reflect.GeneratedMethodAccessor549.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
No tags attached.
duplicate of defect 0035727 closed mtaal Retail Modules defaultStoreHasBeenModified function should manage currentState with null value 
related to defect 0035944 closed caristu Openbravo ERP unresponsive ui after uncaught error in EntityPersistenceEventObserver 
log CustomerNotSavable.log (2,116) 2017-05-08 13:30
https://issues.openbravo.com/file_download.php?file_id=10730&type=bug
png CustomerNotSavable.png (243,665) 2017-05-08 13:32
https://issues.openbravo.com/file_download.php?file_id=10731&type=bug
png
Issue History
2017-05-08 13:30lorenzofidalgoNew Issue
2017-05-08 13:30lorenzofidalgoAssigned To => platform
2017-05-08 13:30lorenzofidalgoFile Added: CustomerNotSavable.log
2017-05-08 13:30lorenzofidalgoModules => Core
2017-05-08 13:30lorenzofidalgoTriggers an Emergency Pack => No
2017-05-08 13:31lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=15123#r15123
2017-05-08 13:32lorenzofidalgoFile Added: CustomerNotSavable.png
2017-05-08 15:22alostaleSummary[RR17Q2][Store Server][HighVol][GC & Vouchers] Not possible editing Business Partner || Customer tab => [RR17Q2][Store Server][HighVol][GC & Vouchers] NPE editing BP
2017-05-08 15:22alostaleDescription Updatedbug_revision_view_page.php?rev_id=15124#r15124
2017-05-08 15:22alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15126#r15126
2017-05-08 15:22alostaleProjectOpenbravo ERP => Retail Modules
2017-05-08 15:23alostaleAssigned Toplatform => AugustoMauch
2017-05-08 15:23alostalePriorityimmediate => urgent
2017-05-08 15:23alostaleCategoryA. Platform => StoreServer
2017-05-08 15:27alostaleRelationship addedrelated to 0035944
2017-05-08 15:31alostalePriorityurgent => immediate
2017-05-08 16:28AugustoMauchReview Assigned To => AtulOpenbravo
2017-05-08 16:28AugustoMauchRelationship addedduplicate of 0035727
2017-05-08 16:28AugustoMauchStatusnew => closed
2017-05-08 16:28AugustoMauchResolutionopen => duplicate

There are no notes attached to this issue.