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

Justin Clark-Casey jjustincc at googlemail.com
Thu Feb 9 01:20:39 UTC 2012


Hi Chris.  Please test git master 9c84a81 to see if this affects anything.  We can talk more about this on the mantis 
5872.  If there are further exceptions I will need a repost and a section of the log before the exception.

On 04/02/12 19:57, Chris wrote:
> 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
>>
>
>


-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc



More information about the Opensim-users mailing list