Skip to content

Commit

Permalink
Fix 56926 IOD: NPE is thrown out to preview resultset.sma that based on
Browse files Browse the repository at this point in the history
Excel data source
  • Loading branch information
pshi authored and mwu committed Feb 22, 2013
1 parent f768554 commit 9ec4cf3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,9 @@ public IResultSet executeQuery() throws OdaException {
if( masterExcelFileSource == null){
return new ResultSet(new ExcelFileSource(this.connProperties,
this.currentTableName, worksheetNames,
this.maxRows, this.resultSetMetaData,
this.resultSetMetaDataHelper, appContext), this.resultSetMetaData);
this.maxRows, this.getMetaData( ),
this.resultSetMetaDataHelper,
appContext ), (ResultSetMetaData) this.getMetaData( ) );

}
if( this.resultSetMetaData != null)
Expand Down

0 comments on commit 9ec4cf3

Please sign in to comment.