StateWaiter can get terribly confused
-------------------------------------

                 Key: QPID-995
                 URL: https://issues.apache.org/jira/browse/QPID-995
             Project: Qpid
          Issue Type: Bug
          Components: Dot Net Client
    Affects Versions: M2.1, M3
            Reporter: Aidan Skinner
            Assignee: Aidan Skinner


During connection close, for instance, it can end up waiting for 
CONNECTION_NOT_STARTED when it was asked for CONNECTION_CLOSED

TearDown : System.Reflection.TargetInvocationException : Exception has been 
thrown by the target of an invocation.
  ----> Apache.Qpid.Messaging.QpidException : Error closing connection: 
Apache.Qpid.AMQException: State not achieved within permitted time. Current 
state: CONNECTION_CLOSED, desired state: CONNECTION_NOT_STARTED
   at Apache.Qpid.Client.State.StateWaiter.WaituntilStateHasChanged() in 
c:\work\qpid\trunk\qpid\dotnet\Qpid.Client\Client\State\StateWaiter.cs:line 117
   at Apache.Qpid.Client.State.AMQStateManager.AttainState(AMQState s) in 
c:\work\qpid\trunk\qpid\dotnet\Qpid.Client\Client\State\AMQStateManager.cs:line 
241
   at Apache.Qpid.Client.AMQConnection.CloseConnection() in 
c:\work\qpid\trunk\qpid\dotnet\Qpid.Client\Client\AMQConnection.cs:line 266
   at Apache.Qpid.Client.AMQConnection.Close() in 
c:\work\qpid\trunk\qpid\dotnet\Qpid.Client\Client\AMQConnection.cs:line 245]]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to