Try to find cause for NPE
Bug: 7006995 Change-Id: I12d19fab0264b5d779f24df92274ad879237d254
This commit is contained in:
parent
11efcb7a1b
commit
296d18c02b
@ -2333,10 +2333,12 @@ outer:
|
||||
// First look at values; this is an override of default behavior
|
||||
if (values.containsKey(column)) {
|
||||
String value = values.getAsString(column);
|
||||
if (value.startsWith("@")) {
|
||||
if (value == null) {
|
||||
throw new IllegalArgumentException("Null value in " + column);
|
||||
} else if (value.startsWith("@")) {
|
||||
val = value.substring(1) + " AS " + column;
|
||||
} else {
|
||||
val = "'" + values.getAsString(column) + "' AS " + column;
|
||||
val = "'" + value + "' AS " + column;
|
||||
}
|
||||
} else {
|
||||
// Now, get the standard value for the column from our projection map
|
||||
|
Loading…
Reference in New Issue
Block a user