Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034178
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2016-10-08 11:052017-06-30 10:54
ReportermtaalView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034178: NPE in UpdateCashup if lastcashupeportdate not present in json, also typo in variable name

DescriptionWhen the lastcashupeportdate is not present in the json then a NPE is encountered. There is a preceding if statement so it is clear that the lastcashupeportdate does not need to be present.

[1]
java.lang.NullPointerException
    at org.openbravo.retail.posterminal.UpdateCashup.getAndUpdateCashUp(UpdateCashup.java:114)
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:209)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:198)
Steps To ReproduceNot clear how to reproduce
Proposed SolutionPrevent the NPE
Repair the wrong name, wrong names will cause future errors!
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0097306)
Sandrahuguet (developer)
2017-06-12 12:42

Issue also reproducible in ret-higvol jobs [1]

[1] http://ci.openbravo.com/view/retail/job/ret-higvol-pgsql/lastSuccessfulBuild/artifact/SANDBOX/tomcat-logs/ret-higvol-pgsql.log [^]

- Issue History
Date Modified Username Field Change
2016-10-08 11:05 mtaal New Issue
2016-10-08 11:05 mtaal Assigned To => Retail
2016-10-08 11:05 mtaal Triggers an Emergency Pack => No
2016-10-11 12:08 marvintm Target Version RR16Q4 => RR17Q1
2016-12-23 14:27 marvintm Target Version RR17Q1 => RR17Q2
2017-03-29 17:20 marvintm Target Version RR17Q2 => RR17Q3
2017-06-12 12:42 Sandrahuguet Note Added: 0097306
2017-06-30 10:54 marvintm Target Version RR17Q3 =>


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker