Unknown Shape Placeholder Error when Importing from Excel

 This article is suitable for a Library Administrator

Ref: MC20090309
Last Edited: September 28th, 2011
 
Symptom:
 
When importing from Excel, the User Action Required window reports something similar to:

An exception occurred while generating a file from Catalogue XML
Value cannot be null.

Parameter name: Argument 'Array' is Nothing.
System.ArgumentNullException: Value cannot be null.
Parameter name: Argument 'Array' is Nothing.
at Microsoft.VisualBasic.Information.LBound(Array Array, Int32 Rank)
at Triaster.ProcessNavigator.Common.ProcessObjects.UnknownShapePlaceholder
.AutoFitConnections(ShapeSides lngSide) at Triaster.ProcessNavigator.Common.ProcessObjects.VariableConnectionPointsElementBase.
UpdateConnectionPoints(ShapeSides lngSide, Int32 lngNumberOfConnections)
at Triaster.ProcessNavigator.Common.ProcessObjects.VariableConnectionPointsElementBase.set_
TopConnectionPoints(Int32 intTopConnectionPoints)
at Triaster.ProcessNavigator.Common.ProcessObjects.UnknownShapePlaceholder.OutputTo
(MapPage objGeneratedMapPage)
at Triaster.ProcessNavigator.Common.ProcessObjects.MapPage.OutputTo(Map objGeneratedMap)
at Triaster.ProcessNavigator.Common.ProcessObjects.Map.ProcessGenerateFileFromCatalogue(XmlNode xmlNodeGenerateFileFromCatalogue, XmlNode xmlCatalogueRoot) 

Cause:
 
The Excel file contains a reference to a shape that does not exist on the stencil being used to generate the new maps. As a consequence, a generic "Unknown Shape" is used and this causes the error.
 
Solution:
 
The error can be avoided by ensuring the stencil contains all the shapes that are referenced in the Excel file. The error reporting was resolved on Process Navigator 4.62
 
Applies to:
  • Process Navigator 4.60, 4.61 

Need further help? Contact the Triaster Support team by e-mailing support@triaster.co.uk or by calling us on 0870 402 1234.
 
Do you have any feedback or suggestions that you would like to share with Triaster? We would love to hear from you! Please e-mail feedback@triaster.co.uk