Android Question Crash Report: java.lang.NullPointerException at android.webkit.

quimacama

Member
Licensed User
Lately I've found many bugs reports in my google developer console with "at android.webkit.WebView"
I don't use the webview object in my apps, so I think the bug is in any of the libraries that I use, but i don't know in which one.
I referenced:
-ABExtDrawing
-AcceleratedSurface
-Admob
-AHQuickAction
-Animation
-Core
-Phone
-RandomAccessFile
-Reflection
-SQL
-StringUtils


This is one of them:
java.lang.NullPointerException
at android.webkit.WebViewClassic$PrivateHandler.handleMessage(WebViewClassic.java:7440)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5099)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:803)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:570)
at dalvik.system.NativeStart.main(Native Method)
And other:
java.lang.IllegalStateException: Tried to setNewPicture with a delay picture already set! (memory leak)
at android.webkit.WebView.setNewPicture(WebView.java:8822)
at android.webkit.WebView$PrivateHandler.handleMessage(WebView.java:8490)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Any idea?
 

quimacama

Member
Licensed User
This is strange. I don't remember encountering such issues with AdMob.

Are you sure that nothing else in your project does something with WebView?
I also find it strange. I did a search for the word "webview" throughout the project without any matches.
 

buras3

Active Member
Licensed User
Hey

I had the same problem
I moved the ads after loading the layout

and I had menu button and button with the same event
when i deleted the button - the problem started .
I changed the event of the of the menu button to a new one .

and the the error stop showing
 
Last edited:

quimacama

Member
Licensed User
Hey

I had the same problem
I moved the ads after loading the layout

and I had menu button and button with the same event
when i deleted the button - the problem started .
I changed the event of the of the menu button to a new one .

and the the error stop showing
I'll try it . Thank You
 

buras3

Active Member
Licensed User
Sorry but the problem came again
I downloaded newer google play service and still sometime the error shows
I am still looking for a solution
 
Top