Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
Nickel Contributor
Posts: 50
Registered: ‎02-16-2009

Error Creating Bundle

Hope someone can suggest a fix for this error that I'm encountering when attempting to create a bundle:

===================================

An application exception has occurred.

===================================

An error occurred creating the bundle.

===================================

There was an error generating the XML document. (System.Xml)

------------------------------
Program Location:

   at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
   at System.Xml.Serialization.XmlSerializer.Serialize(Stream stream, Object o, XmlSerializerNamespaces namespaces)
   at System.Xml.Serialization.XmlSerializer.Serialize(Stream stream, Object o)
   at Sage.Platform.BundleModel.BundleManifest.CreateBundle(String bundlePath)
   at Sage.Platform.BundleModel.AdminModule.BundleModelModule.CreateBundleWorker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.DoWorkEventHandler.Invoke(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

===================================

Object reference not set to an instance of an object. (Sage.Platform)

------------------------------
Program Location:

   at Sage.Platform.Orm.Entities.BundleSupport.RelationshipBundleItem.GetBundleData()
   at Sage.Platform.Projects.BundleItem.get_BundleData()
   at Sage.Platform.BundleModel.BundleData.WriteItemHierarchy(XmlWriter writer, IBundleItem item)
   at Sage.Platform.BundleModel.BundleData.WriteItemHierarchy(XmlWriter writer, IBundleItem item)
   at Sage.Platform.BundleModel.BundleData.WriteItemHierarchy(XmlWriter writer, IBundleItem item)
   at Sage.Platform.BundleModel.BundleData.WriteItemHierarchy(XmlWriter writer, IBundleItem item)
   at Sage.Platform.BundleModel.BundleData.System.Xml.Serialization.IXmlSerializable.WriteXml(XmlWriter writer)
   at System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterBundleData.Write1_BundleData(Object o)

Chad Morton
Highlighted
Nickel Contributor
Posts: 50
Registered: ‎02-16-2009

Re: Error Creating Bundle

we were able to identify the relationship in our bundle that needed to be removed due to the fact that the entity no longer exists.

Chad Morton