KB‎ > ‎

System.NullReference Exception when Publishing to HTML

Ref: 20090728
Last Edited 15th January 2010

Symptoms:

When publishing to HTML, an error is reported of the type:

Object reference not set to an instance of an object.
Failure exporting xxx.vdx to html.
System.NullReferenceException: Object reference not set to an instance of an object.
at Triaster.ProcessNavigator.Common.ProcessObjects.PageBase.Show(Boolean blnActivate)
at Triaster.ProcessNavigator.Common.ProcessObjects.PageBase.CreateHTMLFile(String strMultiMapRoot, String strTargetRoot, enumVisioVersion lngVisioVersion, Boolean blnUseSubFolders, Boolean blnUseVisio2002MouseOver, Boolean blnUseDescriptionMouseOver, Boolean blnConvertHyperlinkCircleLinks, String strHTMLMapName)
at Triaster.ProcessNavigator.Common.ProcessObjects.PageBase.ExportToHTML(String strMultiMapRoot, String strTargetRoot, enumVisioVersion lngVisioVersion, Boolean blnUseSubFolders, Boolean blnAddHeaderAndFooter, String strHeaderFileName, String strFooterFileName, enumHTMLMetaTagOptions lngMetaTagOptions, Boolean blnUseVisio2002MouseOver, Boolean blnUseDescriptionMouseOver, Boolean blnConvertHyperlinkCircleLinks)
at Triaster.ProcessNavigator.Common.ProcessObjects.Map.ExportToHTML(String strTargetRoot, Boolean blnAddHeaderAndFooter, String strHeaderFileName, String strFooterFileName, enumHTMLMetaTagOptions lngMetaTagOptions, Boolean blnUseVisio2002MouseOver, Boolean blnUseDescriptionMouseOver, Boolean blnConvertHyperlinkCircleLinks)
at Triaster.ProcessNavigator.AnalystEdition.clsExportToHTML.PerformExport(String strTargetRoot, Boolean blnIncludeHeaderAndFooter, String strHeaderFileName, String strFooterFileName, Boolean blnAddMetadata, Boolean blnIncludeProperties, Boolean blnUseVisio2002MouseOver, Boolean blnUseDescriptionMouseOver, Boolean blnConvertHyperlinkCircleLinks, Boolean blnExportModifiedFilesOnly)
=== Finish For Triaster Support ===

The Publish continues through the other maps.

Cause:

The problem is a software bug which only surfaces when a file is saved with a particular combination of Visio windows (stencils, drawing windows, shapesheets etc.)
 
Solution:
 
There is no known workaround. The problem was resolved in build 4.62.8.
 
Applies to:
  • Process Navigator 4.60, 4.61, 4.62
Comments