Juha Haapsaari created TINKERPOP-2304:
-----------------------------------------

             Summary: gremlin.net System.NullReferenceException on SubmitAsync 
in iOS platform
                 Key: TINKERPOP-2304
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2304
             Project: TinkerPop
          Issue Type: Bug
          Components: dotnet
    Affects Versions: 3.4.3, 3.3.8, 3.4.2, 3.4.1
            Reporter: Juha Haapsaari
         Attachments: gremin.net.png

Null reference exception thrown on iOS platform (Xamarin Forms project) where 
same code works on Android and UWP. Connection is to Azure Cosmos DB. Stack 
trace:

{System.NullReferenceException: Object reference not set to an instance of an 
object
 at Gremlin.Net.Driver.Connection.Parse (System.Byte[] received) [0x00017] in 
/home/smallette/git/apache/tinkerpop/gremlin-dotnet/src/Gremlin.Net/Driver/Connection.cs:127
 
 at Gremlin.Net.Driver.Connection.ReceiveMessagesAsync () [0x0008e] in 
/home/smallette/git/apache/tinkerpop/gremlin-dotnet/src/Gremlin.Net/Driver/Connection.cs:107
 
 at Gremlin.Net.Driver.ProxyConnection.SubmitAsync[T] 
(Gremlin.Net.Driver.Messages.RequestMessage requestMessage) [0x00032] in 
/home/smallette/git/apache/tinkerpop/gremlin-dotnet/src/Gremlin.Net/Driver/ProxyConnection.cs:44
 
 at Gremlin.Net.Driver.GremlinClient.SubmitAsync[T] 
(Gremlin.Net.Driver.Messages.RequestMessage requestMessage) [0x000b1] in 
/home/smallette/git/apache/tinkerpop/gremlin-dotnet/src/Gremlin.Net/Driver/GremlinClient.cs:85
 
 at Gremlin.Net.Driver.GremlinClientExtensions.SubmitAsync[T] 
(Gremlin.Net.Driver.IGremlinClient gremlinClient, System.String requestScript, 
System.Collections.Generic.Dictionary`2[TKey,TValue] bindings) [0x00066] in 
/home/smallette/git/apache/tinkerpop/gremlin-dotnet/src/Gremlin.Net/Driver/GremlinClientExtensions.cs:137
 
 at Gremlin.Net.Driver.GremlinClientExtensions.SubmitWithSingleResultAsync[T] 
(Gremlin.Net.Driver.IGremlinClient gremlinClient, System.String requestScript, 
System.Collections.Generic.Dictionary`2[TKey,TValue] bindings) [0x00030] in 
/home/smallette/git/apache/tinkerpop/gremlin-dotnet/src/Gremlin.Net/Driver/GremlinClientExtensions.cs:57



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to