Continuous Integration erro

Alex Koshel asked on February 9, 2021 18:57

Hello. I have log.

EventID: 115748

EventType: E

EventTime: 2/9/2021 6:06:27 PM

Source: Continuous Integration

EventCode: SerializationFailed

UserName: alexandrk

IPAddress: ::1

EventDescription: Message: Serialization of object type "Page template" (cms.pagetemplate) failed for object "Home page ad-hoc" (PageTemplateID: 38345). See inner exception for further details.

Exception type: CMS.ContinuousIntegration.ObjectTypeSerializationException Stack trace: at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.StoreSingleObjectTypeObject(FileSystemStoreJob storeJob, ObjectTypeInfo typeInfo, String objectType, BaseInfo info, Int32 counter, Int32 total) at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.<>c__DisplayClass8_0.b__0(BaseInfo info) at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](CancellationToken cancellationToken, IEnumerable1 collection, Action2 action) at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](CancellationToken cancellationToken, IEnumerable1 collection, Action1 action) at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.StoreAllObjectTypeObjects(String objectType, Int32 counter, Int32 total) at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](CancellationToken cancellationToken, IEnumerable1 collection, Action2 action) at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.StoreObjects() at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.RunInternal(CancellationToken cancellationToken) at CMS.ContinuousIntegration.Internal.AbstractFileSystemAllJob.Run(Nullable`1 cancellationToken)

Message: Serialization of the object CMS.PortalEngine.PageTemplateInfo (cms.pagetemplate) - Home page ad-hoc has failed.

Exception type: CMS.ContinuousIntegration.ObjectSerializationException Stack trace: at CMS.ContinuousIntegration.Internal.AbstractSingleObjectJob.Run(BaseInfo baseInfo) at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.StoreSingleObjectTypeObject(FileSystemStoreJob storeJob, ObjectTypeInfo typeInfo, String objectType, BaseInfo info, Int32 counter, Int32 total)

Message: '', hexadecimal value 0x12, is an invalid character.

Exception type: System.ArgumentException Stack trace: at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize) at System.Xml.XmlUtf8RawTextWriter.WriteCDataSection(String text) at System.Xml.XmlUtf8RawTextWriter.WriteCData(String text) at System.Xml.XmlWellFormedWriter.WriteCData(String text) at CMS.Helpers.FormattedXmlWriter.WriteCData(String text) at System.Xml.XmlElement.WriteElementTo(XmlWriter writer, XmlElement e) at System.Xml.XmlDocument.WriteContentTo(XmlWriter xw) at CMS.Helpers.XmlExtensions.WriteFormattedXmlToStream(XmlDocument document, Stream stream, Boolean omitXmlDeclaration, Encoding encoding) at CMS.ContinuousIntegration.FileSystemWriter.StoreToFile(String relativePath, Action`1 fileStreamWriteAction) at CMS.ContinuousIntegration.Internal.AbstractSingleObjectJob.Run(BaseInfo baseInfo)

How to fix it? thanks

Correct Answer

Trevor Fayas answered on February 10, 2021 17:58

Looking through here, i do see DDoS Protection Products&#x12; in the code, this is an invalid XML character so it's blowing up. Can you go find that part (part of the StaticHtml6 webpart) and remove that character there so it no longer shows? then it should work! My guess is a bad copy and paste included an illegal character.

Should be somewhere where you have a <a href="/">DDoS Protection Products</a>

1 votesVote for this answer Unmark Correct answer

Recent Answers


Trevor Fayas answered on February 9, 2021 23:37

Can you copy the WebParts content of that page template here? I want to see where this 0x12 may be.

0 votesVote for this answer Mark as a Correct answer

Alex Koshel answered on February 10, 2021 18:06

Thx.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.