[Mono-bugs] [Bug 718745] New: NetTcpBinding Callback generates error when one client triggers a call back for another client via WCF Server

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 18 13:10:33 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=718745

https://bugzilla.novell.com/show_bug.cgi?id=718745#c0


           Summary: NetTcpBinding Callback generates error when one client
                    triggers a call back for another client via WCF Server
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: yruzin at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=451554)
 --> (http://bugzilla.novell.com/attachment.cgi?id=451554)
Source Code  to reproduce the bug

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1)
AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1

I have a WCF Server that registers clients callback and call it when "Dowork"
method called.
If I have only one client registered the call back works OK. But if I have two
clients registered the callback get's executed for both clients but the the
last callback generates this error on the WCF Server side:


Exception DispatchOperation '*' for contract 'IFoo' requires Invoker.   at
System.ServiceModel.Dispatcher.OperationInvokerHandler.EnsureValid
(System.ServiceModel.Dispatcher.DispatchOperation operation) [0x00000] in
<filename unknown>:0 
  at System.ServiceModel.Dispatcher.OperationInvokerHandler.BuildInvokeParams
(System.ServiceModel.Dispatcher.MessageProcessingContext mrc, System.Object[]&
parameters) [0x00000] in <filename unknown>:0 
  at System.ServiceModel.Dispatcher.OperationInvokerHandler.DoProcessRequest
(System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in
<filename unknown>:0 
  at System.ServiceModel.Dispatcher.OperationInvokerHandler.ProcessRequest
(System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in
<filename unknown>:0 
  at
System.ServiceModel.Dispatcher.BaseRequestProcessorHandler.ProcessRequestChain
(System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in
<filename unknown>:0 
  at
System.ServiceModel.Dispatcher.BaseRequestProcessorHandler.ProcessRequestChain
(System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in
<filename unknown>:0 
  at System.ServiceModel.Dispatcher.HandlersChain.ProcessRequestChain
(System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in
<filename unknown>:0 
  at System.ServiceModel.Dispatcher.BaseRequestProcessor.ProcessRequest
(System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in
<filename unknown>:0 


Reproducible: Always

Steps to Reproduce:
1. Have one NetTcpBinding WCF Server with Callback
2. Connect two clients that register their Callbacks
3. Trigger callback so that the server sends call back to each client
4. Get the error message on the server side
Actual Results:  
The client hangs and later time-out

Expected Results:  
All callbacks executed and the WCF server is ready to accept more calls.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list