Skip to content

Error on doubango_rt.Agents #209

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions