Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2339

Uncaught exception in thrift c# driver

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9, 0.9.1
    • Fix Version/s: 0.9.2
    • Component/s: C# - Library
    • Labels:
    • Patch Info:
      Patch Available

      Description

      A following exception may be occasionally thrown by the current c# thrift driver:

      message=Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.

      stack=
      at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
      at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult)
      at Thrift.Transport.TSocket.ConnectCallback(IAsyncResult asyncres) in d:\BDA-experiments\thrift-0.9.1\lib\csharp\src\Transport\TSocket.cs:line 177

      All exceptions should be caught and handled in the Thrift.Transport.TSocket.ConnectCallback and all other callbacks.

      proposed fix:
      https://github.com/apache/thrift/pull/79

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              jensg Jens Geyer
              Reporter:
              js_struq Janis Ser

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Issue deployment