UPK: Error "There Is An Error In XML Document (2, 18)" When Selecting Find and Replace

(Doc ID 2384185.1)

Last updated on APRIL 27, 2018

Applies to:

User Productivity Kit - Version 12.1.0.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.0.3 version, Client

When selecting Edit->Find and Replace,
the following error occurs.

ERROR
-----------------------
ERROR System.InvalidOperationException: There is an error in XML document (2, 18).
  at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader) at Gkn.OnDemand.Preference.PreferenceStorage.GetData[DataType](String name) in c:\BuildRoot\Engineering\Branches\HardRock\Core_DotNet\PreferenceComponent\PreferenceStorage.cs:line 255 at Gkn.OnDemand.SearchTool.SearchDialog.LoadMruList(String storage, ComboBox list) in c:\BuildRoot\Engineering\Branches\HardRock\Core_DotNet\SearchToolComponent\SearchDialog.cs:line 294 at Gkn.OnDemand.SearchTool.SearchDialog..ctor(IDocumentSelection selection) in c:\BuildRoot\Engineering\Branches\HardRock\Core_DotNet\SearchToolComponent\SearchDialog.cs:line 75 at Gkn.OnDemand.SearchTool.SearchToolMenuCommandTarget.FindAndReplaceCommand.Execute() in c:\BuildRoot\Engineering\Branches\HardRock\Core_DotNet\SearchToolComponent\SearchToolComponent.cs:line 122
  InnerException:
  System.Xml.XmlException: '^_', hexadecimal value 0x1F, is an invalid character. Line 2, position 18.
  at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args) at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, StringBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType) at System.Xml.XmlTextReaderImpl.ParseCharRefInline(Int32 startPos, Int32& charCount, EntityType& entityType) at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.ParseText() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlTextReader.Read() at System.Xml.XmlReader.ReadElementString() at System.Xml.Serialization.XmlSerializationPrimitiveReader.Read_string() at System.Xml.Serialization.XmlSerializer.DeserializePrimitive(XmlReader xmlReader, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms