View Issue Details

IDProjectCategoryLast Update
0019205AI War 2SuggestionJan 31, 2018 5:29 pm
ReporterBadgerBadger Assigned ToMichael  
Status closedResolutionwon't fix 
Product Version0.502 Mostly-Invisible UI Work 
Fixed in Version0.600 Tutorial Engine 
Summary0019205: hard to know where you made a mistake in xml
DescriptionSo it seems I've made a mistake in modding the XML, since I'm seeing errors like
7/24/2017 12:06:44 AM Harmless Info: dll AIWarExternalVisualizationCode does not contain a IInitialSetupForDLL type. This is fine, but if you're the author of that dll and want it to run init-code, it ain't happening right now.
7/24/2017 12:06:45 AM
-----------^M
NullReferenceException: Object reference not set to an instance of an object^M
Stack Trace: Arcen.AIW2.Core.EntitySystemTypeDataTable.NodeProcessor (Arcen.Universal.ArcenXMLElement Data, Arcen.AIW2.Core.EntitySystemTypeData TypeDataObject) (at D:/vclarge/AI_War_2_Ultra/ArcenAIW2Core/src/Logic/GameState/GameEntity/EntitySystemTypeData.cs:129)
Arcen.Universal.ArcenXML.ImportIntoDynamicTable[EntitySystemTypeData] (Arcen.Universal.ArcenDynamicTable`1 Table, System.String Path, Arcen.Universal.XmlDynamicTableImportRowProcessor`1 Processor, Boolean IsPostInitReparse, Arcen.Universal.Expansion ForExpansion) (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/Arce\
nExternalDefinitionFramework/ArcenXML.cs:242)
Arcen.Universal.ArcenXML+<ImportIntoDynamicTable_XMLDirectory>c__AnonStorey0`1[Arcen.AIW2.Core.EntitySystemTypeData].<>m__0 (System.String ModNameOrNull, Arcen.Universal.Expansion ExpansionOrNull) (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/ArcenExternalDefinitionFramework/ArcenXML.cs:171)
Arcen.Universal.ArcenXML.DoForConfigurations (Arcen.Universal.ArcenConfigurationProcessor Processor) (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/ArcenExternalDefinitionFramework/ArcenXML.cs:142)
Arcen.Universal.ArcenXML.ImportIntoDynamicTable_XMLDirectory[EntitySystemTypeData] (Arcen.Universal.ArcenDynamicTable`1 Table, Arcen.Universal.XmlDynamicTableImportRowProcessor`1 Processor, Boolean IsPostInitReparse) (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/ArcenExternalDefinitionFramework/ArcenXML.cs:195)
Arcen.Universal.ArcenDynamicTable`1[T].Initialize (Boolean IsPostInitReParse) (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/ArcenExternalDefinitionFramework/ArcenDynamicTable.cs:80)
Arcen.AIW2.Core.Engine_AIW2.LoadExternalDataLate (Boolean IsReload) (at D:/vclarge/AI_War_2_Ultra/ArcenAIW2Core/src/Logic/Engine_AIW2.cs:115)
Arcen.Universal.Engine_Universal.LoadExternalData (Boolean IsReload) (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/Engine_Universal.cs:583)
Arcen.Universal.Engine_Universal.OnApplicationInitialization () (at D:/vclarge/AI_War_2_Ultra/ArcenUniversal/src/Engine_Universal.cs:516)
ArcenGameController.Start () (at D:/vclarge/AI_War_2_Ultra/AIW2Unity/Assets/ArcenCode/ArcenGameController.cs:26)
^M


   at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 140
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 109
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 88
   at Arcen.Universal.Engine_Universal.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\Engine_Universal.cs:line 657
   at Arcen.Universal.Engine_Universal.LogWrittenFromUnity(System.String LogString, System.String StackTrace, LogType Type) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\Engine_Universal.cs:line 610
   at UnityEngine.Application.CallLogCallback(System.String logString, System.String stackTrace, LogType type, Boolean invokedOnMainThread) in /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/ApplicationBindings.gen.cs:line 562

when I start the game. Unfortunately, I've modded about a dozen files and this error message isn't super helpful; it tells me that I messed up, which is great. But some additional debug data (like "which file") would be really useful
TagsNo tags attached.

Activities

BadgerBadger

Jul 24, 2017 12:19 am

manager   ~0046397

Actually, you know the line
 Stack Trace: Arcen.AIW2.Core.EntitySystemTypeDataTable.NodeProcessor (Arcen.Universal.ArcenXMLElement Data, Arcen.AIW2.Core.EntitySystemTypeData TypeDataObject) (at D:/vclarge/AI_War_2_Ultra/ArcenAIW2Core/src/Logic/GameState/GameEntity/EntitySystemTypeData.cs:129)

actually has the information you need. But it's not as obvious as one could wish, I guess?

Michael

Jan 31, 2018 1:51 pm

administrator   ~0046791

Can this be closed, or would you like it kept to be looked at later?

Issue History

Date Modified Username Field Change
Jul 24, 2017 12:15 am BadgerBadger New Issue
Jul 24, 2017 12:19 am BadgerBadger Note Added: 0046397
Jan 31, 2018 1:51 pm Michael Assigned To => Michael
Jan 31, 2018 1:51 pm Michael Status new => feedback
Jan 31, 2018 1:51 pm Michael Note Added: 0046791
Jan 31, 2018 5:29 pm BadgerBadger Status feedback => closed
Jan 31, 2018 5:29 pm BadgerBadger Resolution open => won't fix
Jan 31, 2018 5:29 pm BadgerBadger Fixed in Version => 0.600 Tutorial Engine