Closed maul-esel closed 6 years ago
A NullReferenceException is thrown in CartAgent.TransferResource().
NullReferenceException
CartAgent.TransferResource()
Run SimulateProfileBased > FewAgentsHighRedundancy (Coalition) test with seed 270646890. Discovered on commit 3e034f9.
The receiving agent is null - this indicates a bug in BaseAgent, which shouldn't call TransferResource() in such a case.
null
BaseAgent
TransferResource()
Fixed by 2cf72cabcd.
Bug
A
NullReferenceException
is thrown inCartAgent.TransferResource()
.Reproduce
Run SimulateProfileBased > FewAgentsHighRedundancy (Coalition) test with seed 270646890. Discovered on commit 3e034f9.
Cause
The receiving agent is
null
- this indicates a bug inBaseAgent
, which shouldn't callTransferResource()
in such a case.