linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Linphone Runtime Invalid Cast Exception


From: Atif Saddique
Subject: Re: [Linphone-developers] Linphone Runtime Invalid Cast Exception
Date: Sun, 29 Mar 2015 04:23:31 +0500

here is this link which also somehow describe the same type of issue

http://quabr.com/27881404/doubango-boghe-windows-phone-8-doubango-rt-agents-dll

On Sun, Mar 29, 2015 at 4:21 AM, Atif Saddique <address@hidden> wrote:
Hi everyone
  I am having issue running linphone on my windows phone device.
When I build and run the application on emulators, it works fine but when I run the same application in my windows phone device it crashes.
It gives an exception of invalid cast in file BackgroundManager.cs
at this given code while initializing the server

     public Server OopServer
        {
            get {
               if (oopServer == null)
                    oopServer = (Server)WindowsRuntimeMarshal.GetActivationFactory(typeof(Server)).ActivateInstance();
               return oopServer;
            }

            set {
                oopServer = value;
            }
        }


The exception occures at bolded line when server is being initialized.
I have checked that when the application runs on emulator, no exception occurs and the server is properly initialized, the exception is in only the case on windows phone device.


Following are some of the things that I have tried without any luck of being succeeded.

1. Visual Studio 2012 ultimate
2. Visual Studio 2013 ultimate
3. Windows phone 8.0
4. Windows phone 8.1
5. VS2012 update 4
6. sdk 8.0 emulator 3.0 update
7. build and clean the solution a lot of times
8. downloaded the latest version of code again from the url given at the           linphone.org website


Please help me with this issue , because I have spent almost a month on solving it, but no success.






--
Atif Saddique
0346-7374884

reply via email to

[Prev in Thread] Current Thread [Next in Thread]