mystijk / adwhirl

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

Mdotm adapter cannot be linked to class in android sdk #278

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've added mdotm in my ad rotation but I'm not seeing any ads. I turned debug 
mode and It says the adapter mdotm cannot be linked.This is the error trace I'm 
getting:

Please provide any additional information below.
01-18 02:13:16.060: D/AdWhirl SDK(1338): Showing ad:
01-18 02:13:16.060: D/AdWhirl SDK(1338):    nid: <removed>
01-18 02:13:16.060: D/AdWhirl SDK(1338):    name: mdotm
01-18 02:13:16.060: D/AdWhirl SDK(1338):    type: 12
01-18 02:13:16.060: D/AdWhirl SDK(1338):    key: <removed>
01-18 02:13:16.060: D/AdWhirl SDK(1338):    key2: 
01-18 02:13:16.060: D/AdWhirl SDK(1338): Generic adapter will get destroyed
01-18 02:13:16.060: I/dalvikvm(1338): Failed resolving 
Lcom/adwhirl/adapters/MdotMAdapter; interface 249 
'Lcom/mdotm/android/ads/MdotMView$MdotMActionListener;'
01-18 02:13:16.060: W/dalvikvm(1338): Link of class 
'Lcom/adwhirl/adapters/MdotMAdapter;' failed
01-18 02:13:16.060: W/AdWhirl SDK(1338): Caught an exception in adapter:
01-18 02:13:16.060: W/AdWhirl SDK(1338): java.lang.Exception: Invalid adapter
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
com.adwhirl.adapters.AdWhirlAdapter.handle(AdWhirlAdapter.java:170)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:231)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
com.adwhirl.AdWhirlLayout.access$300(AdWhirlLayout.java:53)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
com.adwhirl.AdWhirlLayout$HandleAdRunnable.run(AdWhirlLayout.java:399)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
android.os.Handler.handleCallback(Handler.java:587)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
android.os.Handler.dispatchMessage(Handler.java:92)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
android.os.Looper.loop(Looper.java:130)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
android.app.ActivityThread.main(ActivityThread.java:3683)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
java.lang.reflect.Method.invokeNative(Native Method)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
java.lang.reflect.Method.invoke(Method.java:507)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
01-18 02:13:16.060: W/AdWhirl SDK(1338):    at 
dalvik.system.NativeStart.main(Native Method)

Using adwhirl version 3.1.1 for android.

Original issue reported on code.google.com by paulino....@gmail.com on 18 Jan 2012 at 8:19

GoogleCodeExporter commented 8 years ago
Full stack trace:

01-18 02:23:50.890: D/AdWhirl SDK(1338): Showing ad:
01-18 02:23:50.890: D/AdWhirl SDK(1338):    nid: fa559edfc082472a9029651e75dad92b
01-18 02:23:50.890: D/AdWhirl SDK(1338):    name: mdotm
01-18 02:23:50.890: D/AdWhirl SDK(1338):    type: 12
01-18 02:23:50.890: D/AdWhirl SDK(1338):    key: 7366e37f558b892327697d01596eff20
01-18 02:23:50.890: D/AdWhirl SDK(1338):    key2: 
01-18 02:23:50.890: D/AdWhirl SDK(1338): GoogleAdapter AdView will get destroyed
01-18 02:23:50.900: E/Ads(1338): An error occurred while stopping loading in 
AdWebView:
01-18 02:23:50.900: E/Ads(1338): java.lang.NullPointerException
01-18 02:23:50.900: E/Ads(1338):    at 
android.webkit.WebView.stopLoading(WebView.java:1716)
01-18 02:23:50.900: E/Ads(1338):    at 
com.google.ads.h.stopLoading(SourceFile:154)
01-18 02:23:50.900: E/Ads(1338):    at com.google.ads.d.z(SourceFile:815)
01-18 02:23:50.900: E/Ads(1338):    at com.google.ads.d.b(SourceFile:277)
01-18 02:23:50.900: E/Ads(1338):    at 
com.google.ads.AdView.destroy(SourceFile:237)
01-18 02:23:50.900: E/Ads(1338):    at 
com.adwhirl.adapters.GoogleAdMobAdsAdapter.willDestroy(GoogleAdMobAdsAdapter.jav
a:74)
01-18 02:23:50.900: E/Ads(1338):    at 
com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:228)
01-18 02:23:50.900: E/Ads(1338):    at 
com.adwhirl.AdWhirlLayout.access$300(AdWhirlLayout.java:53)
01-18 02:23:50.900: E/Ads(1338):    at 
com.adwhirl.AdWhirlLayout$HandleAdRunnable.run(AdWhirlLayout.java:399)
01-18 02:23:50.900: E/Ads(1338):    at 
android.os.Handler.handleCallback(Handler.java:587)
01-18 02:23:50.900: E/Ads(1338):    at 
android.os.Handler.dispatchMessage(Handler.java:92)
01-18 02:23:50.900: E/Ads(1338):    at android.os.Looper.loop(Looper.java:130)
01-18 02:23:50.900: E/Ads(1338):    at 
android.app.ActivityThread.main(ActivityThread.java:3683)
01-18 02:23:50.900: E/Ads(1338):    at 
java.lang.reflect.Method.invokeNative(Native Method)
01-18 02:23:50.900: E/Ads(1338):    at 
java.lang.reflect.Method.invoke(Method.java:507)
01-18 02:23:50.900: E/Ads(1338):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
01-18 02:23:50.900: E/Ads(1338):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
01-18 02:23:50.900: E/Ads(1338):    at dalvik.system.NativeStart.main(Native 
Method)
01-18 02:23:50.900: I/dalvikvm(1338): Failed resolving 
Lcom/adwhirl/adapters/MdotMAdapter; interface 249 
'Lcom/mdotm/android/ads/MdotMView$MdotMActionListener;'
01-18 02:23:50.900: W/dalvikvm(1338): Link of class 
'Lcom/adwhirl/adapters/MdotMAdapter;' failed
01-18 02:23:50.910: W/AdWhirl SDK(1338): Caught an exception in adapter:
01-18 02:23:50.910: W/AdWhirl SDK(1338): java.lang.Exception: Invalid adapter
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
com.adwhirl.adapters.AdWhirlAdapter.handle(AdWhirlAdapter.java:170)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:231)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
com.adwhirl.AdWhirlLayout.access$300(AdWhirlLayout.java:53)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
com.adwhirl.AdWhirlLayout$HandleAdRunnable.run(AdWhirlLayout.java:399)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
android.os.Handler.handleCallback(Handler.java:587)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
android.os.Handler.dispatchMessage(Handler.java:92)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
android.os.Looper.loop(Looper.java:130)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
android.app.ActivityThread.main(ActivityThread.java:3683)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
java.lang.reflect.Method.invokeNative(Native Method)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
java.lang.reflect.Method.invoke(Method.java:507)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
01-18 02:23:50.910: W/AdWhirl SDK(1338):    at 
dalvik.system.NativeStart.main(Native Method)

Original comment by paulino....@gmail.com on 18 Jan 2012 at 8:25

GoogleCodeExporter commented 8 years ago
i think, you should add the mdotm jar into your project.

Original comment by feitianl...@163.com on 3 Feb 2012 at 3:02

GoogleCodeExporter commented 8 years ago
I am also facing the same issue. I have already included the Mdotm jar but this 
does not solve the issue.

Original comment by mban...@apostek.com on 4 Jan 2013 at 12:23

GoogleCodeExporter commented 8 years ago
I am also facing the same issue. 

Original comment by Manan.Ka...@slktechlabs.com on 6 Jun 2013 at 9:58