You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Janis Ser (JIRA)" <ji...@apache.org> on 2014/01/31 11:58:09 UTC

[jira] [Created] (THRIFT-2339) Uncaught exception in thrift c# driver

Janis Ser created THRIFT-2339:
---------------------------------

             Summary: Uncaught exception in thrift c# driver
                 Key: THRIFT-2339
                 URL: https://issues.apache.org/jira/browse/THRIFT-2339
             Project: Thrift
          Issue Type: Bug
          Components: C# - Library
    Affects Versions: 0.9.1, 0.9
            Reporter: Janis Ser


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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)