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

  • Home
  • SEARCH
  • 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 7745505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:02:27+00:00 2026-06-01T10:02:27+00:00

I have a class that is its own activity that basically i use to

  • 0

I have a class that is its own activity that basically i use to host a webview. It works fine on most devices but on the motorolla droid bionic it farted out this error every once in a while when loading the page.

java.lang.NullPointerException
at android.webkit.WebView.sendOurVisibleRect(WebView.java:2384)
at android.webkit.WebView.onScrollChanged(WebView.java:4820)
at android.view.View.scrollTo(View.java:5016)
at android.webkit.WebView.onOverScrolled(WebView.java:2603) 
at android.view.View.overScrollBy(View.java:8890)
at android.webkit.WebView.computeScroll(WebView.java:3004)
at android.view.ViewGroup.drawChild(ViewGroup.java:1562)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.View.draw(View.java:6883)
at android.widget.FrameLayout.draw(FrameLayout.java:357)
at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2106)
at android.view.ViewRoot.draw(ViewRoot.java:1562)
at android.view.ViewRoot.performTraversals(ViewRoot.java:1298)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1911)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3821)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)

After trouble shooting with the debugger I just cant get my head around where the nullpointer is coming from…..anyone have similar problems on the droid bionic? or other devices for that matter.

  • 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-06-01T10:02:29+00:00Added an answer on June 1, 2026 at 10:02 am

    This question is old, but as I just faced this same exception; I thought it would be helpful to share my conclusion.

    I had this Activity, with a very simple Layout – where the activity content view was a single instance of a WebView.

    It was set like this:

    onStart()
    {
        this.setContentView(this.browser);
    }
    

    and, I had this in the onStop method of my Activity:

    onStop()
    {
        this.browser.destroy()
    }
    

    My application logic was designed in a way that this activity had to start and stop many times…so…the very first time it started and stopped, everything went fine…but after the 2nd execution of “onStart” I had the exception.

    So, I removed the call to “this.browser.destroy()” and everything worked…I suppose that killed my object and thus I had a reference to null…

    So, if you’re getting this, you’re losing the valid reference to some view in your layout…just examine your code and try to find where is it that it is being “null-ed”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a class that defines its own enum like this: public class Test
I have three tabs that each has its own Activity. The tabs are as
I have created my own class that extends CountDownTimer. Since I use it often,
I have a custom gtk.treeview wrapper class that manages its own liststore. The class
I have a subclass of NSWindowController that has its own nib and another class
I want to have a class that changes its own private variables every 2
I have a class that retrieves its memeber (more or less 10 members) from
I have a class that derives from ImageView . In its onDraw method override
I have a class A that implements IEquatable<>, using its fields (say, A.b and
In Java, how can I have a Runnable class that, depending on its constructor,

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.