Solution - Designer Express - Unable to Save Page Template After Opening Express Design

Version 6

    Behavior

     

    Page Templates contain page elements along with other print-related settings. Templates can be saved and later retrieved to provide a convenient option to aid with map production and printing.


    After opening and closing either an existing or new Express Design, the ability to save a User or System Page Template is no longer possible. This issue was first identified in 10.2.1a but also impacts 10.2, 10.2.1, 10.2.1b, and 10.2.1c.


    Details of the behavior associated with this issue include:


    When attempting to save a Page Template, the options within the Saved Stored Items dialog are shown as active.

    PageTemplate_SaveDialog.png

    However, when the OK button is clicked, no actions are performed by the software if an existing or new express design has been previously opened and closed. The page template is not saved and users must click the Cancel button or exit the dialog. 


    A number of errors are also typically reported in the event log when this occurs. A few examples are:

     

    2017-07-14 11:36:10,722 [1] ERROR  [(null)] - MMPageTemplateUI:
    MMDesignerInfo.DesignName
    Object reference not set to an instance of an object.
    Error at line: 83 - Build: 10.21.3135

     

    2017-07-14 11:36:10,722 [1] ERROR  [(null)] - Miner & Miner Page Template Manager:
    MMPageTemplateManager.IMMStoredItemManager_Create
    MMDesignerInfo.DesignName
    Object reference not set to an instance of an object.
    Error at line: 83 - Build: 10.21.3135
    Error at line: 2885 - Build: 10.21.3135
    {log4net:HostName=JSAV1W8HGTGF1VG, log4net:UserName=MINER\tvstpur, LoggingAssemblyFileVersion=10.21.30.3135, log4net:Identity=}

     

    2017-07-14 11:36:10,722 [1] ERROR Miner.FrameworkUI.StoredItems.SaveAsForm [(null)] - Error saving Stored Item
    System.NullReferenceException: MMPageTemplateManager.IMMStoredItemManager_Create
    MMDesignerInfo.DesignName
    Object reference not set to an instance of an object.
    Error at line: 83 - Build: 10.21.3135
    Error at line: 2885 - Build: 10.21.3135
       at Miner.Interop.IMMStoredItemManager.Create(String UserName, String newItemName, IMMStoredItemFolder containingFolder)
       at Miner.FrameworkUI.StoredItems.StoredItemEditHelper.CreateItem(StoredItemEditor editor, IMMStoredItemFolder destinationFolder, String userName, mmStoredItemType type, String newItemName)
       at Miner.FrameworkUI.StoredItems.SaveAsForm.OKButton_Click(Object sender, EventArgs e)
    {log4net:HostName=JSAV1W8HGTGF1VG, log4net:UserName=MINER\tvstpur, LoggingAssemblyFileVersion=10.21.30.3135, log4net:Identity=}

     

    The workflow that causes this error has been identified and the issue has been reported (CLS-62736).

     

    Cause

     

    This issue can be triggered in the affected software versions by attempting to save a page template after opening and closing any existing or new express design.

     

    Solution

     

    The reported issue CLS-62736 has been resolved in 10.2.1d. If running an earlier version of the software, this issue can be avoided by saving a page template prior to opening and closing any Express Design. If an Express Design has been opened, page templates can also be saved by exiting and relaunching the Designer Express application.