This project has moved and is read-only. For the latest updates, please go here.
1
Vote

DiscoverXmlMetadataFull throws exception due to null values

description

Query a server where some DB have a description, some not. Query with Database|Description - if that's the bottom level, it works. Now query the cube level - crashes. Remove the |Description - works.

XmlaDiscoverParser.cs, addParentIdValues, line 264 - second 'data[colIdx] = ' change to:
      data[colIdx] = innerNode.FirstChild==null ? null : innerNode.FirstChild.Value;
fixes the issue neatly.

comments