StrangeLoopGames / EcoIssues

131 stars 21 forks source link

USER ISSUE: Changing owner on a powered cart crashes and fails to complete #24536

Closed TheEvilGreebo closed 10 months ago

TheEvilGreebo commented 11 months ago

\ User Id: (slg233066) Version: 0.10.0.4 beta release-557

Steps to Reproduce: Own a powered cart Open the deed for the cart change the owner for the deed

Expected behavior: Succeeded

Actual behavior: The following error message popped up:

Server encountered an exception:

<size=60.00%>Exception: NullReferenceException
Message:Object reference not set to an instance of an object.
Source:System.Linq

System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.</size>...

Check log file to see full message.

This was from the server: [02:20:01] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr args, BindingFlags invokeAttr) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, Cultur eInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Eco.Shared.Networking.RPCManager.Invoke(INetClient client, RPCInvocation invocation) at Eco.Shared.Networking.RPCManager.InvokeOn(INetClient client, BSONObject bson, Object target, String methodName) at Eco.Shared.Networking.RPCManager.HandleReceiveRPC(INetClient client, BSONObject bson) at Eco.Plugins.Networking.NetworkServer.Eco.Shared.Networking.INetworkEventHandler.ReceiveEvent(INetClient client, NetworkEve nt netEvent, BSONValue bsonValue) at Eco.Plugins.Networking.Client.<.ctor>b__78_4() System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr args, BindingFlags invokeAttr) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, Cultur eInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Eco.Shared.Networking.RPCManager.Invoke(INetClient client, RPCInvocation invocation) at Eco.Core.Controller.ControllerManager.HandleViewRPC(INetClient client, Int32 universalID, String methodIdOrName, BSONObjec t bson) at InvokeStub_Client.ViewRPC(Object, Object, IntPtr) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr args, BindingFlags invokeAttr) System.NullReferenceException: Object reference not set to an instance of an object. at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at System.Linq.Enumerable.DistinctIterator1.MoveNext() at System.Linq.Enumerable.Contains[TSource](IEnumerable1 source, TSource value, IEqualityComparer1 comparer) at Eco.Gameplay.Civics.Laws.LawManager.Perform(GameAction action, AccountChangeSet acc) at Eco.Gameplay.GameActions.GameActionManager.TryPerformActions(PackFlags flags, List1 actions, IEnumerable1 preTests, IEnu merable`1 postEffects, AccountChangeSet acc) at Eco.Gameplay.GameActions.GameActionManager.TryPerformActions(User userToNotify, GameActionPack actionPack) at Eco.Gameplay.Property.Deed.TryChangeOwners(GameActionPack pack, Player changer, IAlias newOwner, Boolean transferAction, B oolean autoPerform, Boolean okBox, Boolean superAccess) at Eco.Gameplay.Property.Deed.ChangeOwners(Player changer, IAlias newOwner) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void* arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr args, BindingFlags invokeAttr)

Do you have mods installed? Does the issue happen when no mods are installed?:

**Please provide log files. Instruction is here https://github.com/StrangeLoopGames/EcoIssues/wiki/Getting-the-Eco-game-log-file

D3nnis3n commented 10 months ago

Fixed in playtest.