Export Dynamic Module error

Posted by Community Admin on 04-Aug-2018 10:11

Export Dynamic Module error

All Replies

Posted by Community Admin on 18-Jan-2017 00:00

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

This thread is closed