[Opensim-dev] System.InvalidCastException: Specified cast is not valid.

Ina Centaur ina.centaur at gmail.com
Mon Feb 14 08:45:18 UTC 2011


In trying to apply a hair color change script, I encountered the above
error. LSL @ http://pastebin.com/K6HnW1N4
Error below

n.b. tried both string and key for the global assign's



[OA] Hair - Alan - Copper:
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.InvalidCastException:
Specified cast is not valid.



Server stack trace:

   at OpenSim.Region.ScriptEngine.Shared.LSL_Types.list.GetLSLFloatItem(Int32
itemIndex)

   at OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.SetPrimParams(SceneObjectPart
part, list rules)

   at OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.llSetLinkPrimitiveParams(Int32
linknumber, list rules)

   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
md, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle
md, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInC



More information about the Opensim-dev mailing list