Android exception

9 views
Skip to first unread message

Xiaad.com

unread,
Mar 31, 2010, 8:37:50 AM3/31/10
to AdWhirl Users
Hi,

With Android v203, I got the following exception. I have no more
details...

stacktrace: java.lang.NullPointerException
at
java.net.URLConnection.guessContentTypeFromStream(URLConnection.java:
715)
at java.net.URLConnection.getContent(URLConnection.java:182)
at java.net.URL.getContent(URL.java:640)
at com.adwhirl.AdWhirlManager.fetchImage(AdWhirlManager.java:378)
at
com.adwhirl.AdWhirlManager.parseCustomJsonString(AdWhirlManager.java:
365)
at com.adwhirl.AdWhirlManager.getCustom(AdWhirlManager.java:183)
at com.adwhirl.adapters.CustomAdapter.handle(CustomAdapter.java:
46)
at com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:156)
at com.adwhirl.AdWhirlLayout.access$0(AdWhirlLayout.java:143)
at com.adwhirl.AdWhirlLayout$1.run(AdWhirlLayout.java:87)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3948)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
at dalvik.system.NativeStart.main(Native Method)

Hope it will be enough to debug...

Seb.

Justin Pincar

unread,
Mar 31, 2010, 12:54:28 PM3/31/10
to adwhir...@googlegroups.com
It looks like it it's bailing if it can't open a connection to the
image url. This is an easy fix - I'll push it out in a few. The root
problem is that the image url is invalid though. Can you check that
your house ad has an image associated with it? If everything there
looks right to you, send your adwhirl sdk key to me or
sup...@adwhirl.com and we'll find out what the underlying cause is.
`Justin

> --
> To unsubscribe, reply using "remove me" as the subject.
>

Reply all
Reply to author
Forward
0 new messages