This project is read-only.

Exception crashes app

Jan 31, 2014 at 10:15 AM

I'm using the current version of the control with admob, pubcenter and adduplex set up on both a local and remote config file.

Sometimes on first load of my app an exception is thrown which I suspect is coming via adduplex however it's not getting caught in adrotator and subsequently crashes the app.

Is there some kind of OnError event that can be wired up to the adrotator control to allow this situation to be caught?
Jan 31, 2014 at 2:53 PM
We set exception logic around all the ad providers we use, just to be on the same side.

For AdDuplex, please ensure you have their latest control loaded.

If you run in debug mode, what exception is getting caught by the app, maybe that will help narrow it down.
Feb 1, 2014 at 7:13 PM
Thanks for the reply Darkside.

I've put some exception logging in the app and managed to catch it error with the following:
[ExceptionMessage]:[Object reference not set to an instance of an object.]
   at AdDuplex.AdControl.OnNetworkManagerAdLoaded(Object sender, AdLoadedEventArgs e)
   at AdDuplex.Models.NetworkManager.OnAdLoaded(TextAdInfo newAd)
   at AdDuplex.Models.NetworkManager.<>c__DisplayClass2.<LoadNewAdCallback>b__0()]
As I thought it's in relation to AdDuplex. I've checked the version and it's currently