[Opensim-users] NullReferenceException on latest git revision (r17959) when creating NPC

Chris mewtwo0641 at cox.net
Fri Feb 3 00:01:11 UTC 2012


Ah okay, I filed a mantis here 
http://opensimulator.org/mantis/view.php?id=5872

I did attempt to fix this in SensorRepeat.cs at line 452

from && !npcModule.GetNPC(presence.UUID, presence.Scene).SenseAsAgent
to && npcModule.GetNPC(presence.UUID, presence.Scene).SenseAsAgent

With minimal testing this appears to work (sensors pick up on the NPC 
now) and I don't see the NullReferenceException anymore.

However I am not sure if doing it this way breaks anything else... But 
hopefully that should be it =) I would submit a patch but I 
embarrassingly do not know how create patches yet.

Thanks!


On 2/2/2012 5:27 PM, Justin Clark-Casey wrote:
> I've probably introduced a bug.  Please could you create a mantis for 
> this with all the details.  Thanks, Chris.
-- 
OpenSim: 9 Region Standalone on 0.7.3 Dev
Physics: Open Dynamics Engine
OS: Windows 7 (x64)
CPU: AMD Phenom II X4 840 3.2 GHz
Memory: 11 GB DDR3
Database: MySQL 5.1.11




More information about the Opensim-users mailing list