[Mono-bugs] [Bug 636500] New: [Moonlight] Web Service Reference doesn't work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 1 20:56:42 EDT 2010


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

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


           Summary: [Moonlight] Web Service Reference doesn't work
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: WCF
        AssignedTo: atsushi at ximian.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Repro: install latest moonlight prewivew
MOON_TRACE=E:all firefox
http://moon.sublimeintervention.com/MoonlightDrtViewer.Web/MoonlightDrtViewer.html
Enter user/passwd (please ping me or any other moonlight dev on irc for
user/pwd, though for the first problem any user/pwd will do)
Hit 'Continue'.

First I get this exception:

Exception in async operation: System.Reflection.ReflectionTypeLoadException:
The classes in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes
(System.Reflection.Assembly*,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in Assembly.cs:349 
  at System.Runtime.Serialization.XmlFormatterDeserializer.GetTypeFromNamePair
(System.String name, System.String ns) [0x0009c] in
XmlFormatterDeserializer.cs:203 
  at System.Runtime.Serialization.XmlFormatterDeserializer.DeserializeByMap
(System.Xml.XmlQualifiedName name, System.Type type, System.Xml.XmlReader
reader) [0x00054] in XmlFormatterDeserializer.cs:171 

which I worked around (attachment #1).

Then I get this exception:
[0x7fe44ecff910:] EXCEPTION handling: System.ArgumentException: asyncResult

"<threadpool thread>" tid=0x0x7fe44ecff910 this=0x0x7fe44f135e60 thread handle
0x414 state : not waiting owns ()
  at System.Net.Browser.PolicyBasedWebRequest.EndGetResponse
(System.IAsyncResult) [0x00092] in
/mono/main/git/moonlight/moon/class/System.Windows/System.Net.Browser/PolicyBasedHttpWebRequest.cs:292
  at System.ServiceModel.Channels.HttpRequestChannel.GotResponse
(System.IAsyncResult) [0x0001f] in
/mono/main/git/moonlight/mono/mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs:188
  at System.Net.Browser.HttpWebAsyncResult.SetCompleteImpl (object) [0x00049]
in
/mono/main/git/moonlight/moon/class/System.Windows/System.Net.Browser/HttpWebAsyncResult.cs:123
  at System.Threading.ThreadPool/<MoonlightHandler>c__AnonStorey8.<>m__8
(object) [0x00000] in
/mono/main/git/moonlight/mono/mcs/class/corlib/System.Threading/ThreadPool.cs:234
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object
(object,intptr,intptr,intptr) <IL 0x0001e, 0x00058>

which I think is because HttpRequestChannel.BeginProcessRequest is called
several times, and each one overwrites the instance variable 'web_request' -
which causes the exception when one of the previous requests returns a result.

-- 
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