While working with Pega Studio 22.1.12, an error occurs:
ERROR | 2024-02-14 01:19:20.742 | 1 | STA | Shell | App | Unhandled exception has occurred that may cause the application to become unstable. Terminate Pega Robot Studio?
Input string was not in a correct format.
System.Windows.Markup.XamlParseException: Input string was not in a correct format. —> System.FormatException: Input string was not in a correct format.
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.String.System.IConvertible.ToDouble(IFormatProvider provider)
at Pega.Studio.UI.Converters.ControlSizeRelativeToScreenConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
w System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
w System.Windows.Data.BindingExpression.Activate(Object item)
w System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
w System.Windows.Data.BindingExpression.AttachOverride(DependencyObject target, DependencyProperty dp)
w System.Windows.Data.BindingExpressionBase.OnAttach(DependencyObject d, DependencyProperty dp)
w System.Windows.StyleHelper.GetInstanceValue(UncommonField1 dataField, DependencyObject container, FrameworkElement feChild, FrameworkContentElement fceChild, Int32 childIndex, DependencyProperty dp, Int32 i, EffectiveValueEntry& entry) w System.Windows.FrameworkTemplate.ReceivePropertySet(Object targetObject, XamlMember member, Object value, DependencyObject templatedParent) w System.Windows.FrameworkTemplate.<>c__DisplayClass45_0.<LoadOptimizedTemplateContent>b__3(Object sender, XamlSetValueEventArgs setArgs) w System.Xaml.XamlObjectWriter.OnSetValue(Object eventSender, XamlMember member, Object value) w System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(ObjectWriterContext ctx, XamlMember prop, Object value, Boolean onParent) w System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(ObjectWriterContext ctx) w System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx) w System.Xaml.XamlObjectWriter.WriteEndObject() w System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter) --- End of internal exception stack trace --- w System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) w System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter) w System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlObjectWriter objectWriter) w System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List1 affectedChildren, UncommonField1 templatedNonFeChildrenField) w System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List1 affectedChildren)
w System.Windows.StyleHelper.ApplyTemplateContent(UncommonField1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate) w System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField1 templateDataField, FrameworkElement container)
w System.Windows.FrameworkElement.ApplyTemplate()
w System.Windows.FrameworkElement.MeasureCore(Size availableSize)
w System.Windows.UIElement.Measure(Size availableSize)
w System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
w System.Windows.FrameworkElement.MeasureCore(Size availableSize)
w System.Windows.UIElement.Measure(Size availableSize)
w System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
w System.Windows.FrameworkElement.MeasureCore(Size availableSize)
w System.Windows.UIElement.Measure(Size availableSize)
w System.Windows.Controls.Primitives.PopupRoot.MeasureOverride(Size constraint)
w System.Windows.FrameworkElement.MeasureCore(Size availableSize)
w System.Windows.UIElement.Measure(Size availableSize)
w System.Windows.Interop.HwndSource.SetLayoutSize()
w System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
w System.Windows.Controls.Primitives.Popup.SetRootVisualToPopupRoot()
w System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean asyncCall)
w System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
w System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
w System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
w System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
w System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
w System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
w System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
w System.Windows.Controls.Primitives.Popup.CreateRootPopupInternal(Popup popup, UIElement child, Boolean bindTreatMousePlacementAsBottomProperty)
w System.Windows.Controls.ToolTip.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
w System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
w System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
w System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
w System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
w System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
w System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
w System.Windows.Controls.PopupControlService.RaiseToolTipOpeningEvent(Boolean fromKeyboard)
w System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
w System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Sometimes the error occurs after opening the project, and sometimes immediately upon starting Pega Studio. I tried deleting files in AppData\Roaming\Pegasystems, and then reinstalling the application, but the error still persists. What could be causing this?