You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no issue If we do the same by the socket (socket.RpcAsync (rpcName, messageToSend);. Sending request from Postman works as well.
Exception:
NullReferenceException: Object reference not set to an instance of an object
Nakama.HttpRequestAdapter+d__8.MoveNext () (at <3930c37f95f7433fa71239b42efdd1f6>:0)
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <9577ac7a62ef43179789031239ba8798>:0)
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () (at <9577ac7a62ef43179789031239ba8798>:0) Nakama.ApiClient+<RpcFunc2Async>d__68.MoveNext () (at <3930c37f95f7433fa71239b42efdd1f6>:0) --- End of stack trace from previous location where exception was thrown --- Nakama.RetryInvoker+<InvokeWithRetry>d__61[T].MoveNext () (at <3930c37f95f7433fa71239b42efdd1f6>:0)
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <9577ac7a62ef43179789031239ba8798>:0)
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <9577ac7a62ef43179789031239ba8798>:0)
(....)
Best,
Przemek
The text was updated successfully, but these errors were encountered:
PrzemekAcram
changed the title
Calling RPC without socket causes NullReferenceException
[BUG] Calling RPC without socket causes NullReferenceException
May 31, 2022
Hello,
I would like to report a bug.
Sending more than 9k characters with
IClient
's RpcAsync method causes NullReferenceException.Example method which throws exception:
There is no issue If we do the same by the socket (
socket.RpcAsync (rpcName, messageToSend);
. Sending request from Postman works as well.Exception:
Best,
Przemek
The text was updated successfully, but these errors were encountered: