Passolo 2016 always displays exceptions then crashes when try to render .Net WPF baml files.

Passolo version is Passolo Professional Edition 2016 Version: 16.0.412.0

I have a .Net WPF Application containing some WPF XAML files, and building with Visual Studio 2017. When I try to use Passolo to translate the application, it will always display above 3 exceptions when I try to open baml file using double-clicking. It will display one exception by double-clicking one time. Please see details in the below images:

Screenshot of Passolo Professional Edition 2016 with an error message window stating 'Following exceptions occurred during validation. It might have an impact on rendering: System.Xaml.XamlParseException'.Screenshot of Passolo Professional Edition 2016 with an error message window stating 'Following exceptions occurred during validation. It might have an impact on rendering: System.Windows.Markup.XamlParseException'.Screenshot of Passolo Professional Edition 2016 with an error message window stating 'Following exceptions occurred during validation. It might have an impact on rendering: System.InvalidOperationException'.

After double-clicking 4th time, it will display baml window normally, but then Passolo will crash soon, and there will a crash log in the Windows's Event Viewer:

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

Application: psl.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Xaml.XamlParseException
at System.Windows.Baml2006.Baml2006Reader.InjectPropertyAndFrameIfNeeded(System.Xaml.XamlType, SByte)
at System.Windows.Baml2006.Baml2006Reader.Process_ElementStart()
at System.Windows.Baml2006.Baml2006Reader.ReadObject(System.Windows.Baml2006.KeyRecord)
at System.Windows.ResourceDictionary.CreateObject(System.Windows.Baml2006.KeyRecord)
at System.Windows.ResourceDictionary.OnGettingValue(System.Object, System.Object ByRef, Boolean ByRef)
at System.Windows.ResourceDictionary.OnGettingValuePrivate(System.Object, System.Object ByRef, Boolean ByRef)
at System.Windows.ResourceDictionary.GetValueWithoutLock(System.Object, Boolean ByRef)
at System.Windows.ResourceDictionary.GetValue(System.Object, Boolean ByRef)
at System.Windows.ResourceDictionary.FetchResource(System.Object, Boolean, Boolean, Boolean, Boolean ByRef)
at System.Windows.SystemResources.LookupResourceInDictionary(System.Windows.ResourceDictionary, System.Object, Boolean, Boolean, Boolean ByRef)
at System.Windows.SystemResources.FindDictionaryResource(System.Object, System.Type, System.Windows.ResourceKey, Boolean, Boolean, Boolean, Boolean ByRef)
at System.Windows.SystemResources.FindResourceInternal(System.Object, Boolean, Boolean)
at System.Windows.SystemResources.FindThemeStyle(System.Windows.DependencyObjectType)
at System.Windows.StyleHelper.GetThemeStyle(System.Windows.FrameworkElement, System.Windows.FrameworkContentElement)
at System.Windows.FrameworkElement.UpdateThemeStyleProperty()
at System.Windows.FrameworkElement.OnInitialized(System.EventArgs)
at System.Windows.FrameworkElement.TryFireInitialized()
at System.Windows.FrameworkElement.OnVisualParentChanged(System.Windows.DependencyObject)
at System.Windows.Media.Visual.FireOnVisualParentChanged(System.Windows.DependencyObject)
at System.Windows.Media.Visual.AddVisualChild(System.Windows.Media.Visual)
at System.Windows.Media.VisualCollection.ConnectChild(Int32, System.Windows.Media.Visual)
at System.Windows.Media.VisualCollection.Add(System.Windows.Media.Visual)
at Pass.BamlParser.Editor.ResizeAdorner.BuildAdornerCorner(System.Windows.Controls.Primitives.Thumb ByRef, System.Windows.Input.Cursor)
at Pass.BamlParser.Editor.ResizeAdorner.BuildChilds()
at Pass.BamlParser.Editor.ResizeAdorner..ctor(System.Windows.UIElement, System.String, Boolean, Pass.BamlParser.DesignerHost, Pass.BamlParser.IWpfDataExchange)
at Pass.BamlParser.Editor.RootAdorner..ctor(System.Windows.UIElement, System.String, Boolean, Pass.BamlParser.IWpfDataExchange, Pass.BamlParser.DesignerHost)
at Pass.BamlParser.Editor.WpfEditor.Adorn(System.Windows.UIElement, Boolean)
at Pass.BamlParser.Editor.WpfEditor.SelectVisual(System.Windows.Media.Visual, Pass.BamlParser.Editor.VisualSelectedType, Boolean)
at Pass.BamlParser.Editor.WpfEditor.SelectElement(System.String)
at DnDotNet.Editor.WPFEditor.BamlView.OnSelChange(Pass.AddIn.Core.CPAITokenSelection, Boolean ByRef)
at DnDotNet.Editor.WPFEditor.BamlView.Pass.AddIn.Core.IPAINetCustomEditor.OnSelChange(Pass.AddIn.Core.CPAITokenSelection, Boolean ByRef)
at DnDotNet.Components.ViewComponent.OnSelChange(Pass.AddIn.Core.CPAITokenSelection, Boolean ByRef)
at Pass.AddIn.Framework.CustomEditor.Pass.AddIn.Core.IPAINetCustomEditor.OnSelChange(Pass.AddIn.Core.CPAITokenSelection, Boolean ByRef)
at <Module>.CInternalCustomEditor.CEOnSelChange(CInternalCustomEditor*, IPAITokenSelection*, Int32*)

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

I have created a simple WPF project, which only contains a simple Window, that also contains the above Passolo issues. Please see details in the attached file ("WpfAppPassolo.zip")WpfAppPassolo.zip.

Does anybody can help fix it or has a workaround for it?

Thanks.



Generated Image Alt-Text
[edited by: RWS Community AI at 3:12 PM (GMT 0) on 14 Nov 2024]
emoji
Parents Reply Children
No Data