View Issue Details

IDProjectCategoryView StatusLast Update
0002695NoesisGUIUnrealpublic2023-09-19 17:11
Reportersfernandez Assigned Tosfernandez  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.2.1 
Target Version3.2.2Fixed in Version3.2.2 
Summary0002695: Crash loading invalid xaml with VSCode plugin attached
DescriptionWhen editing the following xaml in VS Code while connected to Unreal lang server, it crashes the editor:

<Grid
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
  xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions">
  <Grid.Resources>
    <Storyboard x:Key="ShowText">
      <DoubleAnimationUsingKeyFrames Storyboard.TargetName="txt" Storyboard.TargetProperty="Opacity">
        <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
      </DoubleAnimationUsingKeyFrames>
    </Storyboard>
  </Grid.Resources>
  <b:Interaction.Triggers>
    <noesis:DataEventTrigger Source="{Binding}" EventName="OnTextOpened">
      <DataTrigger.EnterActions>
        <BeginStoryboard x:Name="ShowText" Storyboard="{StaticResource ShowText}"/>
      </DataTrigger.EnterActions>
    </noesis:DataEventTrigger>
  </b:Interaction.Triggers>
  <TextBlock x:Name="txt" Text="Hello World" Opacity="0"/>
</Grid>


The crash callstack is:

     Noesis.dll!Noesis::TypePropertyFunction<Noesis::Span,Noesis::UICollection<Noesis::Inline> * __ptr64>::GetComponent Line 159	C++
     Noesis.dll!Noesis::XamlNode::TrySetProperty Line 1355	C++
     Noesis.dll!Noesis::XamlNode::SetProperty Line 835	C++
     Noesis.dll!Noesis::XamlNode::SetFromObject Line 676	C++
     Noesis.dll!Noesis::XamlContext::AddNodeToParent Line 2271	C++
     Noesis.dll!Noesis::XamlContext::ProcessObject Line 1488	C++
     Noesis.dll!Noesis::XamlContext::OpenObject Line 1133	C++
     Noesis.dll!Noesis::XamlContext::ProcessProperty Line 2094	C++
     Noesis.dll!Noesis::XamlContext::ProcessObject Line 1560	C++
     Noesis.dll!Noesis::XamlContext::OpenObject Line 1133	C++
     Noesis.dll!Noesis::XamlContext::ProcessProperty Line 2094	C++
     Noesis.dll!Noesis::XamlContext::ProcessObject Line 1560	C++
     Noesis.dll!Noesis::XamlContext::CreateTree Line 705	C++
     Noesis.dll!Noesis::XamlReader::Load Line 39	C++
     Noesis.dll!LoadInternal Line 768	C++
     Noesis.dll!LoadInternal Line 799	C++
     Noesis.dll!Noesis::UI::LoadComponent Line 815	C++
     Noesis.dll!Noesis::GUI::LoadXaml Line 238	C++
     UnrealEditor-NoesisRuntime.dll!Noesis::GUI::LoadXaml<Noesis::BaseComponent> Line 17	C++
     UnrealEditor-NoesisRuntime.dll!Noesis::CapabilityDiagnostics::GetDiagnosticsMessage Line 94	C++
     UnrealEditor-NoesisRuntime.dll!Noesis::MessageReader::HandleMessage Line 207	C++
     UnrealEditor-NoesisRuntime.dll!Noesis::LangServer::Tick Line 341	C++
     [Inline Frame] UnrealEditor-NoesisEditor.dll!FNoesisEditorModule::OnPostEngineInit::__l2::operator() Line 322	C++
TagsNo tags attached.
PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-09-19 11:28 sfernandez New Issue
2023-09-19 11:32 sfernandez Description Updated
2023-09-19 11:32 sfernandez Description Updated
2023-09-19 11:33 sfernandez Description Updated
2023-09-19 11:33 sfernandez Assigned To => jsantos
2023-09-19 11:33 sfernandez Status new => assigned
2023-09-19 11:33 sfernandez Target Version => 3.2.2
2023-09-19 17:11 sfernandez Assigned To jsantos => sfernandez
2023-09-19 17:11 sfernandez Status assigned => resolved
2023-09-19 17:11 sfernandez Resolution open => fixed
2023-09-19 17:11 sfernandez Fixed in Version => 3.2.2