Fumo-Unlockers / Xbox-Achievement-Unlocker

Achievement unlocker for xbox games (barely works but it does)
GNU General Public License v3.0
269 stars 60 forks source link

Unhandled exception occurred while grab info #11

Closed Erehmmgh closed 1 year ago

Erehmmgh commented 2 years ago

EDIT: The issue no longer persists in 1.3 game spoofer pog version. Cheers

Grab XAUTH is working and it attaches to Xbox app however when i click grab info this error message pops:

Unhandled exception has occurred in your application.

Nullable objects must have value.

DETAILS:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.InvalidOperationException: Nullable object must have a value. at System.Nullable`1.get_Value() at Xbox_Achievement_Unlocker.MainWindow.BTN_Info_Click(Object sender, EventArgs e) in C:\Users\comamnds\Source\Repos\Xbox-Achievement-Unlocker\MainWindow.cs:line 160 at System.Threading.Tasks.Task.<>c.b__140_0(Object state)

** Loaded Assemblies ** System.Private.CoreLib Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Private.CoreLib.dll

Xbox Achievement Unlocker Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/erehm/OneDrive/Desktop/X/Xbox%20Achievement%20Unlocker.dll

System.Runtime Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Runtime.dll

System.Windows.Forms Assembly Version: 5.0.17.0 Win32 Version: 5.0.1722.21504 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.17/System.Windows.Forms.dll

System.Windows.Forms.Primitives Assembly Version: 5.0.17.0 Win32 Version: 5.0.1722.21504 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.17/System.Windows.Forms.Primitives.dll

System.ComponentModel.Primitives Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.ComponentModel.Primitives.dll

System.Runtime.InteropServices Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Runtime.InteropServices.dll

System.Drawing.Primitives Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Drawing.Primitives.dll

System.Collections.Specialized Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Collections.Specialized.dll

System.Drawing.Common Assembly Version: 5.0.0.2 Win32 Version: 5.0.1221.52207 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.17/System.Drawing.Common.dll

System.Threading Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Threading.dll

System.Diagnostics.TraceSource Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Diagnostics.TraceSource.dll

System.Collections Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Collections.dll

Memory Assembly Version: 1.2.23.0 Win32 Version: 1.2.23.0 CodeBase: file:///C:/Users/erehm/OneDrive/Desktop/X/Memory.dll

netstandard Assembly Version: 2.1.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/netstandard.dll

System.Net.Http Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Net.Http.dll

System.Net.Primitives Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Net.Primitives.dll

System.Diagnostics.Tracing Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Diagnostics.Tracing.dll

System.Diagnostics.DiagnosticSource Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Diagnostics.DiagnosticSource.dll

System.Net.Security Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Net.Security.dll

System.Security.Cryptography.X509Certificates Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Security.Cryptography.X509Certificates.dll

Microsoft.Win32.Primitives Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/Microsoft.Win32.Primitives.dll

System.ComponentModel.EventBasedAsync Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.ComponentModel.EventBasedAsync.dll

System.Threading.Thread Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Threading.Thread.dll

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 5.0.1722.21504 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.17/Accessibility.dll

System.Runtime.Extensions Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Runtime.Extensions.dll

Microsoft.Win32.SystemEvents Assembly Version: 5.0.0.0 Win32 Version: 5.0.20.51904 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.17/Microsoft.Win32.SystemEvents.dll

System.ComponentModel.TypeConverter Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.ComponentModel.TypeConverter.dll

System.ComponentModel Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.ComponentModel.dll

System.Memory Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Memory.dll

System.Buffers Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Buffers.dll

System.Collections.NonGeneric Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Collections.NonGeneric.dll

System.Diagnostics.Process Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Diagnostics.Process.dll

System.Linq Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Linq.dll

System.Runtime.CompilerServices.Unsafe Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Runtime.CompilerServices.Unsafe.dll

System.Threading.ThreadPool Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Threading.ThreadPool.dll

System.Collections.Concurrent Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Collections.Concurrent.dll

System.Threading.Tasks.Parallel Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Threading.Tasks.Parallel.dll

System.IO.FileSystem Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.IO.FileSystem.dll

Newtonsoft.Json Assembly Version: 13.0.0.0 Win32 Version: 13.0.1.25517 CodeBase: file:///C:/Users/erehm/OneDrive/Desktop/X/Newtonsoft.Json.dll

System.Linq.Expressions Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Linq.Expressions.dll

System.ObjectModel Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.ObjectModel.dll

Microsoft.CSharp Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/Microsoft.CSharp.dll

System.Private.Uri Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Private.Uri.dll

System.Net.Sockets Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Net.Sockets.dll

System.Net.NameResolution Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Net.NameResolution.dll

System.Threading.Overlapped Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Threading.Overlapped.dll

System.Diagnostics.StackTrace Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Diagnostics.StackTrace.dll

System.Reflection.Metadata Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Reflection.Metadata.dll

System.Collections.Immutable Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Collections.Immutable.dll

System.Text.Encoding.Extensions Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Text.Encoding.Extensions.dll

System.Diagnostics.FileVersionInfo Assembly Version: 5.0.0.0 Win32 Version: 5.0.1722.21314 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.17/System.Diagnostics.FileVersionInfo.dll

** JIT Debugging **

mrsloth4994 commented 2 years ago

I'm getting this error now too. It's been working perfectly for the past week but today I get this error. @ItsLogic

ItsLogic commented 1 year ago

Honestly I just cant reproduce this. I have no idea whats going on. If i run into it ill try to fix but I just dont know whats causing it

HaZheRMx commented 1 year ago

Maybe it's the Antivirus software because of the reputation file. version 1.2 gives me the same error, because my antivirus "does not give permission to the file that is too new in the community"? and the Firewall of the same antivirus also blocked it (Norton)

but vesion 1.1 works fine for me

IGS-GIT commented 1 year ago

1.4 still having this issue. not sure if I need to put it in a specific spot. I don't run antivirus software. Tried 1.1 as well, same bug. is there a log file I can send or is the error message the only thing?

mrsloth4994 commented 1 year ago

All the you need to do is leave the xbox app open for a few minutes and then open up the tool

ItsLogic commented 1 year ago

Just a small update to this issue The "Unhandled exception" part of this will be fixed for the next release but the issue will persist because I cant predict if the X Auth token actually exists in the xbox app when I search. It will just show a normal message box instead of the scary error prompt. I cant really fix it I can just make it less painful for the end user when it does happen