Skip to content
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

UABEAvalonia has stopped working #15

Closed
luatsenpai opened this issue Apr 24, 2021 · 5 comments
Closed

UABEAvalonia has stopped working #15

luatsenpai opened this issue Apr 24, 2021 · 5 comments

Comments

@luatsenpai
Copy link

Hello, I tried your tool, but when i open file the tool has stopped
How to fix this?
Sorry my bad english
error

@nesrak1
Copy link
Owner

nesrak1 commented Apr 26, 2021

After it crashes, open event viewer and look in Windows Logs -> Application. There should be a .NET Runtime error. Paste the stack trace from there so I can see what's going wrong.

Like this:
image

Also, if you have a file you can send that will help too.

@luatsenpai
Copy link
Author

After it crashes, open event viewer and look in Windows Logs -> Application. There should be a .NET Runtime error. Paste the stack trace from there so I can see what's going wrong.

Like this:
image

Also, if you have a file you can send that will help too.

Application: UABEAvalonia.exe
CoreCLR Version: 5.0.521.16609
.NET Version: 5.0.5
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException: Value does not fall within the expected range.
at Avalonia.Win32.Interop.UnmanagedMethods.IShellItem.GetDisplayName(UInt32 sigdnName, IntPtr& ppszName)
at Avalonia.Win32.SystemDialogImpl.GetAbsoluteFilePath(IShellItem shellItem) in //src/Windows/Avalonia.Win32/SystemDialogImpl.cs:line 153
at Avalonia.Win32.SystemDialogImpl.<>c__DisplayClass1_0.b__0() in /
/src/Windows/Avalonia.Win32/SystemDialogImpl.cs:line 90
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at UABEAvalonia.MainWindow.MenuOpen_Click(Object sender, RoutedEventArgs e) in C:\Users\nesquack\source\repos\UABEAvalonia\UABEAvalonia\MainWindow.axaml.cs:line 89 at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state) at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass5_0.<Post>b__0() in /_/src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs:line 33 at Avalonia.Threading.JobRunner.Job.Avalonia.Threading.JobRunner.IJob.Run() in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 166 at Avalonia.Threading.JobRunner.RunJobs(Nullable1 priority) in //src/Avalonia.Base/Threading/JobRunner.cs:line 37
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in /
/src/Windows/Avalonia.Win32/Win32Platform.cs:line 208
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 157
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /
/src/Avalonia.Base/Threading/Dispatcher.cs:line 61
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 107
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /
/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 134
at UABEAvalonia.Program.Main(String[] args) in C:\Users\nesquack\source\repos\UABEAvalonia\UABEAvalonia\Program.cs:line 13

@nesrak1
Copy link
Owner

nesrak1 commented Apr 26, 2021

Looks like this is an Avalonia bug specifically on Windows 7.

Other people have reported that here:

So there's not much I can do until Avalonia pushes a fix.

@nesrak1
Copy link
Owner

nesrak1 commented Apr 27, 2021

I played around a bit with trying to open files in a windows 7 vm and found out that it seems to crash when opening the file from Libraries/Documents. When opened from UserFolder/My Documents opened it fine.

Bad:
VirtualBoxVM_3iMQ1clipb

Good:
VirtualBoxVM_4cJNKS2XBS

@luatsenpai
Copy link
Author

I tried it and it works, thank :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants