Passolo 2016 always display exceptions when try to render .Net WPF baml files.

Possolo version is Passolo Professional Edition 2016 Version: 16.0.412.0

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

Screenshot of Passolo Professional Edition 2016 with an error message 'Following exceptions occurred during window creation. It might have an impact on rendering.' Details are in a red-bordered box.Screenshot of Passolo with a repeated error message about exceptions during window creation, impacting rendering, highlighted in a red box.Screenshot showing Passolo with a warning message 'Following exceptions occurred during window creation.' with details in a red box and the Passolo version info window.

When double clicking 4rd time, it will display the baml Window normally, but then Passolo will crash soon, and there will be 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 .Net WPF project which only contains a simple Window, that also contains the above Passolo issues, please see details in the attached file (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:15 PM (GMT 0) on 14 Nov 2024]
emoji