New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack Overflow Exception #28
Comments
@waliarubal Can you post from where the stack overflow is coming, I am currently unable to do repro on my machine. |
@waliarubal When I run your app I get this: |
Check that the project file for FileSystem plugin looks like below. It has setting to emit output DLL to main project's output directory on build. Try taking latest from my master branch as I may have added some MEF changes that might effect. <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Update="**\*.xaml.cs">
<DependentUpon>%(Filename)</DependentUpon>
</Compile>
<AvaloniaResource Include="**\*.xaml">
<SubType>Designer</SubType>
</AvaloniaResource>
<AvaloniaResource Include="Assets\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="0.9.0-preview4" />
<PackageReference Include="Avalonia.Desktop" Version="0.9.0-preview4" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Jaya.Shared\Jaya.Shared.csproj" />
</ItemGroup>
<PropertyGroup Condition="'$(Platform)'=='AnyCPU'">
<OutputPath>..\Jaya.Ui\bin\$(Configuration)\</OutputPath>
</PropertyGroup>
</Project> |
Did you manage to reproduce it? Is the issue fixed now? |
@waliarubal Sorry did not have much time lately. I hope I can investigate over the weekend. |
Okay @wieslawsoltes , will be waiting eagerly for your fix. Just to re-mention, the below line in project file of plugins forces the plugins to be built in main program's output directory.
|
@waliarubal I get this: |
@waliarubal I have commented out this code: |
Interesting, I never checked after commenting the behaviour usage in my app but yes it occured when i did double click action on nodes. Anyways, is this a problem with Avalonia itself then or is their something I should do to prevent this? |
Yes, for now I just have this usage. |
Also let me know how were you able to step into external code since debugger never halted at that point in my machine? In future it will help me in being more verbose in diagnosing root cause of the issues. Thanks for your help and support. |
I just upgraded my project to latest preview of 0.9 and now its completely broken.
Avalonia.Xaml.Behaviors has started giving stack overflow exceptions. It was working very well with Avalonia 0.8.3 stable.
To reproduce follow below mentioned steps.
The text was updated successfully, but these errors were encountered: