Board running in faulted state

Options

One of our users created a fairly complex rule that when attempting to save threw a couple of errors in the calculations. In so doing, this user got an error that the client was running in a faulted state and they should restart the client. After they exited the system, I entered Board and attempted to first modify the rule (eliminating the rule elements with an error) and saving the rule. 

 

This seemingly worked, however when I attempted to exit the rules section and review other areas of the database, Board threw an error, and suggested the same "faulted state error". After restarting, I deleted the rule, was able to seemingly save the database section, yet once again, Board threw the same error when attempting to go to another database section.

 

All of the other database sections and all capsules related to this database are working fine, so it only seems to be happening while interacting with the rules portion of the database. In reviewing the error log, Board reported the following error:

 

Exception Source: System.Xml

 

Assembly: BoardWinClient, Version=10.5.2.28670, Culture=neutral, PublicKeyToken=null

 

Exception type: System.ArgumentException

 

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

 

Exception stack:    at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)

   at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)

   at System.Xml.XmlWellFormedWriter.WriteValue(String value)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteString(XmlWriterDelegator xmlWriter, String value, XmlDictionaryString name, XmlDictionaryString ns)

   at WriteRuleElementTypeToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )

   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

   at WriteArrayOfRuleElementTypeToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )

   at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

   at WriteRecordRuleToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )

   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

   at WriteArrayOfRecordRuleToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )

   at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)

   at WriteRulesXmlListToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )

   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

   at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)

   at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)

   at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)

   at BoardWindows.DB_Manager.RulesControl.SaveIsNeeded()

   at BoardUILibrary.AbstractDBManagerControlWithDBComboBox.PreviewDatabaseChanged(String oldDBName)

   at BoardWorkspaceControl.BoardScreenArea.CloseTabs[T]() in C:\agent\_work\16\s\Board\BoardWorkspaceControl\BoardScreenArea.xaml.cs:line 614

   at BoardWorkspaceControl.BoardWorkspace.UserAllowsShutdown() in C:\agent\_work\16\s\Board\BoardWorkspaceControl\BoardWorkspace.xaml.cs:line 5561

   at BoardWinClient.Main.Main_Closing(Object sender, CancelEventArgs e) in C:\agent\_work\16\s\Board\BoardWinClient\Main.xaml.cs:line 74

   at System.Windows.Window.OnClosing(CancelEventArgs e)

   at System.Windows.Window.WmClose()

   at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

Current Principal: System.Security.Principal.GenericPrincipal

 

If anyone has suggestions as to how to fix this error, it would be appreciated.

Tagged:

Answers

  • Hello Mike, These happens due to lots of reasons and its a common issue faced during development few times, do you have any circular dependencies in the rules you have created ?

     

    Can you share your rule and logic behind it, or try debugging the rule step by step and find where the actual problem is triggered.

     

    Let me know ! Happy to help !

  • The rule was fairly straightforward addition without circularity but just was associated with a fair number of entities. I have subsequently deleted the rule completely, but this issue still persists even without the rule present in the database.

     

    Any other suggestions?

  • Hi Mike, 

    Is it possible for you to share data & capsule file ?Not the whole data , a shortcut key will allow you to share particular screen and capsule. 

    Need to check that before getting to conclusion. 

    Thanks and regards,Malav 

    Sent from Yahoo Mail on Android

     

      On Tue, 17 Dec 2019 at 9:59 PM, premiermike<do-not-reply.community@board.com> wrote:   

    #yiv7162518105 * #yiv7162518105 a #yiv7162518105 body {font-family:Helvetica, Arial, sans-serif;}#yiv7162518105 #yiv7162518105 h1, #yiv7162518105 h2, #yiv7162518105 h3, #yiv7162518105 h4, #yiv7162518105 h5, #yiv7162518105 h6, #yiv7162518105 p, #yiv7162518105 hr {}#yiv7162518105 .yiv7162518105button td {}

    |

     

         

     

     

     

    |

    Re: Board running in faulted state

     

    reply from Mike Martin in Use Board - View the full discussion

     

    The rule was fairly straightforward addition without circularity but just was associated with a fair number of entities. I have subsequently deleted the rule completely, but this issue still persists even without the rule present in the database.

     

     

     

    Any other suggestions?

     

    Reply to this message by replying to this email, or go to the message on BoardVille

    Start a new discussion in Use Board by email or at BoardVille

    Following Re: Board running in faulted state in these streams: Inbox

     

     

    This email was sent by BoardVille because you are a registered user.

    You may unsubscribe instantly from BoardVille, or adjust email frequency in your email preferences