General Interface is an open source project hosted by the Dojo Foundation

Component File Issues

"xxx is null" when loading a component file

This error can occur when the OnAfterDeserialize code of a component file contains code to set values on an object in the component file, like CDF mapping components, and the full screen has not completed before the OnAfterDeserialize code is executed. This most often happens on very complex screens with lots of components or matrices that take a while to fully construct in memory.

Because this is a JavaScript timing issue, the best solution is to set the values on the sub-components in the OnBeforeDeserialize section by altering the incoming XML code. See the Code Snippet Setting CDF record ID in OnBeforeDeserialize for an example of how to alter the incoming XML.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.