Fixed an NPE bug in Document.getColumnValues