gcareri / boghe

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

Error on doubango_rt.Agents #209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

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

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

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

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

When i try 

new Thread(() =>
            {
                SipService sipService = rtServiceManager.Instance.SipService;
                if (sipService != null && sipService.SipActiveAVCall == null)
                { ....

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