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

Chris mewtwo0641 at cox.net
Sat Feb 4 19:57:42 UTC 2012


A little bit more testing on commit ce34b35. I've noticed that the 
sensors will not detect the NPC if the exception is imminent and will 
return NULL_KEY (or simply won't return anything depending on how the 
sensor is scripted) for that NPC instance. If the NPC doesn't trigger an 
exception then the sensors will work fine. It is a bit hard to tell when 
this happens though, because as far as I can tell, the exception now 
only pops up when the NPC is removed.


On 2/4/2012 7:41 AM, Chris wrote:
> Hi Justin,
>
> I just finished giving commit ce34b35 a go. The exception still pops 
> up but not as often (Happens about 1 in 5 NPC instances now). I 
> noticed that the exception seems to favor popping up when removing the 
> NPC from the scene. The sensors do detect the NPC but they still 
> sometimes report back with a NULL_KEY for the NPC instead of their 
> real key. From what I can tell, the exception seems to only trigger if 
> the NPC is removed after osNpcSit is called for them and they are not 
> made to stand before removing them.
>
> Thanks!
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>


-- 
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