BISERVER-8345 - Fixed NPE while generating inmemory datasource

mondrian