Closed GoogleCodeExporter closed 9 years ago
Hi,
Could you checkout r387? I hope this helps. Please inform me. Thanks for the
report.
Original comment by hepha...@gmail.com
on 7 Aug 2008 at 9:19
[deleted comment]
Nope. Bombs straight away when trying to call the web services. Here is the
stack:
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been
thrown by the target of an invocation. ---> System.TypeInitializationException:
An
exception was thrown by the type initializer for MSNPSharp.MSNService --->
System.NotImplementedException: The requested feature is not implemented.
at System.Net.ServicePointManager.set_ServerCertificateValidationCallback
(System.Net.Security.RemoteCertificateValidationCallback value) [0x00000] in
/usr/src/packages/BUILD/mono-1.9.1/mcs/class/System/System.Net/ServicePointManag
er.cs
at MSNPSharp.MSNService..cctor () [0x0000e] in /home/csawyer/Projects/msnp-sharp-
trace ---
at MSNPSharp.ContactService..ctor () [0x00047] in /home/csawyer/Projects/msnp-
at MSNPSharp.ContactService..ctor (MSNPSharp.NSMessageHandler nsHandler) [0x00000]
in /home/csawyer/Projects/msnp-sharp-read-only/MSNP-
at MSNPSharp.NSMessageHandler..ctor () [0x000c5] in /home/csawyer/Projects/msnp-
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke
(object,object[])
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x0003f] in
/usr/src/packages/BUILD/mono-1.9.1/mcs/class/corlib/System.Reflection/MonoMethod
.cs:4
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00064] in
/usr/src/packages/BUILD/mono-1.9.1/mcs/class/corlib/System.Reflection/MonoMethod
.cs:4
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in
/usr/src/packages/BUILD/mono-1.9.1/mcs/class/corlib/System.Reflection/MonoMethod
.cs:4
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e]
in
/usr/src/packages/BUILD/mono-1.9.1/mcs/class/corlib/System.Reflection/Constructo
rInfo
at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00083]
in /usr/src/packages/BUILD/mono-1.9.1/mcs/class/corlib/System/Activator.cs:311
at MSNPSharp.Core.Factory.CreateNameserverHandler () [0x00000] in
/home/csawyer/Projects/msnp-sharp-read-only/MSNP-
at MSNPSharp.Messenger..ctor () [0x00056] in /home/csawyer/Projects/msnp-sharp-
at MSNPSharpClient.ClientForm..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) MSNPSharpClient.ClientForm:.ctor ()
at MSNPSharpClient.ClientForm.Main () [0x0000b] in /home/csawyer/Projects/msnp-
The application was terminated by a signal: SIGHUP
Original comment by christoofar@gmail.com
on 7 Aug 2008 at 6:02
Hmm, mono doesn't implement ServerCertificateValidationCallback.
Mono still uses obsoloted ServicePointManager.CertificatePolicy. I fixed it.
Please
checkout r389. If the problem still exists inform me.
Thanks.
Original comment by hepha...@gmail.com
on 8 Aug 2008 at 9:39
Original comment by hepha...@gmail.com
on 9 Aug 2008 at 10:27
Just updated to branch MSNPSHARP_25_STABLE revision 554.
I confirm this working in Mono 2.0.1.
Original comment by goo...@alishomepage.com
on 24 Nov 2008 at 7:28
Original issue reported on code.google.com by
christoofar@gmail.com
on 6 Aug 2008 at 8:46