Ad tag causes runtime null error

810 views
Skip to first unread message

xyc

unread,
May 29, 2012, 6:03:30 PM5/29/12
to ima...@googlegroups.com
Hi there,

This ad tag seems to cause a runtime error inside one of the google components:

http://u-ads.adap.tv/a/h/xVTRLsmt9us5YjF0wA5TfIzwFw96v821?cb=kkjhgffdd&pet=preroll&pageUrl=adap.tv&eov=eov

Here is the stacktrace:

Error: ErrorCode: 0 AdError: Error #1009: Cannot access a property or method of a null object reference.:TypeError: Error #1009: Cannot access a property or method of a null object reference.
StackTrace:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at com.google.utils::Url()
    at com.google.ads.ima.common::YouTubeVideoUtils$/extractVideoIdFromUrl()
    at com.google.ads.ima.formats.common.ui::VideoAdUiConfigFactory$/createDefaultStyle()
    at com.google.ads.ima.formats.common.ui::VideoAdUiConfigFactory$/createGvnStyle()
    at com.google.ads.ima.formats.common.ui::VideoAdUiFactory$/createVideoAdUi()
    at com.google.ads.ima.formats.common.video::VpaidVideoAdImpl()
    at com.google.ads.ima.formats.vast::VastAdFactory$/createVast2LinearAd()
    at com.google.ads.ima.formats.vast::VastAdFactory$/createVastAd()
    at com.google.ads.ima.formats.vast::VastAdsManagerBuilder/tryToCreateAd()
    at com.google.ads.ima.formats.vast::VastAdsManagerBuilder/createAds()
    at com.google.ads.ima.formats.vast::VastAdsManagerBuilder/createManager()
    at com.google.ads.ima.loader::AdsLoaderImpl/createAdsManager()
    at MethodInfo-66()
    at com.google.ads.ima.api::AdsManagerLoadedEvent/getAdsManager()
    at AdsManagerLoadedEventWrapper/getAdsManager()
    at com.google.ads.ima.examples.demo_player::AdsController/adsLoadedHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at MethodInfo-2834()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.google.ads.ima.loader::AdsLoaderImpl/adsManagerLoadedHandler()
    at com.google.ads.ima.loader::AdsLoaderImpl/formatModuleLoadedHandler()
    at MethodInfo-59()
    at Function/http://adobe.com/AS3/2006/builtin::call()
    at MethodInfo-2247()
Error: Ad adLoadError error: Error #1009: Cannot access a property or method of a null object reference. errorCode: 0:TypeError: Error #1009: Cannot access a property or method of a null object reference.
StackTrace:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at com.google.utils::Url()
    at com.google.ads.ima.common::YouTubeVideoUtils$/extractVideoIdFromUrl()
    at com.google.ads.ima.formats.common.ui::VideoAdUiConfigFactory$/createDefaultStyle()
    at com.google.ads.ima.formats.common.ui::VideoAdUiConfigFactory$/createGvnStyle()
    at com.google.ads.ima.formats.common.ui::VideoAdUiFactory$/createVideoAdUi()
    at com.google.ads.ima.formats.common.video::VpaidVideoAdImpl()
    at com.google.ads.ima.formats.vast::VastAdFactory$/createVast2LinearAd()
    at com.google.ads.ima.formats.vast::VastAdFactory$/createVastAd()
    at com.google.ads.ima.formats.vast::VastAdsManagerBuilder/tryToCreateAd()
    at com.google.ads.ima.formats.vast::VastAdsManagerBuilder/createAds()
    at com.google.ads.ima.formats.vast::VastAdsManagerBuilder/createManager()
    at com.google.ads.ima.loader::AdsLoaderImpl/createAdsManager()
    at MethodInfo-66()
    at com.google.ads.ima.api::AdsManagerLoadedEvent/getAdsManager()
    at AdsManagerLoadedEventWrapper/getAdsManager()
    at com.google.ads.ima.examples.demo_player::AdsController/adsLoadedHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at MethodInfo-2834()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.google.ads.ima.loader::AdsLoaderImpl/adsManagerLoadedHandler()
    at com.google.ads.ima.loader::AdsLoaderImpl/formatModuleLoadedHandler()
    at MethodInfo-59()
    at Function/http://adobe.com/AS3/2006/builtin::call()
    at MethodInfo-2247()

Thanks an advance for any help!

xyc

unread,
May 29, 2012, 6:04:08 PM5/29/12
to ima...@googlegroups.com
Just to clarify, I tried the ad tag on both the deprecated and new VAST inspector page.

IMA SDK Support

unread,
Jun 1, 2012, 1:01:19 PM6/1/12
to Interactive Media Ads SDK
Thanks for letting us know. We have a fix and intend to release it
some time next week.

On May 29, 6:04 pm, xyc <xyco...@gmail.com> wrote:
> Just to clarify, I tried the ad tag on both the deprecated and new VAST
> inspector page.
>
> On Tuesday, May 29, 2012 3:03:30 PM UTC-7, xyc wrote:
>
> > Hi there,
>
> > This ad tag seems to cause a runtime error inside one of the google
> > components:
>
> >http://u-ads.adap.tv/a/h/xVTRLsmt9us5YjF0wA5TfIzwFw96v821?cb=kkjhgffd...

Sean

unread,
Jun 19, 2014, 11:42:50 PM6/19/14
to ima...@googlegroups.com
With an adap.tv tag (identical to the one that this thread was started with), I am getting the following error from the FLASH IMA (1.4) sdk:


  1. Error: Ad adPlayError error: Static resource cannot be displayed due to an error while loading it. Error name: uncaughtError, Error text: errorCode: 401
  1. Error: Ad adLoadError error: No ads were found in the ad response. At least one ad is required to be able to load or play. errorCode: 1001

The samples given work fine with the given tags, and tags produced by using DFP. It's only failing for adap.tv tags. Is there anything I am missing in terms of setup?

Thanks!

On Tuesday, April 16, 2013 1:32:23 PM UTC-7, Shawn Busolits (IMA SDK Team) wrote:
Hi Daniel,

It looks like your ad tag is missing some parameters - I only see client, slotname, and description_url. Before you test with the player, you can try visiting your ad tag in a browser to make sure you're getting a VAST response. This page should help you build an ad tag that will give you a valid response. If you're still having trouble after taking a look at that page, I recommend contacting Ad Exchange support.

Thanks,
Shawn Busolits, IMA SDK Team

On Tuesday, April 16, 2013 1:47:12 PM UTC-4, Daniel Spring wrote:
Hi, IMA SDK Support.  I have a similar issue, but it is with your IMA3 format delivered through a VPAID wrapper.  You can see this at the test page below.


Thank you,
dspring

Bret McGowen

unread,
Jun 20, 2014, 5:47:01 PM6/20/14
to ima...@googlegroups.com
Hi Sean,


FYI, if you're using v1 of the Flash SDK, that version is deprecated and no longer supported by us. Check out our blog post announcing the deprecation for more information.


Thanks,
Bret McGowen
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages