r3581. creating a prim or rezzing a prim from inventory causes region exception, region becomes unresponsive to client. region doesnt crash completely. client can logout and back in. region console exception follows:
[APPLICATION]:
APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs
Exception: System.NullReferenceException: Object reference not set to an instanc e of an object
at System.Drawing.KnownColors.FromKnownColor (KnownColor kc) [0x00000]
at System.Drawing.Color.get_Black () [0x00000]
at OpenSim.Region.Environment.Scenes.SceneObjectPart..ctor (UInt64 regionHandl e, OpenSim.Region.Environment.Scenes.SceneObjectGroup parent, LLUUID ownerID, UI nt32 localID, OpenSim.Framework.PrimitiveBaseShape shape, LLVector3 groupPositio n, LLQuaternion rotationOffset, LLVector3 offsetPosition) [0x00000]
at OpenSim.Region.Environment.Scenes.SceneObjectGroup..ctor (OpenSim.Region.En vironment.Scenes.Scene scene, UInt64 regionHandle, LLUUID ownerID, UInt32 localI D, LLVector3 pos, LLQuaternion rot, OpenSim.Framework.PrimitiveBaseShape shape) [0x00000]
at OpenSim.Region.Environment.Scenes.Scene.AddNewPrim (LLUUID ownerID, LLVecto r3 pos, LLQuaternion rot, OpenSim.Framework.PrimitiveBaseShape shape) [0x00000]
at OpenSim.Region.Environment.Scenes.Scene.AddNewPrim (LLUUID ownerID, LLVecto r3 RayEnd, LLQuaternion rot, OpenSim.Framework.PrimitiveBaseShape shape, Byte by passRaycast, LLVector3 RayStart, LLUUID RayTargetID, Byte RayEndIsIntersection) [0x00000]
at OpenSim.Region.ClientStack.ClientView.ProcessInPacket (libsecondlife.Packet s.Packet Pack) [0x00000]
at OpenSim.Region.ClientStack.ClientView.ClientLoop () [0x00000]
at OpenSim.Region.ClientStack.ClientView.AuthUser () [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
Application is terminating: True