[Mono-bugs] [Bug 660474] New: Not compatiable with Microsoft .NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Dec 20 03:12:10 EST 2010


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

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


           Summary: Not compatiable with Microsoft .NET
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: Windows Server 2008 R2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: remoting
        AssignedTo: lluis at novell.com
        ReportedBy: mailing at mono.developer.kr
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10

A compatiable problem both the linux version and windows. I got an error
message below. My TestBug1 remoting client (on windows) didn't get a result
from Self-hosting remoting server. (on linux) Here I attached the example
vs2010 project file.



Unhandled Exception: System.InvalidCastException: Object must implement
IConvert
ible.

Server stack trace:
   at System.Convert.ChangeType(Object value, Type conversionType,
IFormatProvid
er provider)
   at System.Runtime.Serialization.FormatterConverter.Convert(Object value,
Type
 type)
   at System.Runtime.Serialization.SerializationInfo.GetValue(String name, Type
type)
   at System.Collections.Generic.Dictionary`2.OnDeserialization(Object sender)
   at System.Runtime.Serialization.ObjectManager.RaiseDeserializationEvent()
   at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(He
aderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean
isCrossAp
pDomain, IMethodCallMessage methodCallMessage)
   at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean
isCr
ossAppDomain, IMethodCallMessage methodCallMessage)
   at
System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryResponseMess
age(Stream inputStream, IMethodCallMessage reqMsg, Boolean bStrictBinding)
   at
System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMess
age(IMessage msg)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
req
Msg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgDa
ta, Int32 type)
   at Bug1.Class.Test()
   at TestBug1.Program.Main(String[] args) in
c:\Projects\Test\Bug1\TestBug1\Pro
gram.cs:line 13

Reproducible: Always

Steps to Reproduce:
1. Run self-hosting remoting server on Linux
2. Call a test method on remoting thru windows. the method returns generic
dictionary.

-- 
Configure bugmail: https://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