Mantis Bug Tracker

View Revisions: Issue #8706 All Revisions ] Back to Issue ]
Summary 0008706: Various exceptions thrown with scripts, attachments, NPCs, etc.
Revision 2020-05-29 19:59 by mewtwo0641
Additional Information float interval = 0.5;
integer count = 0;

default
{
    state_entry()
    {
        llOwnerSay("Script reset");
        llSetTimerEvent(interval);
    }

    timer()
    {
        llSetTimerEvent(0.0);

        count++;
        llSetText((string)count, <0,1,0>, 1.0);

        llSetTimerEvent(interval);
    }
}
Revision 2020-05-25 04:03 by mewtwo0641
Additional Information Git Bisect Result:

$ git bisect good
8b771620203b0cafc851934a2514166dac1b2923 is the first bad commit
commit 8b771620203b0cafc851934a2514166dac1b2923
Author: UbitUmarov <ajlduarte@sapo.pt>
Date: Thu May 14 12:02:46 2020 +0100

    make sog, sop and sop inventory IDisposable

 .../Avatar/Attachments/AttachmentsModule.cs | 4 +-
 OpenSim/Region/Framework/Scenes/Scene.cs | 2 +-
 .../Region/Framework/Scenes/SceneObjectGroup.cs | 53 ++++++++++++++++------
 OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 36 ++++++++++++++-
 .../Framework/Scenes/SceneObjectPartInventory.cs | 28 +++++++++++-
 5 files changed, 104 insertions(+), 19 deletions(-)


Exceptions (There are many of these exceptions, but they all say the same thing, just the attachments and script names are changed):

Script Exceptions:

2020-05-20 21:47:45,293 INFO [YEngine]: Exception while running dbf4b8f1-57ce-43c4-a2ac-f407c334a7f8
NullReferenceException: Object reference not set to an instance of an object.
Prim: <AO v7.0.3>, Script: <* AO v7.0.3>, Location: Test Region <0,-1,-1>
Script must be Reset to re-enable.
  at OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.llGetInventoryType(String name) in LSL_Api.cs:line 13531
  at OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass.llGetInventoryType(String name) in LSL_Stub.cs:line 546
  at handleEvent(string)
  at timerTick()
  at default timer
  at OpenSim.Region.ScriptEngine.Yengine.XMRInstAbstract.CallSEH() in XMRInstAbstract.cs:line 525
  at OpenSim.Region.ScriptEngine.Yengine.XMRInstance.StartEx() in XMRScriptUThread.cs:line 51
System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.llGetInventoryType(String name) in E:\opensim\OpenSim\Region\ScriptEngine\Shared\Api\Implementation\LSL_Api.cs:line 13531
   at OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass.llGetInventoryType(String name) in E:\opensim\OpenSim\Region\ScriptEngine\Shared\Api\Runtime\LSL_Stub.cs:line 546
   at handleEvent(string)(XMRInstanceSuperType , String )
   at timerTick()(XMRInstanceSuperType )
   at default timer(XMRInstAbstract )
   at OpenSim.Region.ScriptEngine.Yengine.XMRInstAbstract.CallSEH() in E:\opensim\OpenSim\Region\ScriptEngine\YEngine\XMRInstAbstract.cs:line 525
   at OpenSim.Region.ScriptEngine.Yengine.XMRInstance.StartEx() in E:\opensim\OpenSim\Region\ScriptEngine\YEngine\XMRScriptUThread.cs:line 51


Attachment Exceptions:

2020-05-22 21:00:47,061 ERROR [ATTACHMENTS MODULE]: Failed to attach Bracer 62d5e8fa-ebf5-438a-b58f-7f590c9991d1 for Helper NPC, exception Value cannot be null. at System.Threading.Monitor.Enter(Object obj)
   at OpenSim.Region.Framework.Scenes.ScenePresence.AddAttachment(SceneObjectGroup gobj) in E:\opensim\OpenSim\Region\Framework\Scenes\ScenePresence.cs:line 5462
   at OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.AttachToAgent(IScenePresence sp, SceneObjectGroup so, UInt32 attachmentpoint, Vector3 attachOffset, Boolean silent) in E:\opensim\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line 1083
   at OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.AttachObjectInternal(IScenePresence sp, SceneObjectGroup group, UInt32 attachmentPt, Boolean silent, Boolean addToInventory, Boolean resumeScripts, Boolean append) in E:\opensim\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line 665
   at OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.RezSingleAttachmentFromInventoryInternal(IScenePresence sp, UUID itemID, UUID assetID, UInt32 attachmentPt, Boolean append, XmlDocument doc) in E:\opensim\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line 1291
2020-05-22 21:00:47,084 ERROR [ATTACHMENTS MODULE]: Unable to rez attachment with itemID aa432743-671d-4620-b546-cd2260058287, assetID d5276939-7158-4ac4-bd0a-30e9ca81ee5e, point 19 for 00000000-0000-0000-0000-000000000000: Value cannot be null.
   at System.Threading.Monitor.Enter(Object obj)
   at OpenSim.Region.Framework.Scenes.ScenePresence.RemoveAttachment(SceneObjectGroup gobj) in E:\opensim\OpenSim\Region\Framework\Scenes\ScenePresence.cs:line 5597
   at OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.RezSingleAttachmentFromInventoryInternal(IScenePresence sp, UUID itemID, UUID assetID, UInt32 attachmentPt, Boolean append, XmlDocument doc) in E:\opensim\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line 1304
   at OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.RezAttachments(IScenePresence sp) in E:\opensim\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line 455


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker