[Java for Android App Development] blv2797:
hi im confused as to why i keep getting native on draw falure reverting to backround color in my web view android app

This is my main application.java(my xml is ok)

import me.gpesched.R;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.ActionBar;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebSettings;
import android.webkit.WebSettings.RenderPriority;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.EditText;
import android.widget.TextView;
import android.os.Build;

import com.google.analytics.tracking.android.EasyTracker;
import com.google.analytics.tracking.android.Fields;
import com.google.analytics.tracking.android.MapBuilder;
import com.google.analytics.tracking.android.StandardExceptionParser;

@SuppressWarnings("unused")
public class MainActivity extends ActionBarActivity {
private WebView mWebView;
private EasyTracker easyTracker;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.fragment_main);
mWebView = (WebView)findViewById(R.id.activity_main_webview);
easyTracker = EasyTracker.getInstance(MainActivity.this);
mWebView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
mWebView.getSettings().setRenderPriority(RenderPriority.HIGH);
mWebView.getSettings().setPluginState(android.webkit.WebSettings.PluginState.ON_DEMAND);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.loadUrl("https://vpnb-cdc.kroger.com/dana-na/auth/url_10/welcome.cgi");
mWebView.setWebViewClient(new cl());

}
private class cl extends WebViewClient{
@Override
public boolean shouldOverrideUrlLoading(WebView webview, String url){
webview.loadUrl(url);
return true;
}
}
@Override
public void onBackPressed() {
if(mWebView.canGoBack()) {
mWebView.goBack();
} else {
super.onBackPressed();
}
}

@Override
public void onStart() {
super.onStart();
EasyTracker.getInstance(this).activityStart(this);

}

@Override
public void onResume() {

super.onResume();

this.easyTracker.set(Fields.SCREEN_NAME, getClass().getSimpleName());
this.easyTracker.send( MapBuilder.createAppView().build() );
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
}

public WebView getmWebView() {
return mWebView;
}

public void setmWebView(WebView mWebView) {
this.mWebView = mWebView;
}

/**
* A placeholder fragment containing a simple view.
*/
public static class PlaceholderFragment extends Fragment {

public PlaceholderFragment() {
}

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.fragment_main, container,
false);
return rootView;

}

}
@Override
public void onStop() {
super.onStop();
EasyTracker.getInstance(this).activityStop(this);
}
}

Log cat]

08-17 04:48:34.984: W/ActivityThread(4600): Application me.gpesched is waiting for the debugger on port 8100...

08-17 04:48:34.987: I/System.out(4600): Sending WAIT chunk

08-17 04:48:35.057: I/art(4600): Debugger is active

08-17 04:48:35.204: I/System.out(4600): Debugger has connected

08-17 04:48:35.204: I/System.out(4600): waiting for debugger to settle...

08-17 04:48:35.405: I/System.out(4600): waiting for debugger to settle...

08-17 04:48:35.606: I/System.out(4600): waiting for debugger to settle...

08-17 04:48:35.807: I/System.out(4600): waiting for debugger to settle...

08-17 04:48:36.007: I/System.out(4600): waiting for debugger to settle...

08-17 04:48:36.208: I/System.out(4600): waiting for debugger to settle...

08-17 04:48:36.409: I/System.out(4600): waiting for debugger to settle...

08-17 04:48:36.611: I/System.out(4600): debugger has settled (1470)

08-17 04:48:37.230: V/WebViewChromiumFactoryProvider(4600): Binding Chromium to main looper Looper (main, tid 1) {65219ff0}

08-17 04:48:37.237: I/LibraryLoader(4600): Expected native library version number "",actual native library version number ""

08-17 04:48:37.238: I/chromium(4600): [INFO:library_loader_hooks.cc(116)] Chromium logging enabled: level = 0, default verbosity = 0

08-17 04:48:37.319: I/BrowserStartupController(4600): Initializing chromium process, renderers=0

08-17 04:48:37.325: W/art(4600): Attempt to remove local SIRT entry from IRT, ignoring

08-17 04:48:37.352: E/AudioManagerAndroid(4600): BLUETOOTH permission is missing!

08-17 04:48:37.389: I/Adreno-EGL(4600): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.018_msm8226_LNX.LA.3.5.1_RB1__release_AU ()

08-17 04:48:37.389: I/Adreno-EGL(4600): OpenGL ES Shader Compiler Version: E031.24.00.08

08-17 04:48:37.389: I/Adreno-EGL(4600): Build Date: 03/07/14 Fri

08-17 04:48:37.389: I/Adreno-EGL(4600): Local Branch:

08-17 04:48:37.389: I/Adreno-EGL(4600): Remote Branch: quic/LNX.LA.3.5.1_RB1.1

08-17 04:48:37.389: I/Adreno-EGL(4600): Local Patches: NONE

08-17 04:48:37.389: I/Adreno-EGL(4600): Reconstruct Branch: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.018 + f2fd134 + NOTHING

08-17 04:48:37.431: W/art(4600): Thread[15,tid=4708,Native,Thread*=0x48f62448,peer=0x65279048,"Thread-3668"] attached without supplying a name

08-17 04:48:37.458: W/art(4600): Thread[16,tid=4703,Native,Thread*=0x48d75c38,peer=0x6527a238,"Thread-3669"] attached without supplying a name

08-17 04:48:37.531: W/chromium(4600): [WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation

08-17 04:48:37.575: W/art(4600): Attempt to remove local SIRT entry from IRT, ignoring

08-17 04:48:37.708: V/GAV3(4600): Thread[main,5,main]: [EasyTracker] sample rate loaded: 100.0

08-17 04:48:37.712: V/GAV3(4600): Thread[main,5,main]: [EasyTracker] dispatch period loaded: 1

08-17 04:48:37.714: V/GAV3(4600): Thread[main,5,main]: Dispatch period set with null handler. Dispatch will run once initialization is complete.

08-17 04:48:37.718: V/GAV3(4600): Thread[main,5,main]: [EasyTracker] session timeout loaded: 30000

08-17 04:48:37.722: V/GAV3(4600): Thread[main,5,main]: [EasyTracker] auto activity tracking loaded: true

08-17 04:48:37.742: V/GAV3(4600): Thread[main,5,main]: ExceptionReporter created, original handler is com.android.internal.os.RuntimeInit$UncaughtHandler

08-17 04:48:37.744: V/GAV3(4600): Thread[main,5,main]: [EasyTracker] report uncaught exceptions loaded: true

08-17 04:48:37.769: W/art(4600): Thread[19,tid=4724,Native,Thread*=0x48f37720,peer=0x652bae00,"Thread-3674"] attached without supplying a name

08-17 04:48:37.937: D/AudioManagerAndroid(4600): ==> onReceive: s=0, m=1, n=h2w, sb=true

08-17 04:48:37.940: D/AudioManagerAndroid(4600): reportUpdate: state=0, devices=[Speakerphone, Headset earpiece]

08-17 04:48:38.151: W/AwContents(4600): nativeOnDraw failed; clearing to background color.

08-17 04:48:38.490: W/art(4600): Thread[21,tid=4736,Native,Thread*=0x49ad2330,peer=0x65257ff0,"Thread-3676"] attached without supplying a name

08-17 04:48:38.584: W/art(4600): Thread[22,tid=4739,Native,Thread*=0x49adf350,peer=0x652ae888,"Thread-3677"] attached without supplying a name

08-17 04:48:42.663: V/GAV3(4600): Thread[GAThread,5,main]: connecting to Analytics service

08-17 04:48:42.689: V/GAV3(4600): Thread[main,5,main]: service connected, binder: android.os.BinderProxy@652e1838

08-17 04:48:42.691: V/GAV3(4600): Thread[GAThread,5,main]: connect: bindService returned true for Intent { act=com.google.android.gms.analytics.service.START cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) }

08-17 04:48:42.697: V/GAV3(4600): Thread[main,5,main]: bound to service

08-17 04:48:42.706: V/GAV3(4600): Thread[GAThread,5,main]: Loaded clientId

08-17 04:48:42.720: V/GAV3(4600): Thread[main,5,main]: Connected to service

08-17 04:48:42.721: I/GAV3(4600): Thread[GAThread,5,main]: No campaign data found.

08-17 04:48:42.766: V/GAV3(4600): Thread[GAThread,5,main]: putHit called

08-17 04:48:42.793: V/GAV3(4600): Thread[GAThread,5,main]: Sending hit to service PATH: https: PARAMS: v=1, ul=en-us, t=appview, ht=1408276117840, sr=720x1184, an=xxxxxxxxxxxxxxxxxx, sc=start, tidxxxxxx, aid=me.gpesched, cid=0e217c3f-a6c0-4004-80d7-64fbbde19c4a, av=1.05, _u=.K28, cd=me.greatpeople.gpesched.MainActivity,

08-17 04:48:42.851: V/GAV3(4600): Thread[GAThread,5,main]: putHit called

08-17 04:48:42.870: V/GAV3(4600): Thread[GAThread,5,main]: Sending hit to service PATH: https: PARAMS: v=1, ul=en-us, t=appview, ht=1408276117881, sr=720x1184, an=xxxxxxxxxxxxx, tid=xx-xxxxxxxx-x, aid=me.gpesched, cid=0e217c3f-a6c0-4004-80d7-64fbbde19c4a, av=1.05, _u=.K-AL, cd=MainActivity,

08-17 04:48:50.225: I/X509Util(4600): Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

08-17 04:53:37.926: W/ActivityThread(5486): Application me.gpesched is waiting for the debugger on port 8100...

08-17 04:53:37.926: I/System.out(5486): Sending WAIT chunk

08-17 04:53:38.060: I/art(5486): Debugger is active

08-17 04:53:38.154: I/System.out(5486): Debugger has connected

08-17 04:53:38.154: I/System.out(5486): waiting for debugger to settle...

08-17 04:53:38.355: I/System.out(5486): waiting for debugger to settle...

08-17 04:53:38.555: I/System.out(5486): waiting for debugger to settle...

08-17 04:53:38.756: I/System.out(5486): waiting for debugger to settle...

08-17 04:53:38.957: I/System.out(5486): waiting for debugger to settle...

08-17 04:53:39.158: I/System.out(5486): waiting for debugger to settle...

08-17 04:53:39.358: I/System.out(5486): waiting for debugger to settle...

08-17 04:53:39.560: I/System.out(5486): debugger has settled (1400)

08-17 04:53:40.256: V/WebViewChromiumFactoryProvider(5486): Binding Chromium to main looper Looper (main, tid 1) {65219fe0}

08-17 04:53:40.271: I/LibraryLoader(5486): Expected native library version number "",actual native library version number ""

08-17 04:53:40.272: I/chromium(5486): [INFO:library_loader_hooks.cc(116)] Chromium logging enabled: level = 0, default verbosity = 0

08-17 04:53:40.363: I/BrowserStartupController(5486): Initializing chromium process, renderers=0

08-17 04:53:40.369: W/art(5486): Attempt to remove local SIRT entry from IRT, ignoring

08-17 04:53:40.403: E/AudioManagerAndroid(5486): BLUETOOTH permission is missing!

08-17 04:53:40.447: I/Adreno-EGL(5486): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.018_msm8226_LNX.LA.3.5.1_RB1__release_AU ()

08-17 04:53:40.447: I/Adreno-EGL(5486): OpenGL ES Shader Compiler Version: E031.24.00.08

08-17 04:53:40.447: I/Adreno-EGL(5486): Build Date: 03/07/14 Fri

08-17 04:53:40.447: I/Adreno-EGL(5486): Local Branch:

08-17 04:53:40.447: I/Adreno-EGL(5486): Remote Branch: quic/LNX.LA.3.5.1_RB1.1

08-17 04:53:40.447: I/Adreno-EGL(5486): Local Patches: NONE

08-17 04:53:40.447: I/Adreno-EGL(5486): Reconstruct Branch: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.018 + f2fd134 + NOTHING

08-17 04:53:40.491: W/art(5486): Thread[15,tid=5611,Native,Thread*=0x47f2f5d0,peer=0x65278ff8,"Thread-3763"] attached without supplying a name

08-17 04:53:40.515: W/art(5486): Thread[16,tid=5606,Native,Thread*=0x48d82bf0,peer=0x6527a0f0,"Thread-3764"] attached without supplying a name

08-17 04:53:40.627: W/chromium(5486): [WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation

08-17 04:53:40.669: W/art(5486): Attempt to remove local SIRT entry from IRT, ignoring

08-17 04:53:40.812: V/GAV3(5486): Thread[main,5,main]: [EasyTracker] sample rate loaded: 100.0

08-17 04:53:40.816: V/GAV3(5486): Thread[main,5,main]: [EasyTracker] dispatch period loaded: 1

08-17 04:53:40.818: V/GAV3(5486): Thread[main,5,main]: Dispatch period set with null handler. Dispatch will run once initialization is complete.

08-17 04:53:40.823: V/GAV3(5486): Thread[main,5,main]: [EasyTracker] session timeout loaded: 30000

08-17 04:53:40.827: V/GAV3(5486): Thread[main,5,main]: [EasyTracker] auto activity tracking loaded: true

08-17 04:53:40.847: V/GAV3(5486): Thread[main,5,main]: ExceptionReporter created, original handler is com.android.internal.os.RuntimeInit$UncaughtHandler

08-17 04:53:40.850: V/GAV3(5486): Thread[main,5,main]: [EasyTracker] report uncaught exceptions loaded: true

08-17 04:53:45.767: V/GAV3(5486): Thread[GAThread,5,main]: connecting to Analytics service

08-17 04:53:45.784: V/GAV3(5486): Thread[GAThread,5,main]: connect: bindService returned true for Intent { act=com.google.android.gms.analytics.service.START cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) }

08-17 04:53:45.791: V/GAV3(5486): Thread[GAThread,5,main]: Loaded clientId

08-17 04:53:45.798: I/GAV3(5486): Thread[GAThread,5,main]: No campaign data found.

08-17 04:53:48.774: V/GAV3(5486): Thread[Failed Connect,5,main]: falling back to local store

08-17 04:53:48.862: V/GAV3(5486): Thread[GAThread,5,main]: Dispatch running...

08-17 04:53:48.992: V/GAV3(5486): Thread[GAThread,5,main]: ...nothing to dispatch

08-17 04:53:48.995: V/GAV3(5486): Thread[GAThread,5,main]: PowerSaveMode initiated.

08-17 04:55:08.474: W/art(5486): Thread[22,tid=6051,Native,Thread*=0x499b8650,peer=0x652d6d90,"Thread-3773"] attached without supplying a name

08-17 04:55:08.581: I/X509Util(5486): Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Can some one please clarify why i'm getting that yellowed in error?