Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2304

gremlin.net System.NullReferenceException on SubmitAsync in iOS platform

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.4.1, 3.4.2, 3.3.8, 3.4.3
    • None
    • dotnet
    • None

    Description

      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

      Attachments

        1. gremin.net.png
          108 kB
          Juha Haapsaari

        Issue Links

          Activity

            People

              Unassigned Unassigned
              JuhaHaapsaari Juha Haapsaari
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: