wtijsma
-
1/20/2005 2:48:32 PM
BUG: Folder raises exception in preview mode
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:
Line 526: transformationIDAttrib.Value = transformationShortName.ToLower(); Line 527: transformationNode.Attributes.Append(transformationIDAttrib); Line 528: transformationNode.InnerXml = Strings.Replace(transformationXML.OuterXml + "", @"<?xml version=""1.0""?>", "", 1, -1, (CompareMethod) (0)); Line 529: mXML.SelectSingleNode("/applications/application[@id='" + applicationName.ToLower() + "']/classes/class[@id='" + className.ToLower() + "']/transformations").AppendChild(transformationNode); Line 530: }
Source File: C:\Projecten\Website\trunk\src\MetadataEngine_cs\MetadataProvider.cs Line: 528
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] System.Xml.XmlTextReader..ctor(String xmlFragment, XmlNodeType fragType, XmlParserContext context) System.Xml.XmlValidatingReader..ctor(String xmlFragment, XmlNodeType fragType, XmlParserContext context) System.Xml.XmlLoader.CreateInnerXmlValidatingReader(String xmlFragment, XmlNodeType nt, XmlParserContext context, XmlDocument doc) System.Xml.XmlLoader.ParsePartialContent(XmlNode parentNode, String innerxmltext, XmlNodeType nt) System.Xml.XmlLoader.LoadInnerXmlElement(XmlElement node, String innerxmltext) System.Xml.XmlElement.set_InnerXml(String value) Kentico.CMS.MetadataEngine.MetadataProvider.EnsureTransformation(String applicationName, String className, String transformationShortName) in C:\Projecten\Website\trunk\src\MetadataEngine_cs\MetadataProvider.cs:528 Kentico.CMS.MetadataEngine.MetadataProvider.GetTransformation(String transformationName) in C:\Projecten\Website\trunk\src\MetadataEngine_cs\MetadataProvider.cs:171 Kentico.CMS.ContentEngine.ContentProvider.Transform(String xml, String transformationName) in C:\Projecten\Website\trunk\src\ContentEngine_cs\ContentProvider.cs:363 Kentico.CMS.ContentEngine.ContentProvider.GetSingleNodeContent(String path, TreePathTypeEnum pathType, String className, String transformationName) in C:\Projecten\Website\trunk\src\ContentEngine_cs\ContentProvider.cs:123 Kentico.CMS.CMSControls.CMSViewer.GetContent() in C:\Projecten\Website\trunk\src\CMSControls_cs\CMSViewer.cs:374 Kentico.CMS.CMSControls.CMSViewer.CreateChildControls() in C:\Projecten\Website\trunk\src\CMSControls_cs\CMSViewer.cs:277 System.Web.UI.Control.EnsureChildControls() System.Web.UI.Control.PreRenderRecursiveInternal() System.Web.UI.Control.PreRenderRecursiveInternal() System.Web.UI.Control.PreRenderRecursiveInternal() System.Web.UI.Page.ProcessRequestMain()
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
|