1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Export Dynamic Module error

Export Dynamic Module error

1 posts, 0 answered
  1. Mary
    Mary avatar
    0 posts
    Registered:
    20 Dec 2016
    18 Jan
    Link to this post

    Hello,

    I am trying to export a dynamic module. last week i managed to do that but today i got this error:

    Object reference not set to an instance of an object.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace: 

    [NullReferenceException: Object reference not set to an instance of an object.] Telerik.Sitefinity.Configuration.Data.<>c__DisplayClass29.<LoadCollectionElement>b__25(XmlReader xmlReader) +89 Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadElement(String relativeFilePath, Func`2 elementFactory, LoadOptions options, UpgradingInfo upgradingInfo, Boolean isDefault) +341 Telerik.Sitefinity.Configuration.Data.<>c__DisplayClass2d.<LoadCollectionElement>b__27() +74 Telerik.Sitefinity.Configuration.<>c__DisplayClassa.<AddLazyInternal>b__9() +23 System.Lazy`1.CreateValue() +243 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Lazy`1.get_Value() +14360453 Telerik.Sitefinity.Configuration.ConfigElementLazyItem`1.get_Element() +93 Telerik.Sitefinity.Configuration.ConfigElementItem`1.Telerik.Sitefinity.Configuration.IConfigElementItem.get_Element() +14 Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.GetXmlCollectionItem(XmlDocument xmlDoc, IConfigElementItem item, ConfigElementCollection collection, ConfigElementCollection defaultCollection, SaveOptions options) +263 Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.GetXmlCollection(XmlDocument xmlDoc, ConfigProperty property, ConfigElementCollection collection, ConfigElementCollection defaultCollection, SaveOptions options) +1739 Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.GetXmlElement(XmlDocument xmlDoc, ConfigElement config, ConfigElement defaultConfig, String tagName, Type definedType, SaveOptions options, XmlElementFactory xmlElementFactory, Boolean setEditFlag) +650 Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.GetXmlCollectionElement(XmlDocument xmlDoc, ConfigElement element, ConfigElementCollection collection, ConfigElementCollection defaultCollection, SaveOptions options, XmlElementFactory xmlElementFactory) +239 Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.GetXmlCollectionItem(XmlDocument xmlDoc, IConfigElementItem item, ConfigElementCollection collection, ConfigElementCollection defaultCollection, SaveOptions options) +307 Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.GetXmlCollection(XmlDocument xmlDoc, ConfigProperty property, ConfigElementCollection collection, ConfigElementCollection defaultCollection, SaveOptions options) +1739 Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.GetXmlElement(XmlDocument xmlDoc, ConfigElement config, ConfigElement defaultConfig, String tagName, Type definedType, SaveOptions options, XmlElementFactory xmlElementFactory, Boolean setEditFlag) +650 Telerik.Sitefinity.Configuration.Data.<>c__DisplayClass6.<ExportInternal>b__5(XmlDocument xmlDoc) +188 Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.GetXmlDocument(Func`2 getXmlElement) +106 Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.ExportInternal(ConfigSection config, Boolean skipLoadFromFile, IEnumerable`1 elementsToExport, Boolean exportAllOrigins) +262 Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.Export(IEnumerable`1 configElementsToBeExported, Boolean skipLoadFromFile, Boolean exportAllOrigins) +113 Telerik.Sitefinity.DynamicModules.Builder.ExportImport.ModuleExporter.ExportModuleConfigurations(DynamicModule module, MemoryStream memoryStream, Boolean exportModuleProviders, Boolean exportAllOrigins) +1912 Telerik.Sitefinity.DynamicModules.Builder.ExportImport.ModuleExporter.ExportModule(DynamicModule dynamicModule, MemoryStream outputStream) +71 Telerik.Sitefinity.DynamicModules.Builder.ExportImport.ModuleExporter.ExportModuleAsZip(DynamicModule dynamicModule, Stream outputStream) +111 Telerik.Sitefinity.DynamicModules.Builder.Web.ImportExportModuleHttpHandler.ProcessRequest(HttpContextBase context) +333 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +859 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +98

     

    How can i fix this?

    Thank you,

    Maria

1 posts, 0 answered