mike-xu / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

Unable to cast object of type 'doubango_rt.BackEnd.OutOfProcess.Server' to type 'doubango_rt.BackEnd.OutOfProcess.__IServerPublicNonVirtuals'. #421

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

What is the expected output? What do you see instead?

public SipService SipService
        {
            get
            {
                if (this.server != null)
                {
                    return this.server.SipService;
                }
                return null;
            }
        }

What version of the product are you using? On what operating system?
WP8

Please provide any additional information below.
{System.InvalidCastException: Unable to cast object of type 
'doubango_rt.BackEnd.OutOfProcess.Server' to type 
'doubango_rt.BackEnd.OutOfProcess.__IServerPublicNonVirtuals'.
   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW_WinRT(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget)
   at doubango_rt.BackEnd.OutOfProcess.Server.get_SipService()
   at org.doubango.WindowsPhone.BackgroundProcessController.get_SipService()
   at Viavel.rtServiceManager.get_SipService()
   at Viavel.MainPage.buttonSaveSettings_Click(Object sender, RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)}

Original issue reported on code.google.com by betoando...@gmail.com on 10 Jan 2015 at 7:11