Deweh / CyberCAT-SimpleGUI

A simplified offshoot of SirBitesalot's CyberCAT.
MIT License
233 stars 45 forks source link

Exception when trying to load the save file #27

Closed Ein6tein closed 3 years ago

Ein6tein commented 3 years ago

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

** Exception Text ** System.AggregateException: One or more errors occurred. (Requested value 'None' was not found.) ---> System.ArgumentException: Requested value 'None' was not found. at System.Enum.TryParseByName(RuntimeType enumType, String originalValueString, ReadOnlySpan1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result) at System.Enum.TryParseInt32Enum(RuntimeType enumType, String originalValueString, ReadOnlySpan1 value, Int32 minInclusive, Int32 maxInclusive, Boolean ignoreCase, Boolean throwOnFailure, TypeCode type, Int32& result) at System.Enum.TryParse(Type enumType, String value, Boolean ignoreCase, Boolean throwOnFailure, Object& result) at CyberCAT.Core.Classes.Parsers.GenericUnknownStructParser.ReadMappedFieldValue(BinaryReader reader, Type internalType) at CyberCAT.Core.Classes.Parsers.GenericUnknownStructParser.ReadMappedFields(BinaryReader reader, BaseClassEntry cls) at CyberCAT.Core.Classes.Parsers.GenericUnknownStructParser.<>cDisplayClass11_0.b0(KeyValuePair`2 pair) at System.Threading.Tasks.Parallel.<>cDisplayClass44_0`2.b1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) --- End of stack trace from previous location --- at System.Threading.Tasks.Parallel.<>c__DisplayClass44_02.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) at System.Threading.Tasks.TaskReplicator.Replica1.ExecuteAction(Boolean& yieldedBeforeCompletion) at System.Threading.Tasks.TaskReplicator.Replica.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction1 action, ParallelOptions options, Boolean stopOnFirstFailure) at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner1 source, ParallelOptions parallelOptions, Action1 simpleBody, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) --- End of stack trace from previous location --- at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException) at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner1 source, ParallelOptions parallelOptions, Action1 simpleBody, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable1 source, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action1 body) at CyberCAT.Core.Classes.Parsers.GenericUnknownStructParser.InternalRead(NodeEntry node, BinaryReader reader) at CyberCAT.Core.Classes.Parsers.GenericUnknownStructParser.ReadWithMapping(NodeEntry node, BinaryReader reader, List1 parsers) at CyberCAT.Core.Classes.Parsers.PSDataParser.Read(NodeEntry node, BinaryReader reader, List1 parsers) at CyberCAT.Core.Classes.Parsers.ParserUtils.ParseChildren(IEnumerable1 children, BinaryReader reader, List1 parsers) at CyberCAT.Core.Classes.Parsers.DefaultParser.Read(NodeEntry node, BinaryReader reader, List1 parsers) at CyberCAT.Core.Classes.Parsers.ParserUtils.ParseChildren(IEnumerable1 children, BinaryReader reader, List1 parsers) at CyberCAT.Core.Classes.SaveFile.LoadFromStream(Stream stream) at CyberCAT.Core.Classes.SaveFile.Load(Stream inputStream) at CP2077SaveEditor.SaveFileHelper.Load(Stream inputStream) at CP2077SaveEditor.Form1.openSaveButton_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at CP2077SaveEditor.ModernButton.TextMouseUp(Object sender, EventArgs e) at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Label.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

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

CP2077SaveEditor Assembly Version: 1.0.0.0 Win32 Version: n/a CodeBase:

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

System.Windows.Forms Assembly Version: 5.0.2.0 Win32 Version: 5.0.220.61301 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.2/System.Windows.Forms.dll

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

System.Windows.Forms.Primitives Assembly Version: 5.0.2.0 Win32 Version: 5.0.220.61301 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.2/System.Windows.Forms.Primitives.dll

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

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

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

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

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

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

CyberCAT.Core Assembly Version: 1.0.0.0 Win32 Version: n/a CodeBase:

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

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

System.Drawing.Common Assembly Version: 5.0.0.0 Win32 Version: 5.0.20.51904 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.2/System.Drawing.Common.dll

System.Text.RegularExpressions Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Text.RegularExpressions.dll

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

Newtonsoft.Json Assembly Version: 12.0.0.0 Win32 Version: n/a CodeBase:

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

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

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

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

System.Runtime.Extensions Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/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.2/Microsoft.Win32.SystemEvents.dll

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

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

System.Resources.Extensions Assembly Version: 5.0.0.0 Win32 Version: 5.0.20.51904 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.2/System.Resources.Extensions.dll

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

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

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

System.Drawing Assembly Version: 5.0.2.0 Win32 Version: 5.0.220.61301 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.2/System.Drawing.dll

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

System.Runtime.Serialization.Formatters Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Runtime.Serialization.Formatters.dll

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

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

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

System.Runtime.Serialization.Primitives Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Runtime.Serialization.Primitives.dll

System.Data.Common Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Data.Common.dll

System.Xml.ReaderWriter Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Xml.ReaderWriter.dll

System.Private.Xml Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Private.Xml.dll

System.Reflection.Emit.ILGeneration Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Reflection.Emit.ILGeneration.dll

System.Reflection.Primitives Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Reflection.Primitives.dll

System.Reflection.Emit.Lightweight Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Reflection.Emit.Lightweight.dll

Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Private.CoreLib.dll

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

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

System.Configuration.ConfigurationManager Assembly Version: 5.0.0.0 Win32 Version: 5.0.20.51904 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/5.0.2/System.Configuration.ConfigurationManager.dll

System.Resources.Writer Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Resources.Writer.dll

System.Xml.XDocument Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Xml.XDocument.dll

System.Private.Xml.Linq Assembly Version: 5.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/System.Private.Xml.Linq.dll

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

K4os.Compression.LZ4 Assembly Version: 1.2.6.0 Win32 Version: n/a CodeBase:

mscorlib Assembly Version: 4.0.0.0 Win32 Version: 5.0.220.61120 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/5.0.2/mscorlib.dll

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

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

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

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

** JIT Debugging **

Deweh commented 3 years ago

Are you on v0.08a_r3? This looks to be a duplicate of an issue that was fixed in that version. If you are, please attach the save file that is causing the issue.

Ein6tein commented 3 years ago

Yeap, r3

Here's my save file sav.zip

Deweh commented 3 years ago

I'm not getting any error when loading that save on v0.08a_r3.

Ein6tein commented 3 years ago

Huh... Strange, yesterday I was getting that error, today it's gone for me too...

thor1111 commented 3 years ago

I'm new to this...Sorry if posting a theard wasn't the right thing to do. Please report this issue at https://github.com/Deweh/CyberCAT-SimpleGUI/issues WrongDefaultValue Class Name: GameScanningComponentPS Property: isDecriptionEnabled Value: False