Error in Soviet 04b campaign in release 20150919

Error in Soviet 04b campaign in release 20150919

Information and discussion for custom maps and mods.
Post Reply
SandJ
Posts: 1
Joined: Fri Sep 25, 2015 1:57 pm

Error in Soviet 04b campaign in release 20150919

Post by SandJ »

I just got an error in Soviet 04b campaign in release 20150919 of OpenRA. I have just updated OpenRA to that version.

The error is in the attached screendump.

It says to provide lua.log - I cannot attach a .log file, so here it is:

Fatal Lua Error: [string "BindingSupport.lua"]:30: Uncaught CLR exception at Lua->CLR boundary: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Attempted to get trait from destroyed object (c1 191 (not in world))
at OpenRA.TraitDictionary.CheckDestroyed (OpenRA.Actor actor) [0x00000] in <filename unknown>:0
at OpenRA.TraitDictionary.GetOrDefault[ScriptTriggers] (OpenRA.Actor actor) [0x00000] in <filename unknown>:0
at OpenRA.Actor.TraitOrDefault[ScriptTriggers] () [0x00000] in <filename unknown>:0
at OpenRA.Mods.Common.Scripting.TriggerGlobal.GetScriptTriggers (OpenRA.Actor a) [0x00000] in <filename unknown>:0
at OpenRA.Mods.Common.Scripting.TriggerGlobal.OnAllKilled (OpenRA.Actor[] actors, Eluant.LuaFunction func) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at OpenRA.Scripting.ScriptMemberWrapper.Invoke (Eluant.LuaVararg args) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at Eluant.LuaRuntime+MethodWrapper.Invoke (System.Object[] parms) [0x00000] in <filename unknown>:0
at Eluant.LuaRuntime.MakeManagedCall (IntPtr state, Eluant.MethodWrapper wrapper) [0x00000] in <filename unknown>:0
at OpenRA.Scripting.ScriptContext.FatalError(System.String message)
at OpenRA.Mods.Common.Scripting.TriggerGlobal+<OnEnteredFootprint>c__AnonStorey6.<>m__0(OpenRA.Actor a)
at OpenRA.Traits.ActorMap+CellTrigger.Tick(OpenRA.Traits.ActorMap actorMap)
at OpenRA.Traits.ActorMap.Tick(OpenRA.Actor self)
at OpenRA.World.<Tick>m__3(TraitPair`1 x)
at OpenRA.WorldUtils.DoTimed(IEnumerable`1 e, System.Action`1 a, System.String text)
at OpenRA.World.Tick()
at OpenRA.Game.InnerLogicTick(OpenRA.Network.OrderManager orderManager)
at OpenRA.Game.LogicTick()
at OpenRA.Game.Loop()
at OpenRA.Game.Run()
at OpenRA.Program.Run(System.String[] args)
at OpenRA.Program.Main(System.String[] args)
Attachments
Screenshot_2015-09-25_15-14-33.png
Screenshot_2015-09-25_15-14-33.png (39.66 KiB) Viewed 3959 times

abcdefg30
Posts: 664
Joined: Mon Aug 18, 2014 6:00 pm

Post by abcdefg30 »

Thanks for the report! I'll have a look into this ASAP.

abcdefg30
Posts: 664
Joined: Mon Aug 18, 2014 6:00 pm

Post by abcdefg30 »

Indeed a good find. I filed OpenRA/OpenRA#9462 to fix it.

Post Reply