ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
05/25/12 11:33 AM (13 years ago)

Crash report from a customer

how do i fix this? java.lang.NullPointerException at android.webkit.WebView.requestFocus(WebView.java:6572) at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:1079) at android.view.ViewGroup.requestFocus(ViewGroup.java:1035) at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:1079) at android.view.ViewGroup.requestFocus(ViewGroup.java:1035) at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:1079) at android.view.ViewGroup.requestFocus(ViewGroup.java:1035) at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:1079) at android.view.ViewGroup.requestFocus(ViewGroup.java:1035) at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:1079) at android.view.ViewGroup.requestFocus(ViewGroup.java:1035) at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:1079) at android.view.ViewGroup.requestFocus(ViewGroup.java:1035) at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:1079) at android.view.ViewGroup.requestFocus(ViewGroup.java:1035) at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:1079) at android.view.ViewGroup.requestFocus(ViewGroup.java:1038) at android.view.View.requestFocus(View.java:3671) at android.view.ViewRoot.clearChildFocus(ViewRoot.java:1704) at android.view.ViewGroup.clearChildFocus(ViewGroup.java:509) at android.view.ViewGroup.clearChildFocus(ViewGroup.java:509) at android.view.ViewGroup.clearChildFocus(ViewGroup.java:509) at android.view.ViewGroup.clearChildFocus(ViewGroup.java:509) at android.view.ViewGroup.clearChildFocus(ViewGroup.java:509) at android.view.ViewGroup.clearChildFocus(ViewGroup.java:509) at android.view.ViewGroup.clearChildFocus(ViewGroup.java:509) at android.view.ViewGroup.removeViewInternal(ViewGroup.java:2213) at android.view.ViewGroup.removeViewInternal(ViewGroup.java:2187) at android.view.ViewGroup.removeView(ViewGroup.java:2135) at android.webkit.WebTextView.remove(WebTextView.java:603) at android.webkit.WebView.clearTextEntry(WebView.java:1917) at android.webkit.WebView.clearHelpers(WebView.java:1294) at android.webkit.WebView.onDetachedFromWindow(WebView.java:4509) at android.view.View.dispatchDetachedFromWindow(View.java:6173) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1164) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1162) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1162) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1162) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1162) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1162) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1162) at android.view.ViewRoot.dispatchDetachedFromWindow(ViewRoot.java:1748) at android.view.ViewRoot.doDie(ViewRoot.java:2759) at android.view.ViewRoot.die(ViewRoot.java:2729) at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:218) at android.view.Window$LocalWindowManager.removeViewImmediate(Window.java:436) at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:2701) at android.app.ActivityThread.access$2100(ActivityThread.java:117) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:964) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3683) 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:864) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) at dalvik.system.NativeStart.main(Native Method)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/25/12 11:53 AM (13 years ago)
Is this a buzztouch app? Generally you'll see stuff like BT_webView instead of WebView. Did you add a custom plugin or something that didn't come from buzztouch? Mark
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/25/12 11:55 AM (13 years ago)
Hey Mark, everything was from buzztouch, from the calculator app. which just contained html docs.
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/25/12 11:56 AM (13 years ago)
the only thing i can think of, is the admob plug in?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/25/12 11:57 AM (13 years ago)
Not sure. Usually it's pretty clear that it's a buzztouch component or piece of code. I don't recognize anything there (though that doesn't mean it isn't buzztouch related). Mark
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
05/25/12 12:03 PM (13 years ago)
Where'd you get the admob plugin from? That'd help a lot of people.
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/25/12 12:06 PM (13 years ago)
bigfishtools put it in there for me, it was from the forum you started a while back, the link in there on how to do it, i downloaded it from there
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/25/12 05:29 PM (13 years ago)
heres another crash error java.lang.RuntimeException: Unable to start activity ComponentInfo{com.gamercalculator/com.gamercalculator.BT_screen_webView}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2194) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2229) at android.app.ActivityThread.access$600(ActivityThread.java:139) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1261) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:4944) 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) Caused by: java.lang.NullPointerException at com.gamercalculator.BT_viewUtilities.updateBackgroundColorsForScreen(BT_viewUtilities.java:37) at com.gamercalculator.BT_screen_webView.onCreate(BT_screen_webView.java:91) at android.app.Activity.performCreate(Activity.java:4531) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1071) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2150) ... 11 more
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/25/12 05:36 PM (13 years ago)
This is the elusive background color problem. No solution for it at the moment. No solution on the horizon either. Mark
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/25/12 05:37 PM (13 years ago)
thanks Mark
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.