Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6807573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:50:57+00:00 2026-05-26T19:50:57+00:00

What cause a NullPointerException on rotateThreadedDelayed with an AdWhirlLayout ? Here is the stacktrace

  • 0

What cause a NullPointerException on rotateThreadedDelayed with an AdWhirlLayout?

Here is the stacktrace :

java.lang.NullPointerException
at com.adwhirl.AdWhirlLayout.rotateThreadedDelayed(wHAT .java:237)
at com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:210)
at com.adwhirl.AdWhirlLayout.access$3(AdWhirlLayout.java:205)
at com.adwhirl.AdWhirlLayout$HandleAdRunnable.run(AdWhirlLayout.java:390)
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:4627)
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:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:50:57+00:00Added an answer on May 26, 2026 at 7:50 pm

    I have same problem for quite long time. It seems like there is not solution for now, except download source code of Adwhirl SDK for Android and fix this NPE by yourself.
    The fix itself is pretty straightforward and already discussed here: http://groups.google.com/group/adwhirl-users/msg/b9641da44fa0f0ce

    Here is fixed code:

    public void rotateThreadedDelayed() {
        int cycleTime = 30; 
        if( extra != null ) { 
            cycleTime = extra.cycleTime; 
        } 
        Log.d(AdWhirlUtil.ADWHIRL, "Will call rotateAd() in " + cycleTime + " seconds"); 
        scheduler.schedule(new RotateAdRunnable(this), cycleTime, TimeUnit.SECONDS); 
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I got something like this ERROR/AndroidRuntime(18677): Caused by: java.lang.NullPointerException ERROR/AndroidRuntime(18677): at com.companyname.a.a.a(Unknown Source)
What are Null Pointer Exceptions ( java.lang.NullPointerException ) and what causes them? What methods/tools
We're getting this error java.lang.NullPointerException at java.util.ArrayList.<init>(Unknown Source) at de.mystuff.ExtendedArrayList.<init>(ExtendedArrayList.java:38) where ExtendedArrayList:38 is new
I have an error when unmarshaling XML to Java object with JAXB: java.lang.NullPointerException at
Java Exception: http://hastebin.com/yiwecefifi.avrasm I have an object, that I call Category, that my fragment
Here is the test.jsp <%@ page import=java.util.* %> <%@ page import=java.io.* %> <% String
My app has an occasional bug in it. Flurry shows me this: class java.lang.RuntimeException
I've two .java files: Read.java and Save.java . And I'm getting a NullPointerException when
Why does this line cause a NullPointerException : List<Foo> foos = new ArrayList<Foo>(userDetailsService.getFoos(currentUser)); The
How can I programatically cause a control's tooltip to show in a Winforms app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.