mirror of https://github.com/apache/lucene.git
SOLR-888 -- Fixing null pointer bug introduced by last commit for this issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@726510 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b2f340e60f
commit
f42b62c1d7
|
@ -66,7 +66,9 @@ public class DateFormatTransformer extends Transformer {
|
|||
}
|
||||
aRow.put(column, results);
|
||||
} else {
|
||||
aRow.put(column, process(o.toString(), fmt));
|
||||
if (o != null) {
|
||||
aRow.put(column, process(o.toString(), fmt));
|
||||
}
|
||||
}
|
||||
} catch (ParseException e) {
|
||||
LOG.warn( "Could not parse a Date field ", e);
|
||||
|
|
Loading…
Reference in New Issue