If you look at the stack trace you'll see that both contain the text

at OpenSim.Data.MySQL.MySQLGenericTableHandler`1.Store(T row) in
c:\Documents and Settings\Chris\Desktop\opensim-tree-6bd18eb 0.7.1 Dev\OpenSim\
Data\MySQL\MySQLGenericTableHandler.cs:line 224

which suggests that they are both the same error. This line is probably failing when it finds null in a public XInventoryItem field and promptly tries to dereference it. That particular situation needs to be handled better.

I think this is a bug and does need to be fixed so please raise a mantis and reply to this thread to tell us what the number is.

On 27/02/11 18:28, Chris wrote:
Hi all, I just recently started using OS 0.7.1 Git Master Dev and I've noticed 
that a lot of my objects in my inventory
give me an exception when I attempt to detach them from my avatar. Once the 
object is attached it is almost impossible
to detach the object causing the exception (or it MIGHT detach after multiple 
tries and multiple re-logs). I have also
found that these attachments can not be transferred to any other user; it just 
causes another (and much longer red spew)
exception. As far as I can tell this issue affects only objects that are 
scripted.

I have found that if you rez a copy of the object on the ground, unlink it, 
relink it, take it back to inventory, and
then wear it; it seems to work fine and will transfer to other users fine, but 
then you have to go through the trouble
of repositioning the attachments again that are causing this error.

These objects come from an IAR that I saved from OS 0.6.9 Post-Fixes and loaded 
to OS 0.7.1 Dev (the IAR load went
without a hitch, no errors).

I know that this is development master and not ready for production use yet but 
I just wanted to see if anyone else was
having this issue as well and maybe file a mantis, if needed, on this before it 
does get released.



Error when attempting to detach:

11:57:37 - [ATTACHMENTS MODULE]: Detaching from UserID: 245cd45c-a1d6-466c-9e5d-
adc9da974a74, ItemID: 59b8206a-6deb-4e22-888b-b92ee7397487
11:57:37 - [ATTACHMENTS MODULE]: Saving attachpoint: 28
11:57:37 - [ATTACHMENTS MODULE]: Updating asset for attachment 170f184b-d9e8-438
d-a2f2-90e1bfb29963, attachpoint 28
11:57:37 - [LLCLIENTVIEW]: Caught exception while processing OpenMetaverse.Packe
ts.ObjectDetachPacket for mewtwo064 Alito, Object reference not set to an 
instance o
f an object. at OpenSim.Data.MySQL.MySQLGenericTableHandler`1.Store(T row) in
c:\Documents and Settings\Chris\Desktop\opensim-tree-6bd18eb 0.7.1 Dev\OpenSim\
Data\MySQL\MySQLGenericTableHandler.cs:line 224


Error when attempting to transfer the object to another user:

11:57:12 - [INVENTORY TRANSFER]: (giving) Inserting item 40498fdc-19bf-4a95-88d0
-049ac7779c93 into agent 6bfc8e1b-3d2b-414e-ada8-4db80677832e's inventory
11:57:12 - [LLUDPSERVER]: Client packet handler for 245cd45c-a1d6-466c-9e5d-adc9
da974a74 for packet ImprovedInstantMessage threw an exception
11:57:12 - Object reference not set to an instance of an object.System.NullRefer
enceException: Object reference not set to an instance of an object.
at OpenSim.Data.MySQL.MySQLGenericTableHandler`1.Store(T row) in c:\Documents
and Settings\Chris\Desktop\opensim-tree-6bd18eb 0.7.1 Dev\OpenSim\Data\MySQL\My
SQLGenericTableHandler.cs:line 224
at OpenSim.Data.MySQL.MySqlItemHandler.Store(XInventoryItem item) in c:\Docum
ents and Settings\Chris\Desktop\opensim-tree-6bd18eb 0.7.1 Dev\OpenSim\Data\MySQ
L\MySQLXInventoryData.cs:line 174
at OpenSim.Data.MySQL.MySQLXInventoryData.StoreItem(XInventoryItem item) in c
:\Documents and Settings\Chris\Desktop\opensim-tree-6bd18eb 0.7.1 Dev\OpenSim\Da
ta\MySQL\MySQLXInventoryData.cs:line 80
at OpenSim.Services.InventoryService.XInventoryService.AddItem(InventoryItemB
ase item) in c:\Documents and Settings\Chris\Desktop\opensim-tree-6bd18eb 0.7.1
Dev\OpenSim\Services\InventoryService\XInventoryService.cs:line 391
at OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory.LocalInventorySe
rvicesConnector.AddItem(InventoryItemBase item) in c:\Documents and Settings\Chr
is\Desktop\opensim-tree-6bd18eb 0.7.1 Dev\OpenSim\Region\CoreModules\ServiceConn
ectorsOut\Inventory\LocalInventoryServiceConnector.cs:line 248
at OpenSim.Region.Framework.Scenes.Scene.AddInventoryItem(InventoryItemBase i
tem) in c:\Documents and Settings\Chris\Desktop\opensim-tree-6bd18eb 0.7.1 Dev\O
penSim\Region\Framework\Scenes\Scene.Inventory.cs:line 130
at OpenSim.Region.Framework.Scenes.Scene.GiveInventoryItem(UUID recipient, UU
ID senderId, UUID itemId, UUID recipientFolderId) in c:\Documents and Settings\C
hris\Desktop\opensim-tree-6bd18eb 0.7.1 Dev\OpenSim\Region\Framework\Scenes\Scen
e.Inventory.cs:line 587
at OpenSim.Region.Framework.Scenes.Scene.GiveInventoryItem(UUID recipient, UU
ID senderId, UUID itemId) in c:\Documents and Settings\Chris\Desktop\opensim-tre
e-6bd18eb 0.7.1 Dev\OpenSim\Region\Framework\Scenes\Scene.Inventory.cs:line 402
at OpenSim.Region.CoreModules.Avatar.Inventory.Transfer.InventoryTransferModu
le.OnInstantMessage(IClientAPI client, GridInstantMessage im) in c:\Documents an
d Settings\Chris\Desktop\opensim-tree-6bd18eb 0.7.1 Dev\OpenSim\Region\CoreModul
es\Avatar\Inventory\Transfer\InventoryTransferModule.cs:line 229
at OpenSim.Framework.ImprovedInstantMessage.Invoke(IClientAPI remoteclient, G
ridInstantMessage im)
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.HandlerImprovedInstantMe
ssage(IClientAPI sender, Packet Pack) in c:\Documents and Settings\Chris\Desktop
\opensim-tree-6bd18eb 0.7.1 Dev\OpenSim\Region\ClientStack\LindenUDP\LLClientVie
w.cs:line 5485
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.ProcessPacketMethod(Pack
et packet) in c:\Documents and Settings\Chris\Desktop\opensim-tree-6bd18eb 0.7.1
Dev\OpenSim\Region\ClientStack\LindenUDP\LLClientView.cs:line 624
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.ProcessInPacket(Packet p
acket) in c:\Documents and Settings\Chris\Desktop\opensim-tree-6bd18eb 0.7.1 Dev
\OpenSim\Region\ClientStack\LindenUDP\LLClientView.cs:line 11365
at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.ProcessInPacket(Object st
ate) in c:\Documents and Settings\Chris\Desktop\opensim-tree-6bd18eb 0.7.1 Dev\O
penSim\Region\ClientStack\LindenUDP\LLUDPServer.cs:line 1246
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users



--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to