[Opensim-users] NWC-RPC Methods Giving Odd Results

David Lloyd lloy0076 at adam.com.au
Fri Nov 28 23:51:10 UTC 2014


Hi Justin,

> On 29 Nov 2014, at 10:14 am, Justin Clark-Casey <jjustincc at googlemail.com> wrote:
> 
> I would suggest calling ToString() explicitly, e.g.
> 
> ht["transactionID"] = UUID.Random().ToString()
> 
> This is what the OpenSimulator code appears to do.
> 
> On 28/11/14 23:04, David Lloyd wrote:
>> 
>> The error given by the Money Server is:
>> 
>> Money # 04:57:46 - [MONEY RPC]: handleCancelTransfer: Exception occurred when transaction
>> 94786877-9ed6-4d36-98d7-9a88f7b52acf: System.NullReferenceException: Object reference not set to an instance of an object
>>   at OpenSim.Grid.MoneyServer.MoneyXmlRpcModule.handleCancelTransfer (Nwc.XmlRpc.XmlRpcRequest request,
>> System.Net.IPEndPoint remoteClient) [0x00000] in <filename unknown>:0

Unfortunately, that throws the above exception.

I think I might have to delve into the source code and do something like:

IF it deserializes as an object …
  // Do stuff
ELSE attempt to parse the string as a UUID
  // Do stuff
END IF


DSL


More information about the Opensim-users mailing list