[Mono-bugs] [Bug 553021] New: "Key Duplication" exception when running a winforms app remotely

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 5 16:41:29 EST 2009


           Summary: "Key Duplication" exception when running a winforms
                    app remotely
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 1.0.x
          Platform: i586
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: martin at novell.com
        ReportedBy: twiest at novell.com
         QAContact: mono-bugs at lists.ximian.com
                CC: jpobst at novell.com, jhill at novell.com
          Found By: Component Test

Description of Problem:
"Key Duplication" exception when running a winforms app remotely. See below for
the full error.

This was found in MonoVS 1.0p6 (r4406) on WinXP i586 -> MonoVS VM.

Steps to reproduce the problem:
1. Create a new solution based on the C# Winforms template project
2. In Tools / Options / Mono / Debugging Options that IOMAP is checked
3. Click Mono / Run remotely in Mono
4. Notice the exception

Actual Results:

Expected Results:
No exception.

How often does this happen? 
every time.

Additional Information:

System.ArgumentException: Key duplication when adding: MONO_IOMAP

Server stack trace: 
  at System.Collections.Hashtable.PutImpl (System.Object key, System.Object
value, Boolean overwrite) [0x00137] in
  at System.Collections.Hashtable.Add (System.Object key, System.Object value)
[0x00000] in
  at System.Collections.Specialized.ProcessStringDictionary.Add (System.String
key, System.String value) [0x00000] in
(Mono.VisualStudio.Mdb.DebuggingSession session) [0x000b0] in
  at (wrapper managed-to-native)
  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage
(System.MarshalByRefObject target, IMethodCallMessage reqMsg) [0x000a4] in

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
   at Mono.VisualStudio.Mdb.IMdbManager.RunSession(DebuggingSession session)
   at Novell.MonoVS.RunRemotelyRunner.Run()
   at Novell.MonoVS.Package.RunRemotelyCallback(Object sender, EventArgs e)

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

More information about the mono-bugs mailing list