On a DNN 7 install, tried to add a new forms and list module based on a template which was created on another page.
It gave me an error:
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.UserDefinedTable.Serialization.ModuleSerializationController.GetModuleContent(XmlNode nodeModule, Int32 moduleId, Int32 tabId, Int32 portalId, Boolean isInstance) at DotNetNuke.Modules.UserDefinedTable.Serialization.ModuleSerializationController.DeserializeModule(XmlNode nodeModule, XmlNode nodePane, Int32 portalId, Int32 tabId, PortalTemplateModuleAction mergeTabs, Hashtable hModules) at DotNetNuke.Modules.UserDefinedTable.Templates.TemplateController.LoadTemplate(String name, Int32 portalId, Int32 tabid) at DotNetNuke.Modules.UserDefinedTable.TemplateList.GridView1_SelectedIndexChanged(Object sender, EventArgs e) at System.Web.UI.WebControls.GridView.OnSelectedIndexChanged(EventArgs e) at System.Web.UI.WebControls.GridView.HandleSelect(Int32 rowIndex) at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) at System.Web.UI.WebControls.GridView.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.GridViewRow.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---