#732 - NPE in ScalarTypeArrayList.read(ScalarTypeArrayList.java:89) ...

This commit is contained in:
Robin Bygrave committed 2016-06-03 08:09:04 +12:00
1 parent 1304646cce
commit 1a3acb86df
2 files changed
+26 -1

No files matched your search

@@ -86,7 +86,11 @@ public class ScalarTypeArrayList extends ScalarTypeJsonCollection<List> {
@Override
public List read(DataReader reader) throws SQLException {
Array array = reader.getArray();
return fromArray((Object[]) array.getArray());
if (array == null) {
return null;
} else {
return fromArray((Object[]) array.getArray());
}
}
@Override