diff --git a/wizards/com/sun/star/wizards/db/DBMetaData.java b/wizards/com/sun/star/wizards/db/DBMetaData.java index a75009cff511..9e8b98d57548 100644 --- a/wizards/com/sun/star/wizards/db/DBMetaData.java +++ b/wizards/com/sun/star/wizards/db/DBMetaData.java @@ -959,6 +959,8 @@ public class DBMetaData private String[] StringsFromResultSet(XResultSet _xResultSet, int _icol) { String[] sColValues = null; + if (_xResultSet == null) + return sColValues; try { XRow xRow = UnoRuntime.queryInterface( XRow.class, _xResultSet );