NRE when updating with agentFixed

New error.

[uMod] 11:46 PM [Error] Object reference not set to an instance of an object. (uMod.Agent)

   at uMod.Agent.Configuration.PackageInfo.Install(Boolean developBranch, PackageLockInfo& packageLock, String destinationDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /builds/umod/tools/agent/src/uMod.Agent/Configuration/Manifest.cs:line 580

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.

   at uMod.Agent.Utility.PackageManager.UpdateOrInstall(Boolean developBranch, IEnumerable`1 packages, String destinationDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /builds/umod/tools/agent/src/uMod.Agent/Utility/PackageManager.cs:line 411

   at uMod.Agent.Configuration.PackageInfo.Install(Boolean developBranch, PackageLockInfo& packageLock, String destinationDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /builds/umod/tools/agent/src/uMod.Agent/Configuration/Manifest.cs:line 580

   at uMod.Agent.Commands.Install.InstallCore(GameInfo gameInfo, PackageManager packageManager, Lock versionLock, IWorkflowContext context) in /builds/umod/tools/agent/src/uMod.Agent/Commands/Install.cs:line 1139

   at uMod.Agent.Utility.PackageManager.UpdateOrInstall(Boolean developBranch, IEnumerable`1 packages, String destinationDirectory, Predicate`1 filter, Func`2 transform, Boolean lockFileOnly, IWorkflowContext context, Boolean direct) in /builds/umod/tools/agent/src/uMod.Agent/Utility/PackageManager.cs:line 411

   at uMod.Agent.Commands.Install.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Install.cs:line 867

   at uMod.Agent.Commands.Install.InstallCore(GameInfo gameInfo, PackageManager packageManager, Lock versionLock, IWorkflowContext context) in /builds/umod/tools/agent/src/uMod.Agent/Commands/Install.cs:line 1139

   at uMod.Agent.Commands.Update.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Update.cs:line 176

   at uMod.Agent.Commands.Install.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Install.cs:line 867

   at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 284

   at uMod.Agent.Commands.Update.Handle() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Update.cs:line 176

   at uMod.Agent.Service.HandleCommand(Command command) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 194

   at uMod.Agent.Commands.Command.Invoke() in /builds/umod/tools/agent/src/uMod.Agent/Commands/Command.cs:line 284

   at uMod.Agent.Service.HandleCommand(IEnumerable`1 args) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 256

   at uMod.Agent.Service.HandleCommand(Command command) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 194

   at uMod.Program.Main(String[] args) in /builds/umod/tools/agent/src/uMod/Program.cs:line 77

   at uMod.Agent.Service.HandleCommand(IEnumerable`1 args) in /builds/umod/tools/agent/src/uMod.Agent/Service.cs:line 256

   at uMod.Program.Main(String[] args) in /builds/umod/tools/agent/src/uMod/Program.cs:line 77​

Hey there, thanks for the report! This should be resolved now. If you haven't already, I'd make sure the Agent is up-to-date as well.

Locked automatically