Fix nullpointer exception

This commit is contained in:
James 2017-05-20 11:44:03 -04:00
parent f6ee4db598
commit d550392047
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ public class DateRangeParam implements IQueryParameterAnd<DateParam> {
@Override
public List<DateParam> getValuesAsQueryTokens() {
ArrayList<DateParam> retVal = new ArrayList<DateParam>();
if (myLowerBound.getMissing() != null) {
if (myLowerBound != null && myLowerBound.getMissing() != null) {
retVal.add((myLowerBound));
} else {
if (myLowerBound != null && !myLowerBound.isEmpty()) {