An error occurred during a call to extension function 'checkTopicIsEmpty'

From UPK wiki
Jump to: navigation, search

Message is generated during Publishing. This message is usually followed by one or more additional messages as follows:

  An error occurred during a call to extension function 'checkTopicIsEmpty'.    
  An error occurred while loading document 'odpub://INT/PlayerPackage/
     xmlPrint/Topics/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/doctopic.xml'. 
  An error occurred while loading document 'odpub://INT/PlayerPackage/
     xmlPrint/Topics/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Doc/word/document.xml'. 
  Input file is corrupted : 'odpub://int/PlayerPackage/OxmlPrint/
     Temp/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_SPD.docx'

Root cause

The Topic being published contains a link (either via Hyperlink or via See Also link) to another Topic that is empty. The xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in the error messages above is the Empty Topic being linked to.

Note that including an empty Topic in an Outline Element will not generate this error, as UPK simply skips empty Topics.

Resolution

Either create the Topic that is empty, or remove it from the Topic being referenced. If you absolutely need the link in place, but the 'empty' Topic cannot yet be recorded, consider adding a dummy Frame or two and then disabling all Play modes - see also Creating a non-simulation Topic. This will allow you to publish but the 'empty' Topic will not be playable (I'd also suggest putting a note in the Concept Page to say that it will be available later, so users don't think it is broken).

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox