Process Mappers‎ > ‎Visio Process‎ > ‎

Error when upgrading swimlane master

 This article is suitable for a Process Mapper


Ref: 200904241416
Last edited September 28th 2011

Symptoms:

The following error occurs when opening the map:

24/04/2009 11:46:59 Object reference not set to an instance of an object.
An error occurred while upgrading the 'Swimlane' master.

=== Begin For Triaster Support ===

The following content may be useful to the Triaster support team.
Please copy and paste it into an e-mail to support@triaster.co.uk
and attach any referenced files if you would like help understanding
how to avoid this issue reoccurring.
Object reference not set to an instance of an object.
An error occurred while upgrading the 'Swimlane' master.

System.NullReferenceException: Object reference not set to an instance of an object. at Triaster.ProcessNavigator.Common.ProcessObjects.ShapeBase..ctor(Shape shpObj, PageBase objPageBase) in Q:\working\Andrew Ridgeley\Process Navigator 5.x Public Working\Source Code\Common\ProcessObjects\clsShapeBase.vb:line 104

at Triaster.ProcessNavigator.Common.ProcessObjects.ElementBase..ctor(Shape shpArg, MapPage objContainingMapPage) in Q:\working\Andrew Ridgeley\Process Navigator 5.x Public Working\Source Code\Common\ProcessObjects\clsElementBase.vb:line 122

at Triaster.ProcessNavigator.Common.ProcessObjects.Lane..ctor(Shape& shpArg, Map& objParentMap, MapPage& objContainingMapPage, Flexilane& objFlexilane) in Q:\working\Andrew Ridgeley\Process Navigator 5.x Public Working\Source Code\Common\ProcessObjects\clsLane.vb:line 296

at Triaster.ProcessNavigator.Common.ProcessObjects.Flexilane.get_Lanes() in Q:\working\Andrew Ridgeley\Process Navigator 5.x Public Working\Source Code\Common\ProcessObjects\clsFlexilane.vb:line 182

at Triaster.ProcessNavigator.Common.ProcessObjects.Flexilane.ValidateUpgradeFlexilaneTo1_1_3() in Q:\working\Andrew Ridgeley\Process Navigator 5.x Public Working\Source Code\Common\ProcessObjects\clsFlexilane.vb:line 771

at Triaster.ProcessNavigator.Common.ProcessObjects.Flexilane.UpgradeFlexilaneTo1_1_3() in Q:\working\Andrew Ridgeley\Process Navigator 5.x Public Working\Source Code\Common\ProcessObjects\clsFlexilane.vb:line 697

at Triaster.ProcessNavigator.Common.ProcessObjects.Flexilane.Upgrade() in Q:\working\Andrew Ridgeley\Process Navigator 5.x Public Working\Source Code\Common\ProcessObjects\clsFlexilane.vb:line 539

at Triaster.ProcessNavigator.Common.ProcessObjects.Map..ctor(Document& docObj, Boolean blnEnableUpgrade) in Q:\working\Andrew Ridgeley\Process Navigator 5.x Public Working\Source Code\Common\ProcessObjects\clsMap.vb:line 894
=== Finish For Triaster Support ===
 
Cause:
 
This is caused by the presence of a swimlane whose version is lower than 1.1.3. The swimlane version can be checked as follows:
  1. Open the map in Visio and then open the document stencil.
  2. Double click on the swimlane master which will open in a separate document window.
  3. Click on the swimlane shape and open the shapesheet.
  4. Looking at the shapesheet, the version number is found in the Shape Data section in the Prop.ShapeVersion row.
Process Navigator will attempt to upgrade the shape masters (including swimlane) and encounters the error. Although the error message is shown, it is not thought to cause any problems with the map.
 
Solution:
 
The workaround for this is to open the map and then save it (without making any changes). The error message will not be shown in future.
 
Applies to:
  • Process Navigator All versions

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 
Comments