View Issue Details

IDProjectCategoryLast Update
0026040AI War 2Crash/ExceptionJan 6, 2022 4:30 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.778 Quick Fixes 
Fixed in VersionBeta 3.781 Tachyon Healing Reversal 
Summary0026040: Error on hacking start
DescriptionI was trying to hack an ARS when I hit this crash:

1/1/2022 11:37:29 AM 3.778 SINGLEP Error in OnClient_SendClientCommandsToServer, debugStage 16000: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.Universal.ArcenSerializationBuffer.AddIntUltraEfficient (Arcen.Universal.UltraEfficientStyle UEStyle, System.Int32 Item, System.String FieldNameForErrors, Arcen.Universal.UEErrorStyle ErrorStyle) [0x0000e] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenSerializationUltraEfficientExtensions.cs:1374
  at ArcenSerializationAIWar2SpecificExtensions.AddBig3PrimaryKeyID_PosNoDef (Arcen.Universal.ArcenSerializationBuffer Buffer, System.Int32 Value, System.String FieldNameForErrors) [0x0000f] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/ArcenSerializationAIWar2SpecificExtensions.cs:288
  at Arcen.AIW2.External.ShipGeneralFocusChatHandler.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer) [0x00020] in <8b2b705e696345f38e8a24779572f657>:0
  at Arcen.Universal.ChatClickHandler.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.IChatClickHandler HandlerToSerialize) [0x0004c] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Logic/Tables/ChatClickHandler.cs:93
  at Arcen.AIW2.Core.GameCommand.SerializeTo_AlwaysForNetworkNeverDisk (Arcen.Universal.ArcenSerializationBuffer Buffer) [0x00415] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/GameCommand.cs:153
  at Arcen.AIW2.Core.AIWar2Networking.OnClient_SendClientCommandsToServer () [0x000e6] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2Networking.cs:72
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00197] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:411
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00051] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:242
  at Arcen.AIW2.Core.AIWar2Networking.OnClient_SendClientCommandsToServer () [0x001c4] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2Networking.cs:101
  at Arcen.AIW2.Core.World_AIW2.OnClient_SendClientCommandsAndSuchToServer () [0x00006] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:3783
  at Arcen.AIW2.Core.World_AIW2.OnClientOrHost_HandleNetworkFrameCompletion () [0x0000c] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:3774
  at Arcen.AIW2.Core.Engine_AIW2.ProcessArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.String& reasonForNoVisualUpdates) [0x00170] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Engine_AIW2.cs:1441
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x0044d] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Engine_Universal.cs:1381
TagsNo tags attached.

Relationships

related to 0026038 resolvedChris_McElligottPark Serialization error when loading a game after playing 

Activities

Chris_McElligottPark

Jan 1, 2022 6:24 pm

administrator   ~0063633

Thanks!

* Fixed an unexpected error in serialization that was possible sometimes if certain data had not been recalculated recently enough.

BadgerBadger

Jan 5, 2022 9:42 pm

manager   ~0063658

I still see this when triggering a hack

1/5/2022 7:42:00 PM 3.780 SINGLEP Error in OnClient_SendClientCommandsToServer, debugStage 16000: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.Universal.ArcenSerializationBuffer.AddIntUltraEfficient (Arcen.Universal.UltraEfficientStyle UEStyle, System.Int32 Item, System.String FieldNameForErrors, Arcen.Universal.UEErrorStyle ErrorStyle) [0x00047] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenSerializationUltraEfficientExtensions.cs:1397
  at ArcenSerializationAIWar2SpecificExtensions.AddBig3PrimaryKeyID_PosNoDef (Arcen.Universal.ArcenSerializationBuffer Buffer, System.Int32 Value, System.String FieldNameForErrors) [0x0001a] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/ArcenSerializationAIWar2SpecificExtensions.cs:296
  at Arcen.AIW2.External.ShipGeneralFocusChatHandler.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer) [0x00020] in <75b975acbb774a8cadb671c0942d4ca7>:0
  at Arcen.Universal.ChatClickHandler.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.IChatClickHandler HandlerToSerialize) [0x0004c] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Logic/Tables/ChatClickHandler.cs:93
  at Arcen.AIW2.Core.GameCommand.SerializeTo_AlwaysForNetworkNeverDisk (Arcen.Universal.ArcenSerializationBuffer Buffer) [0x00415] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/GameCommand.cs:153
  at Arcen.AIW2.Core.AIWar2Networking.OnClient_SendClientCommandsToServer () [0x000e6] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2Networking.cs:72
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00197] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:411
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00051] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:242
  at Arcen.AIW2.Core.AIWar2Networking.OnClient_SendClientCommandsToServer () [0x001c4] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2Networking.cs:101
  at Arcen.AIW2.Core.World_AIW2.OnClient_SendClientCommandsAndSuchToServer () [0x00006] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:3824
  at Arcen.AIW2.Core.World_AIW2.OnClientOrHost_HandleNetworkFrameCompletion () [0x0000c] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:3815
  at Arcen.AIW2.Core.Engine_AIW2.ProcessArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.String& reasonForNoVisualUpdates) [0x00170] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Engine_AIW2.cs:1454
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x0044d] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Engine_Universal.cs:1381

Chris_McElligottPark

Jan 6, 2022 4:30 pm

administrator   ~0063673

Seems I did get it this time, I tested it in the giant slow game on a TSS and an ARS. Thanks!

* Possibly fixed the exception that could happen in AddIntUltraEfficient. I've been chasing this one for a bit, not sure if I've fully got it.

Issue History

Date Modified Username Field Change
Jan 1, 2022 1:38 pm BadgerBadger New Issue
Jan 1, 2022 1:38 pm BadgerBadger Relationship added related to 0026038
Jan 1, 2022 6:24 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jan 1, 2022 6:24 pm Chris_McElligottPark Status new => resolved
Jan 1, 2022 6:24 pm Chris_McElligottPark Resolution open => fixed
Jan 1, 2022 6:24 pm Chris_McElligottPark Fixed in Version => Beta 3.778 Quick Fixes
Jan 1, 2022 6:24 pm Chris_McElligottPark Note Added: 0063633
Jan 5, 2022 9:42 pm BadgerBadger Note Added: 0063658
Jan 5, 2022 9:43 pm BadgerBadger Status resolved => assigned
Jan 6, 2022 4:30 pm Chris_McElligottPark Status assigned => resolved
Jan 6, 2022 4:30 pm Chris_McElligottPark Fixed in Version Beta 3.778 Quick Fixes => Beta 3.781 Tachyon Healing Reversal
Jan 6, 2022 4:30 pm Chris_McElligottPark Note Added: 0063673