VERIFIED SOLUTION i

Resolving XSD to create IDF failing with null pointer exception

Software Affected: EngageOne Designer
 

Issue

Failing to create IDF with imported XSD.

Cause

When importing an XSD to create an Interactive Data Format, it fails with "object not set to an instance of an object".

Full entry in the cockpit event viewer is as follows:

*********************************************
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Xml.Linq.XElement TranslateAndExpand(System.Xml.Linq.XElement, System.Xml.Linq.XDocument, System.Collections.Generic.HashSet`1[System.String])
HelpLink: NULL
Source: Processor

Resolution

UPDATED: November 24, 2017
The XSD contains an unsupported element, when this is removed, the import and creation of the IDF is successful.

The unsupported element is xs:choice, which is clearly referenced in the documentation:
User-added image